Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilityprivilege-escalation-method

Linux AF_UNIX Socket Race Enables Local Denial of Service

Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Sep 24, 2024

Linux AF_UNIX Socket Race Enables Local Denial of Service

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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Jul 24, 2024 – Sep 24, 2024
  1. Reported Sep 24, 20242y ago

    Red Hat issues RHEL 9 kernel fix

    Red Hat released RHSA-2024:8617 with fixed Red Hat Enterprise Linux 9 kernel packages for CVE-2024-26923.

    CVE-2024-26923 - Red Hat Customer Portal
  2. Reported Sep 24, 20242y ago

    Red Hat fixes additional RHEL 8 service-stream packages

    RHSA-2024:7486 provided fixed RHEL 8 kernel packages for Advanced Mission Critical Update Support, Telecommunications Update Service, and Update Services for SAP Solutions.

    CVE-2024-26923 - Red Hat Customer Portal
  3. Sep 24, 20242y ago

    Red Hat issues RHEL 8 kernel fixes

    Red Hat issued RHSA-2024:7000 and RHSA-2024:7001 for RHEL 8 kernel and kernel-rt packages, and RHSA-2024:6993 for RHEL 8.8 Extended Update Support kernel packages.

    CVE-2024-26923 - Red Hat Customer Portal
  4. Jul 24, 20242y ago

    Red Hat fixes RHEL 9.2 Extended Update Support packages

    Red Hat issued RHSA-2024:4823 and RHSA-2024:4831, providing fixed kernel and kernel-rt packages for Red Hat Enterprise Linux 9.2 Extended Update Support.

    CVE-2024-26923 - Red Hat Customer Portal
  5. Reported Apr 24, 20243y ago

    Linux stable kernel releases receive AF_UNIX race fix

    Fixes were made available in Linux kernel versions 5.15.156, 6.1.87, 6.6.28, 6.8.7, and 6.9-rc4. The fix synchronizes the listening socket state so garbage collection cannot observe an inconsistent SCM_RIGHTS-bearing socket graph during connect().

    CVE-2024-26923: af_unix: Fix garbage collector racing against connect()
  6. Reported Apr 24, 20243y ago

    CVE-2024-26923 identified in AF_UNIX garbage collection

    The Linux kernel CVE team assigned CVE-2024-26923 to a race between AF_UNIX socket garbage collection and connect() processing. The flaw, introduced in Linux kernel 2.6.23, can leave an incorrect in-flight reference count and a dangling pointer in gc_inflight_list.

    CVE-2024-26923: af_unix: Fix garbage collector racing against connect()
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.