Linux Kernel up to 6.15-rc1 Socket Endpoint sctp_sendmsg use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability has been found in Linux Kernel up to 6.15-rc1 and classified as critical. The impacted element is the function sctp_sendmsg of the component Socket Endpoint. This manipulation causes use after free. This vulnerability is handled as CVE-2025-23142. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability has been found in Linux Kernel up to 6.15-rc1 and classified as critical. Affected by this vulnerability is the function sctp_sendmsg of the component Socket Endpoint. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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]).

The advisory is shared at git.kernel.org. This vulnerability is known as CVE-2025-23142 since 01/11/2025. The exploitation appears to be easy. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 03/15/2026).

The vulnerability scanner Nessus provides a plugin with the ID 237255 (Debian dla-4178 : ata-modules-5.10.0-34-armmp-di - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.1.135, 6.6.88, 6.12.24, 6.13.12, 6.14.3 or 6.15-rc2 eliminates this vulnerability. Applying the patch 7a63f4fb0efb4e69efd990cbb740a848679ec4b0/c6fefcb71d246baaf3bacdad1af7ff50ebcfe652/9e7c37fadb3be1fc33073fcf10aa96d166caa697/5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2/2e5068b7e0ae0a54f6cfd03a2f80977da657f1ee/f1a69a940de58b16e8249dff26f74c8cc59b32be is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (237255) and CERT Bund (WID-SEC-2025-0922). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Google Container-Optimized OS
  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Dell Avamar
  • Open Source Linux Kernel
  • IBM DataPower Gateway
  • Dell NetWorker
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 237255
Nessus Name: Debian dla-4178 : ata-modules-5.10.0-34-armmp-di - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.1.135/6.6.88/6.12.24/6.13.12/6.14.3/6.15-rc2
Patch: 7a63f4fb0efb4e69efd990cbb740a848679ec4b0/c6fefcb71d246baaf3bacdad1af7ff50ebcfe652/9e7c37fadb3be1fc33073fcf10aa96d166caa697/5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2/2e5068b7e0ae0a54f6cfd03a2f80977da657f1ee/f1a69a940de58b16e8249dff26f74c8cc59b32be

Timelineinfo

01/11/2025 🔍
05/01/2025 +109 days 🔍
05/01/2025 +0 days 🔍
03/15/2026 +318 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-23142 (🔍)
GCVE (CVE): GCVE-0-2025-23142
GCVE (VulDB): GCVE-100-306841
CERT Bund: WID-SEC-2025-0922 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 05/01/2025 15:38
Updated: 03/15/2026 07:51
Changes: 05/01/2025 15:38 (59), 05/02/2025 15:31 (1), 05/27/2025 05:00 (2), 07/27/2025 23:37 (7), 11/07/2025 02:12 (11), 01/31/2026 19:58 (1), 03/15/2026 07:51 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!