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

CVE-2024-50131: Linux Kernel Buffer Overflow Vulnerability

CVE-2024-50131 is a buffer overflow vulnerability in the Linux kernel tracing subsystem caused by improper null byte handling. This flaw occurs when string length validation fails to account for null terminators.

Published: May 26, 2026

CVE-2024-50131 Overview

CVE-2024-50131 is a buffer boundary flaw [CWE-120] in the Linux kernel tracing subsystem. The vulnerability stems from an incorrect length check that fails to account for the NULL terminating byte when validating event string length. When strlen() returns a value equal to the maximum buffer length, no space remains for the NULL terminator, allowing out-of-bounds behavior. The kernel maintainers resolved the issue by adding a proper boundary check that returns failure when the string length matches the buffer capacity.

Critical Impact

A local authenticated attacker can trigger memory corruption in the kernel tracing path, leading to potential privilege escalation, information disclosure, or denial of service on affected Linux systems.

Affected Products

  • Linux Kernel 6.12-rc1
  • Linux Kernel 6.12-rc2 through 6.12-rc4
  • Debian LTS distributions shipping affected kernel versions

Discovery Timeline

  • 2024-11-05 - CVE-2024-50131 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2024-50131

Vulnerability Analysis

The flaw resides in the Linux kernel tracing subsystem responsible for validating the length of event strings. The original validation logic used strlen() to measure incoming event names but compared the result against the buffer size without reserving a byte for the NULL terminator. Because strlen() excludes the terminating null byte from its return value, an event name whose length equals the maximum buffer size passes the check while leaving no room for \0. This off-by-one boundary condition produces unsafe writes when the kernel later treats the buffer as a C string.

Exploitation requires local access with low privileges. An attacker capable of interacting with the tracing interfaces can craft event names that satisfy the flawed length check, corrupting adjacent kernel memory. The local attack vector combined with high impact on confidentiality, integrity, and availability reflects the kernel-mode execution context.

Root Cause

The root cause is an input validation error in the event length check. The kernel code used strlen(name) > MAX_LEN instead of strlen(name) >= MAX_LEN, ignoring the byte required for null termination. The upstream patch corrects the comparison so that strings exactly matching the buffer length are rejected.

Attack Vector

The vulnerability is exploitable through local interfaces exposed by the tracing subsystem, such as tracefs or debugfs event creation paths. An attacker with sufficient access to write event definitions can pass a maximum-length string to trigger the boundary condition. Remote exploitation is not possible without prior local code execution. See the Linux Kernel Commit Log for the corrective patch details.

Detection Methods for CVE-2024-50131

Indicators of Compromise

  • Unexpected kernel panics or oops messages referencing the tracing subsystem in dmesg output
  • Anomalous writes to /sys/kernel/tracing/ or /sys/kernel/debug/tracing/ paths by non-administrative users
  • Kernel memory corruption signatures captured by KASAN-enabled builds

Detection Strategies

  • Audit kernel versions across the fleet and flag hosts running Linux Kernel 6.12-rc1 through 6.12-rc4 without the corrective commits
  • Monitor for processes attempting to register tracing events with abnormally long name strings
  • Correlate local privilege escalation alerts with prior access to tracing interfaces

Monitoring Recommendations

  • Enable kernel audit rules on tracefs and debugfs mount points to log write activity
  • Track setuid binary launches and unexpected root shells following tracing subsystem interaction
  • Forward kernel logs to a centralized analytics platform for retrospective hunting on tracing-related faults

How to Mitigate CVE-2024-50131

Immediate Actions Required

  • Apply the upstream kernel patches referenced in the vendor advisory URLs and rebuild affected kernels
  • Update Debian systems using the Debian LTS Announcement and the March 2025 follow-up
  • Industrial operators should review the Siemens Security Advisory for affected product guidance
  • Restrict unprivileged user access to tracing interfaces until patches are deployed

Patch Information

The Linux kernel maintainers committed fixes across stable branches. See the patched commits including a14a075a14af, 0b6e2e22cb23, 5fd942598dde, b86b0d6eea20, and f4ed40d1c669.

Workarounds

  • Unmount or restrict permissions on tracefs and debugfs to root-only access on production hosts
  • Disable kernel tracing features in environments where they are not required by setting kernel boot parameters to disable ftrace
  • Enforce least-privilege policies that prevent untrusted local users from interacting with kernel debug interfaces
bash
# Restrict tracefs access to root only
mount -o remount,mode=700 /sys/kernel/tracing
chmod 700 /sys/kernel/debug/tracing

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • Linux Kernel Commit Log

  • Linux Kernel Commit Log

  • Debian LTS Announcement

  • Debian LTS Announcement

  • Siemens Security Advisory
  • Vendor Resources
  • Linux Kernel Commit Log

  • Linux Kernel Commit Log

  • Linux Kernel Commit Log

  • Linux Kernel Commit Log

  • Linux Kernel Commit Log
  • Related CVEs
  • CVE-2026-46237: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-46236: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-46234: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-46232: Linux Kernel Buffer Overflow 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