Skip to main content
EPSS 0.2%top 88%

Linux aws: In the Linux kernel, the following vulnerability has been resolved: sctp: detect and prevent references to a freed transport in sendmsg… (CVE-2025-23142)

0
High
Published: 05/01/2025 (05/01/2025, 13:15:00 UTC)
Source: GCVE Database
Product: linux-aws

Description

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

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux AppStream EUS (v.9.6)Red Hat Enterprise Linux BaseOS EUS (v.9.6)Red Hat CodeReady Linux Builder EUS (v.9.6)<5.15.0-1088.95~20.04.1<5.15.0-1094.103~20.04.1<5.15.0-1087.96~20.04.2<5.15.0-144.157~20.04.1<5.15.0-1080.83~20.04.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 01:20:17 UTC

Technical Analysis

This advisory covers several vulnerabilities in the Linux kernel packages for Red Hat Enterprise Linux 9.6 EUS and related variants. The issues include a use-after-free due to a race condition in SCTP sendmsg (CVE-2025-23142), slab out-of-bounds access in HID multitouch (CVE-2025-39806), multiple use-after-free flaws in Bluetooth management and event handling (CVE-2025-39981, CVE-2025-39983), a TLS subsystem issue involving pending asynchronous decryptions (CVE-2025-40176), and a race condition in USB dwc3 remove requests (CVE-2025-68287). Red Hat has released updated kernel packages to remediate these vulnerabilities and recommends rebooting affected systems after applying the update.

Potential Impact

The vulnerabilities affect core kernel components and could potentially lead to use-after-free conditions, race conditions, and out-of-bounds memory access. These issues may result in system instability, denial of service, or privilege escalation if exploited. The advisory rates the security impact as Important (high severity). No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Red Hat has released updated kernel packages addressing these vulnerabilities. Users of Red Hat Enterprise Linux 9.6 Extended Update Support and related products should apply the provided kernel updates as detailed in the Red Hat advisory RHSA-2026:0457. A system reboot is required for the updates to take effect. No additional mitigations are specified beyond applying the official patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:0457
Cve Count
6
Additional Cves
["CVE-2025-39806","CVE-2025-39981","CVE-2025-39983","CVE-2025-40176","CVE-2025-68287"]

Threat ID: 6a19fee3e29bf47b500fead1

Added to database: 05/29/2026, 21:02:27 UTC

Last enriched: 06/26/2026, 01:20:17 UTC

Last updated: 09/10/2026, 19:36:49 UTC

Views: 171

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses