CVE-2026-52917: Linux Kernel SCTP Diag Race Condition—Local Privilege Escalation & Memory Leak
A race condition exists in the Linux kernel's SCTP (Stream Control Transmission Protocol) diagnostic module that allows a local attacker with low privileges to crash the system or read sensitive kernel memory. The vulnerability arises when the kernel attempts to retrieve SCTP socket diagnostic information while an association is being freed, causing it to read from memory that has already been deallocated or modified. This results in either a denial of service or potential information disclosure.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.1 HIGH · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses (CWE)
- CWE-125
- Affected products
- 7 configuration(s)
- Published / Modified
- 2026-06-24 / 2026-07-08
NVD description (verbatim)
In the Linux kernel, the following vulnerability has been resolved: sctp: diag: reject stale associations in dump_one path The SCTP exact sock_diag lookup can hold a transport reference, block on lock_sock(sk), and then resume after sctp_association_free() has marked the association dead and freed its bind address list. When that happens, inet_assoc_attr_size() and inet_diag_msg_sctpasoc_fill() can still dereference association state that is no longer valid for reporting. In particular, inet_diag_msg_sctpasoc_fill() may read an empty bind-address list as a real sctp_sockaddr_entry and trigger an out-of-bounds read from unrelated association memory. Reject the association after taking the socket lock if it has been reaped or detached from the endpoint, and report the lookup as stale. This keeps the exact dump-one path from formatting torn association state.
8 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-52917 is a use-after-free vulnerability in the Linux kernel's SCTP diagnostic subsystem, specifically in the dump_one path of the sock_diag interface. The vulnerability occurs due to a race condition between the exact socket diagnostic lookup (which holds a transport reference and calls lock_sock) and sctp_association_free(), which marks the association dead and frees its bind address list. After acquiring the lock, inet_diag_msg_sctpasoc_fill() and inet_assoc_attr_size() may attempt to dereference association state that is no longer valid. This can result in an out-of-bounds read when the bind-address list pointer is interpreted as a valid sctp_sockaddr_entry from unrelated memory. The fix implements a check to reject the association if it has been reaped or detached from the endpoint after lock acquisition, returning a stale lookup error to prevent formatting of corrupted association state.
Business impact
This vulnerability affects the availability and confidentiality of Linux systems running vulnerable kernel versions. An unprivileged local user can trigger a kernel crash (denial of service) or leak sensitive kernel memory without authentication. For organizations running Linux infrastructure—especially containerized environments, shared hosting platforms, or systems where unprivileged user access is common—this represents a direct threat to service continuity and data confidentiality. The attack requires only local access, making it exploitable by any user with a shell account.
Affected systems
The Linux kernel is affected across multiple versions. The vulnerability impacts systems using SCTP networking capabilities with the diagnostic (diag) module enabled. This includes enterprise Linux distributions (Red Hat Enterprise Linux, Ubuntu, Debian, CentOS) and any custom kernel builds that include SCTP diag functionality. Both 64-bit and 32-bit architectures are potentially affected. Verify the specific affected kernel versions in your Linux distribution's security advisory.
Exploitability
Exploitation requires local access and low privileges—any unprivileged user can trigger the race condition via the SCTP sock_diag interface. The attack does not require special kernel configuration or privileges beyond standard user-level access. The window for the race condition is tight but reproducible; a successful exploitation produces either a kernel panic (immediate detection) or silent memory disclosure (harder to detect). No public exploit code is known to be in active use at this time, but the relative simplicity of triggering the condition means exploitation is feasible for moderately skilled attackers.
Remediation
Apply kernel security updates provided by your Linux distribution. Verify the patched kernel version in your vendor's advisory and schedule a system reboot at an appropriate maintenance window. Interim mitigation is limited; disabling SCTP or the diag module via kernel parameters may reduce exposure if operationally feasible, but this is not a substitute for patching. Monitor system logs for kernel panics or diagnostic module errors that may indicate exploitation attempts.
Patch guidance
Obtain and apply the kernel update from your Linux distribution's security repository. Patched versions incorporate the fix to reject stale associations by checking if an association has been reaped or detached from the endpoint after lock acquisition. Verify against your vendor's security advisory for the exact patched kernel version numbers. After patching, a system reboot is required for the new kernel to take effect. Test in a non-production environment first if operational concerns exist.
Detection guidance
Monitor system logs (dmesg, /var/log/kern.log) for kernel panics, out-of-bounds access warnings, or SCTP-related errors that may indicate exploitation. Network-based detection is difficult since the attack uses local diagnostic interfaces. Endpoint detection and response (EDR) tools should monitor for unusual SCTP diagnostic socket operations from unprivileged processes. Consider kernel auditing rules to log access to netlink diagnostic sockets (AF_NETLINK with NETLINK_INET_DIAG). Kernel Address Sanitizer (KASAN) instrumented kernels will reliably detect the out-of-bounds read.
Why prioritize this
This vulnerability should be prioritized for urgent patching because it combines local exploitability (low barrier to entry), high severity impact (crash or memory leak), and affects a fundamental kernel subsystem. The CVSS 7.1 score reflects high impact to both confidentiality and availability. Organizations with diverse user bases, multi-tenant systems, or container orchestration platforms are at elevated risk. This is not a theoretical edge case—the race condition is inherent to the diagnostic interface design and reliable exploitation is plausible.
Risk score, explained
The CVSS 3.1 score of 7.1 (HIGH) reflects: Attack Vector Local (requires shell access), Attack Complexity Low (race condition is not difficult to trigger), Privileges Required Low (unprivileged user sufficient), User Interaction None, Scope Unchanged, Confidentiality High (kernel memory disclosure), Integrity None, Availability High (kernel crash). The absence of network exploitability and integrity impact prevents a critical rating, but the combination of reliable local DoS and memory leak warrants high priority in any patch schedule.
Frequently asked questions
Can this vulnerability be exploited remotely?
No. Exploitation requires local access to the affected system and the ability to execute code as a local user. Remote exploitation is not possible.
What is the window of opportunity for this race condition?
The race occurs between the moment the exact sock_diag lookup acquires a transport reference and the moment sctp_association_free() deallocates association state. The window is brief and depends on kernel scheduling, but is reliably reproducible with targeted timing or fuzzing.
Are there systems that might be unaffected even if running a vulnerable kernel version?
Systems that do not use SCTP networking or have the SCTP diag module disabled or not loaded may not be exploitable. However, SCTP is enabled in most distribution kernels by default, so assume vulnerability unless explicitly verified otherwise.
What information can be leaked if the vulnerability is exploited for information disclosure rather than DoS?
An attacker could leak adjacent kernel memory structures related to other SCTP associations, network buffers, or other kernel subsystems. The amount and sensitivity of leaked data depends on memory layout and kernel configuration, but kernel addresses and data structure contents are the primary concern.
This analysis is based on available vulnerability data as of the publication date. Patch versions, affected distribution versions, and remediation details should be verified against official Linux vendor security advisories. This vulnerability assessment does not constitute legal advice or a guarantee of security. Organizations should conduct their own risk assessment and testing. No exploit code or weaponized proof-of-concept is provided or endorsed. Proof-of-concept code may exist in research communities; use extreme caution if examining such code outside of isolated test environments. Source: NVD (public-domain), retrieved 2026-07-30. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10889HIGHCritical ANGLE Sandbox Escape in Google Chrome – Patch to 149.0.7827.53
- CVE-2026-10927HIGHChrome Sandbox Escape via Dawn Out-of-Bounds Read
- CVE-2026-10941HIGHSkia Out-of-Bounds Memory Vulnerability in Chrome – Urgent Patch Required
- CVE-2026-11015HIGHCritical Chrome WebGPU Out-of-Bounds Read Vulnerability
- CVE-2026-11077HIGHChrome Dawn Graphics Vulnerability – Sandbox Escape Risk
- CVE-2026-11091HIGHCritical Chrome Memory Corruption Vulnerability in Dawn Graphics Engine
- CVE-2026-11111HIGHChrome Out-of-Bounds Read in ANGLE Graphics Engine — Patch Guidance
- CVE-2026-11191HIGHOut-of-Bounds Memory Access in Chrome ANGLE Library