Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-26923

CVE-2024-26923: Linux Kernel Race Condition Vulnerability

CVE-2024-26923 is a race condition flaw in Linux Kernel's af_unix garbage collector that can lead to dangling pointers and memory corruption. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-26923 Overview

CVE-2024-26923 is a race condition vulnerability in the Linux kernel's AF_UNIX socket subsystem. The flaw exists in the garbage collector implementation where it fails to properly account for embryo sockets (pending connections) being enqueued during garbage collection operations. When a connect() operation races against the garbage collector (__unix_gc()), the garbage collector may observe inconsistent state leading to an incorrectly elevated inflight count and subsequently a dangling pointer within the gc_inflight_list.

Critical Impact

This race condition can cause dangling pointers in kernel memory structures, potentially leading to system instability, denial of service, or exploitation scenarios involving use-after-free conditions in the AF_UNIX socket garbage collector.

Affected Products

  • Linux Kernel (multiple versions including 6.9-rc1, 6.9-rc2, 6.9-rc3)
  • Debian Linux 10.0
  • Various Linux distributions using affected kernel versions

Discovery Timeline

  • 2024-04-25 - CVE-2024-26923 published to NVD
  • 2025-12-23 - Last updated in NVD database

Technical Details for CVE-2024-26923

Vulnerability Analysis

This vulnerability (CWE-362: Race Condition) occurs in the AF_UNIX socket subsystem's garbage collector. The issue arises because the garbage collector does not properly synchronize with concurrent connect() operations on UNIX domain sockets. When an embryo socket (a socket in the process of being connected) gets enqueued during garbage collection, two consecutive passes of scan_children() may observe different sets of children sockets.

The race condition specifically involves AF_UNIX/SOCK_STREAM sockets where:

  • An unconnected socket S attempts to connect to a listening in-flight socket L
  • A file descriptor V is being passed via sendmsg() with SCM_RIGHTS
  • The garbage collector __unix_gc() runs concurrently

During this race, the embryo socket (skb1) may not be visible to the garbage collector during the first scan_children() pass but becomes visible during the second pass, causing the inflight reference count to be incorrectly incremented without a corresponding decrement, leading to memory corruption.

Root Cause

The root cause is insufficient locking synchronization between the connect() operation and the garbage collector. The garbage collector did not acquire the state lock of listening sockets that are GC candidates, allowing connect() to enqueue embryo sockets mid-collection. This creates a scenario where the garbage collector's view of the socket graph changes between scan passes, resulting in incorrect reference counting.

Attack Vector

The vulnerability requires local access to exploit. An attacker with the ability to create and manipulate AF_UNIX sockets could attempt to trigger the race condition by:

  1. Creating a listening UNIX domain socket that becomes a GC candidate
  2. Initiating a connect() to that socket while simultaneously passing file descriptors via sendmsg() with SCM_RIGHTS
  3. Timing the operations to coincide with garbage collector execution

The exploitation window requires precise timing between socket operations and the kernel's garbage collection cycle. The complexity of exploitation is high due to the timing requirements, but successful exploitation could result in dangling pointers and potential use-after-free scenarios.

The vulnerability manifests when an embryo socket carrying SCM_RIGHTS references is enqueued after the garbage collector's initial scan but before the second scan completes. The fix implements proper state lock acquisition on GC-candidate listening sockets, ensuring that any ongoing connect() operations complete before garbage collection proceeds. This guarantees that once the lock is released, any SCM-laden embryo is already fully enqueued and visible to the garbage collector. For detailed technical implementation, see the Linux Kernel Commit 47d8ac0.

Detection Methods for CVE-2024-26923

Indicators of Compromise

  • Unexpected kernel crashes or panics related to the AF_UNIX subsystem or garbage collector
  • Kernel log messages indicating use-after-free or invalid memory access in unix_gc or related functions
  • System instability when applications heavily use UNIX domain sockets with SCM_RIGHTS for file descriptor passing

Detection Strategies

  • Monitor kernel logs for oops, panics, or warnings mentioning af_unix, unix_gc, or gc_inflight_list
  • Deploy kernel-level monitoring tools to detect anomalous socket operations or reference counting issues
  • Use static analysis tools on kernel builds to identify unpatched versions

Monitoring Recommendations

  • Implement auditd rules to log UNIX domain socket operations in sensitive environments
  • Monitor for applications creating large numbers of UNIX domain sockets with rapid connect/disconnect cycles
  • Track kernel version deployments across infrastructure to identify systems running vulnerable versions

How to Mitigate CVE-2024-26923

Immediate Actions Required

  • Update Linux kernel to a patched version that includes the fix for this race condition
  • Review and prioritize patching for systems that heavily utilize UNIX domain sockets with file descriptor passing
  • Consider temporary workload isolation for critical systems until patches can be applied

Patch Information

Multiple patches have been released across various kernel branches. The fix implements proper state lock acquisition on GC-candidate listening sockets to ensure synchronization between connect() operations and the garbage collector:

  • Linux Kernel Commit 47d8ac0
  • Linux Kernel Commit 507cc23
  • Linux Kernel Commit a36ae0e
  • Linux Kernel Commit b75722b
  • Linux Kernel Commit dbdf7be

Debian users should reference the Debian LTS Announcement 2024-06-17 and Debian LTS Announcement 2024-06-20 for distribution-specific updates.

Workarounds

  • Limit unprivileged access to create UNIX domain sockets where feasible
  • Apply kernel hardening configurations to reduce the impact of potential memory corruption
  • Monitor affected systems closely for anomalous behavior until patches can be deployed
bash
# Check current kernel version for vulnerability assessment
uname -r

# Verify if patches are applied (check for commit in kernel source)
# Look for fixes in net/unix/garbage.c

# Update kernel on Debian-based systems
sudo apt update && sudo apt upgrade linux-image-$(uname -r)

# Reboot to apply new kernel
sudo systemctl reboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Technical References
  • Debian LTS Announcement 2024-06-17

  • Debian LTS Announcement 2024-06-20
  • Vendor Resources
  • Linux Kernel Commit 2e2a037

  • Linux Kernel Commit 343c537

  • Linux Kernel Commit 47d8ac0

  • Linux Kernel Commit 507cc23

  • Linux Kernel Commit a36ae0e

  • Linux Kernel Commit b75722b

  • Linux Kernel Commit dbdf7be

  • Linux Kernel Commit e76c267
  • Related CVEs
  • CVE-2026-31456: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31466: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31455: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31436: Linux Kernel Race Condition Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English