Linux AF_UNIX Socket Race Enables Local Denial of Service
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Sep 24, 2024

CVE-2024-26923 is a race condition in the Linux kernel's AF_UNIX socket garbage collector that occurs when garbage collection runs concurrently with connect() on a partially initialized socket carrying SCM_RIGHTS file descriptors. The race can incorrectly increase an in-flight reference count, leave a dangling pointer in gc_inflight_list, and cause inaccurate active-socket accounting, allowing local resource exhaustion and denial of service. The affected code is net/unix/garbage.c, and the issue has existed since Linux kernel 2.6.23.
Exploitation requires local low-privileged access and difficult-to-reproduce timing conditions, but Red Hat assigns a Moderate severity rating with CVSS 7.0. Fixed upstream kernels include 5.15.156, 6.1.87, 6.6.28, 6.8.7, and 6.9-rc4; Red Hat has issued corrected kernel packages for multiple RHEL 8 and RHEL 9 streams. Organizations should deploy current vendor kernel updates rather than cherry-picking patches; no separate mitigation is known.
Why it matters
Impact assessment
CVE-2024-26923 allows a local, low-privileged user or process to exhaust Linux kernel resources and cause denial of service. Exposure is broad across Linux systems running vulnerable kernels, but practical exploitation requires a difficult race condition and no exploitation in the wild is reported in the supplied references.
- Affected population: Linux hosts using AF_UNIX sockets, including RHEL 8 and RHEL 9 systems that have not received the relevant kernel updates.
- Business impact: local users, compromised workloads, or untrusted tenants may degrade or disrupt host availability through unreleased socket-related resources. This is especially relevant on multi-user servers, shared compute systems, CI/CD runners, container hosts, and systems that permit untrusted local code execution.
- Scope: the defect has existed since Linux kernel 2.6.23, but exposure depends on the deployed vendor kernel and backported fixes.
- Severity: Red Hat rates the issue Moderate, CVSS 3.1 7.0. NVD reports CVSS 3.1 4.7 and characterizes the direct impact as availability-only.
- No confidentiality or integrity impact is established by the supplied material; the primary outcome is resource-consumption denial of service.


