cve.bz

CVE-2025-23142 Use After Free

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: sctp: detect and prevent references to a freed transport in sendmsg sctp_sendmsg() re-uses associations and transports when possible by doing a lookup based on the socket endpoint and the message destination address, and then sctp_sendmsg_to_asoc() sets the selected transport in all the message chunks to be sent. There's a possible race condition if another thread triggers the removal of that selected transport, for instance, by explicitly unbinding an address with setsockopt(SCTP_SOCKOPT_BINDX_REM), after the chunks have been set up and before the message is sent. This can happen if the send buffer is full, during the period when the sender thread temporarily releases the socket lock in sctp_wait_for_sndbuf(). This causes the access to the transport data in sctp_outq_select_transport(), when the association outqueue is flushed, to result in a use-after-free read. This change avoids this scenario by having sctp_transport_free() signal the freeing of the transport, tagging it as "dead". In order to do this, the patch restores the "dead" bit in struct sctp_transport, which was removed in commit 47faa1e4c50e ("sctp: remove the dead field of sctp_transport"). Then, in the scenario where the sender thread has released the socket lock in sctp_wait_for_sndbuf(), the bit is checked again after re-acquiring the socket lock to detect the deletion. This is done while holding a reference to the transport to prevent it from being freed in the process. If the transport was deleted while the socket lock was relinquished, sctp_sendmsg_to_asoc() will return -EAGAIN to let userspace retry the send. The bug was found by a private syzbot instance (see the error report [1] and the C reproducer that triggers it [2]).

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-23142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-23142?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-23142?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-23142 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 3.18.128 before 3.19
Linuxfrom 4.4.166 before 4.5
Linuxfrom 4.9.142 before 4.10
Linuxfrom 4.14.85 before 4.15
Linuxfrom 4.19.6 before 4.20
Linux4.20 and later

Fixed in

ProductRelease lineFixed in
Linux5.45.4.293
Linux5.105.10.237
Linux5.155.15.181
Linux6.16.1.135
Linux6.66.6.88
Linux6.126.12.24
Linux6.136.13.12
Linux6.146.14.3
Linuxlater releases6.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.237-1DLA-4178-1
Debian11linux-6.16.1.137-1~deb11u1DLA-4193-1
Debian12linux6.1.135-1DEBIAN-CVE-2025-23142
Debian13, 14linux6.12.25-1DEBIAN-CVE-2025-23142
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-23142
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-23142
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-23142
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-144.157UBUNTU-CVE-2025-23142 USN-7654-1
Ubuntu22.04:LTSlinux-aws5.15.0-1088.95UBUNTU-CVE-2025-23142 USN-7654-1
Ubuntu22.04:LTSlinux-aws-6.8, linux-nvidia-6.86.8.0-1046.49~22.04.1UBUNTU-CVE-2025-23142 USN-8028-5
Ubuntu22.04:LTSlinux-azure5.15.0-1094.103UBUNTU-CVE-2025-23142 USN-7711-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-23142 USN-8126-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1094.103.1UBUNTU-CVE-2025-23142
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1046.53~22.04.1UBUNTU-CVE-2025-23142
Ubuntu22.04:LTSlinux-gcp5.15.0-1087.96UBUNTU-CVE-2025-23142 USN-7654-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1047.50~22.04.2UBUNTU-CVE-2025-23142 USN-8031-1
68 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.161.1.el9_0RHSA-2026:0576
Red Hatrhel_e4s:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.161.1.el9_0RHSA-2026:0576
Red Hatrhel_e4s:9.0::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-70.161.1.rt21.233.el9_0RHSA-2026:0537
Red Hatrhel_e4s:9.0::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-70.161.1.rt21.233.el9_0RHSA-2026:0537
Red Hatrhel_e4s:9.2::appstreambpftool-debuginfo0:7.0.0-284.154.1.el9_2RHSA-2026:1441
Red Hatrhel_e4s:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.154.1.el9_2RHSA-2026:1441
Red Hatrhel_e4s:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.154.1.el9_2RHSA-2026:1441
Red Hatrhel_e4s:9.2::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.154.1.el9_2RHSA-2026:1441
Red Hatrhel_e4s:9.2::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.154.1.rt14.439.el9_2RHSA-2026:1443
Red Hatrhel_e4s:9.2::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.154.1.rt14.439.el9_2RHSA-2026:1443
Red Hatrhel_eus:9.4::appstreamrv, perf, rtla and 26 more0:5.14.0-427.106.1.el9_4RHSA-2026:0489
Red Hatrhel_eus:9.4::appstream, rhel_eus:9.4::crb, rhel_eus:9.4::nfv and 1 morebpftool-debuginfo0:7.3.0-427.106.1.el9_4RHSA-2026:0489
10 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.6.1SUSE-SU-2025:02307-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_111-150600.1.3.2SUSE-SU-2025:01964-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_121-150600.13.3.1SUSE-SU-2025:02000-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_21-150700.1.5.1SUSE-SU-2025:02333-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_21-150700.15.3.1SUSE-SU-2025:02307-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1SUSE-SU-2025:02000-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150700.53.6.1SUSE-SU-2025:02307-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.6.1.150700.17.6.1SUSE-SU-2025:02307-1
SUSELinux Enterprise Module for Confidential Computing Technical Preview 15 SP6kernel-coco, kernel-syms-coco, kernel-coco_debug and 1 more6.4.0-15061.28.coco15sp6.1SUSE-SU-2025:02923-1
SUSELinux Enterprise Module for Development Tools 15 SP6kernel-docs, kernel-syms, kernel-source and 1 more6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
11 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.40.1SUSE-SU-2025:01965-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1SUSE-SU-2025:02000-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.39.1SUSE-SU-2025:01964-1
Alpaquita23linux-lts6.1.140-r0BELL-CVE-2025-23142
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-23142
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-23142

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is a MODERATE impact use-after-free flaw,found in the Linux kernel's Stream Control Transmission Protocol (SCTP) implementation. This race condition occurs during message sending,the kernel function sctp_sendmsg() sends SCTP messages by selecting a transport (network path) and associating it with message chunks.

If another thread removes that transport (e.g., by unbinding an address using setsockopt(SCTP_SOCKOPT_BINDX_REM)) after the transport has been selected but before the message is sent, the code can end up accessing a transport that has been freed from memory, leading to a use after free. Red Hat Enterprise Linux 9 is affected. Red Hat Enterprise Linux 10 and Red Hat In-Vehicle OS are not affected as the vulnerable code is not present.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use anhd deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.161.1.el9_0Fixed 2026-01-14RHSA-2026:0576
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.161.1.rt21.233.el9_0Fixed 2026-01-14RHSA-2026:0537
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.154.1.el9_2Fixed 2026-01-28RHSA-2026:1441
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.154.1.rt14.439.el9_2Fixed 2026-01-28RHSA-2026:1443
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.106.1.el9_4Fixed 2026-01-13RHSA-2026:0489
Red Hat Enterprise Linux 9.6 Extended Update Supportkernel-0:5.14.0-570.77.1.el9_6Fixed 2026-01-12RHSA-2026:0457
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-23142.

References

Check your stackJSON