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-36972

CVE-2024-36972: Linux Kernel Race Condition Vulnerability

CVE-2024-36972 is a race condition flaw in the Linux Kernel af_unix component that can lead to NULL pointer dereference. This post covers the technical details, affected versions, security impact, and mitigation steps.

Updated: January 21, 2026

CVE-2024-36972 Overview

CVE-2024-36972 is a race condition vulnerability in the Linux kernel's AF_UNIX socket implementation that can lead to a NULL pointer dereference. The vulnerability exists in the handling of out-of-band (OOB) data in Unix domain sockets, specifically in the interaction between the garbage collection mechanism (__unix_gc()) and the OOB message queuing function (queue_oob()).

The race condition occurs when the garbage collector attempts to clean up closed inflight sockets while a peer socket concurrently sends MSG_OOB messages. This concurrent access to unix_sk(sk)->oob_skb without proper synchronization can result in a kernel panic, causing system instability or denial of service.

Critical Impact

Successful exploitation of this race condition can trigger a kernel NULL pointer dereference, leading to system crashes and denial of service. The vulnerability requires network access and low privileges, making it exploitable from remote contexts in certain configurations.

Affected Products

  • Linux Kernel (multiple versions)
  • Linux-based operating systems and distributions using vulnerable kernel versions
  • Systems utilizing AF_UNIX sockets with OOB message handling

Discovery Timeline

  • June 10, 2024 - CVE-2024-36972 published to NVD
  • April 1, 2025 - Last updated in NVD database

Technical Details for CVE-2024-36972

Vulnerability Analysis

This vulnerability is classified as CWE-476 (NULL Pointer Dereference) and stems from a race condition in the Linux kernel's Unix domain socket subsystem. The flaw affects the out-of-band (OOB) message handling mechanism where the unix_sk(sk)->oob_skb pointer can be accessed concurrently by two different kernel paths without proper locking.

The __unix_gc() function performs garbage collection on closed inflight sockets. When processing a socket that has MSG_OOB data stored in unix_sk(sk)->oob_skb, the garbage collector drops the reference and sets the pointer to NULL without holding the appropriate lock. Simultaneously, a peer socket can invoke queue_oob() to update the same oob_skb pointer, creating a classic time-of-check-time-of-use (TOCTOU) scenario.

The resulting NULL pointer dereference occurs during socket buffer dequeue operations, as evidenced by the crash trace showing the fault in skb_dequeue() when unix_release_sock() attempts to release the socket. The crash occurs at memory address 0x0000000000000008, indicating an attempt to write to a nearly-NULL pointer offset.

Root Cause

The root cause is the lack of synchronization when accessing unix_sk(sk)->oob_skb across different kernel code paths. The garbage collector (__unix_gc()) modifies this pointer locklessly while queue_oob() can concurrently update the same pointer from a different execution context.

The fix involves updating unix_sk(sk)->oob_skb under the sk_receive_queue lock and ensuring this lock is held consistently wherever oob_skb is accessed. Additionally, kfree_skb() calls in manage_oob() are deferred to prevent lockdep false-positives that could arise from the new locking requirements.

Attack Vector

The vulnerability can be triggered through network access by manipulating Unix domain socket connections with OOB messages while triggering socket garbage collection. An attacker with low privileges on a system could:

  1. Create multiple Unix domain socket pairs with inflight file descriptors
  2. Send MSG_OOB messages through the socket connections
  3. Close sockets in a specific pattern to trigger garbage collection
  4. Race the garbage collector with additional OOB message sends
  5. Trigger the NULL pointer dereference causing kernel panic

The attack requires precise timing to win the race condition between __unix_gc() and queue_oob(). The crash trace shows the vulnerability manifests in the kernel workqueue handling delayed file release operations, specifically in the unix_release_sock() path called via delayed_fput.

Detection Methods for CVE-2024-36972

Indicators of Compromise

  • Unexpected kernel panics with NULL pointer dereference errors at address 0x0000000000000008
  • Kernel crash dumps showing stack traces involving skb_dequeue, unix_release_sock, and delayed_fput
  • System instability when applications heavily utilize Unix domain sockets with OOB data
  • Workqueue events related to events delayed_fput preceding system crashes

Detection Strategies

  • Monitor kernel logs for NULL pointer dereference oops messages containing af_unix or unix_release_sock in the call trace
  • Implement kernel crash dump analysis to identify exploitation patterns matching the vulnerability signature
  • Deploy runtime kernel integrity monitoring to detect unexpected memory access patterns in socket handling code
  • Use SentinelOne's behavioral detection to identify suspicious socket manipulation patterns that may indicate exploitation attempts

Monitoring Recommendations

  • Enable kernel crash dump collection (kdump) to capture forensic data from any exploitation attempts
  • Monitor system stability metrics and correlate with Unix socket usage patterns
  • Implement alerting for repeated kernel oops or panics related to network socket operations
  • Review audit logs for applications creating high volumes of Unix domain socket connections with OOB message traffic

How to Mitigate CVE-2024-36972

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for CVE-2024-36972
  • Prioritize patching on systems where Unix domain sockets are heavily utilized
  • Consider temporarily restricting access to systems that cannot be immediately patched
  • Monitor systems for signs of exploitation while patches are being deployed

Patch Information

Multiple kernel patches have been released to address this vulnerability. The fix ensures that unix_sk(sk)->oob_skb is updated under the sk_receive_queue lock and that this lock is consistently held wherever oob_skb is accessed.

The following kernel commits contain the fix:

  • Kernel Git Commit 4708f49
  • Kernel Git Commit 4bf6964
  • Kernel Git Commit 518a994
  • Kernel Git Commit 9841991
  • Kernel Git Commit d59ae93

Check your Linux distribution's security advisories for specific package versions containing these fixes.

Workarounds

  • Limit access to Unix domain socket functionality for untrusted users or applications
  • Restrict the use of MSG_OOB on Unix domain sockets where possible through application-level controls
  • Implement network segmentation to limit exposure of vulnerable systems
  • Deploy SentinelOne Singularity Platform for real-time kernel-level threat detection and response capabilities

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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Vendor Resources
  • Kernel Git Commit Update

  • Kernel Git Commit Fix

  • Kernel Git Commit Improvement

  • Kernel Git Commit Change

  • Kernel Git Commit Enhancements
  • 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