A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-57791

CVE-2024-57791: Linux Kernel SMC DoS Vulnerability

CVE-2024-57791 is a denial of service flaw in the Linux Kernel's SMC network component that can cause deadlocks when draining CLC data. This article covers the technical details, affected versions, security impact, and mitigation.

Published: June 2, 2026

CVE-2024-57791 Overview

CVE-2024-57791 is a Linux kernel vulnerability in the Shared Memory Communications (SMC) networking subsystem. The flaw resides in the smc_clc_wait_msg function within net/smc, where the kernel processes Connection Layer Control (CLC) messages received from the network. The length field in smc_clc_msg_hdr is taken from untrusted network input. When that length exceeds the local buflen, the draining loop fails to validate the return value of sock_recvmsg, allowing the kernel to enter an infinite loop while attempting to drain remaining data. The result is a remote, unauthenticated denial-of-service condition against hosts using SMC sockets.

Critical Impact

A remote attacker can send a crafted CLC header with an oversized length field, triggering an infinite loop in the kernel and rendering the SMC service unresponsive.

Affected Products

  • Linux kernel versions from 5.8 through releases prior to the patched stable updates
  • Linux kernel 6.13 release candidates (rc1, rc2, rc3)
  • Debian distributions tracking affected stable kernel branches

Discovery Timeline

  • 2025-01-11 - CVE-2024-57791 published to the National Vulnerability Database
  • 2025-03 - Debian LTS security announcements published
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2024-57791

Vulnerability Analysis

The vulnerability affects the SMC protocol implementation in the Linux kernel. SMC is a high-performance protocol used over RDMA and ISM devices, with CLC messages handling the initial handshake. During this handshake, smc_clc_wait_msg reads a header containing a length field that describes how many bytes should follow.

When the advertised length exceeds the size of the local buffer (buflen), the kernel attempts to drain the excess bytes from the socket to keep the stream synchronized. The original draining loop did not inspect the return value of sock_recvmsg. If sock_recvmsg returned zero or a negative error, the loop counter was not advanced, producing an infinite loop inside kernel context.

The upstream fix adds a check on the return value of sock_recvmsg and aborts the drain when the call fails, breaking the loop and returning an error to the caller.

Root Cause

The root cause is missing error-handling on a function return value [CWE-NVD-noinfo]. Specifically, the drain loop trusted attacker-controlled length data and assumed sock_recvmsg would always make forward progress. When the peer closed the connection or sent malformed data, the function returned without consuming bytes, leaving the loop unable to terminate.

Attack Vector

An attacker with network reachability to an SMC-enabled host establishes a connection and sends a CLC handshake message. The crafted header advertises a length larger than the receiver's internal buffer. The receiver enters the draining path, where the unchecked sock_recvmsg return value traps a kernel thread in an infinite loop. No authentication or user interaction is required.

The vulnerability is described in prose rather than code because no verified public proof-of-concept is available. The corrective patches are published in the upstream stable trees at commits 6b80924a, 7a692781, 82c7ad9c, c5b8ee50, d7d1f986, and df3dfe1a.

Detection Methods for CVE-2024-57791

Indicators of Compromise

  • Kernel threads stuck at 100% CPU utilization within the smc_clc_wait_msg call path
  • Soft lockup or RCU stall warnings in dmesg referencing the net/smc subsystem
  • Sudden unresponsiveness of SMC-based services with no corresponding application crash
  • Unexpected inbound TCP connections to SMC handshake ports from unknown sources

Detection Strategies

  • Monitor kernel logs for BUG: soft lockup or rcu_sched self-detected stall messages tied to SMC functions
  • Audit running kernel versions against the patched stable releases referenced in the kernel.org commits
  • Inspect host telemetry for sustained kernel-mode CPU spikes on systems configured with the smc module loaded

Monitoring Recommendations

  • Track lsmod output for the smc module and inventory hosts where SMC is enabled
  • Forward kernel ring buffer events into a centralized logging pipeline for stall and lockup detection
  • Alert on abnormal connection patterns targeting hosts that expose SMC over the network

How to Mitigate CVE-2024-57791

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the kernel.org stable commits for your kernel branch
  • For Debian systems, install the updates from the Debian LTS announcement (March 2025)
  • Identify hosts using SMC and prioritize patching for any internet-facing systems

Patch Information

The fix is committed across multiple stable branches. Reference commits include 6b80924af621, 7a6927814b42, 82c7ad9ca099, c5b8ee5022a1, d7d1f986ebb2, and df3dfe1a93c6. Each patch adds a return-value check on sock_recvmsg inside the CLC drain path so the loop terminates when the socket read fails.

Workarounds

  • Unload the smc kernel module on hosts that do not require Shared Memory Communications: modprobe -r smc
  • Blacklist the module to prevent automatic loading by adding blacklist smc to /etc/modprobe.d/
  • Restrict network exposure of SMC services through host firewall rules until patches are deployed
bash
# Disable the SMC module to mitigate exposure until patching
sudo modprobe -r smc
echo "blacklist smc" | sudo tee /etc/modprobe.d/disable-smc.conf
sudo update-initramfs -u

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Debian LTS Announcement

  • Debian LTS Announcement
  • Vendor Resources
  • Kernel Commit Update

  • Kernel Commit Update

  • Kernel Commit Update

  • Kernel Commit Update

  • Kernel Commit Update

  • Kernel Commit Update
  • Related CVEs
  • CVE-2026-46220: Linux Kernel AMDGPU SDMA4 DoS Vulnerability

  • CVE-2026-46214: Linux Kernel vsock/virtio DoS Vulnerability

  • CVE-2026-46206: Linux Kernel batman-adv DoS Vulnerability

  • CVE-2026-46193: Linux Kernel AH ESN DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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