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

CVE-2024-38538: Linux Kernel Use-After-Free Vulnerability

CVE-2024-38538 is a use-after-free vulnerability in the Linux Kernel bridge device's xmit path, triggered by short packets lacking proper header validation. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2024-38538 Overview

CVE-2024-38538 is a kernel vulnerability in the Linux bridge networking subsystem. The flaw exists in the br_dev_xmit function within net/bridge/br_device.c. An attacker can submit a socket buffer (skb) smaller than ETH_HLEN to trigger access of uninitialized memory in the bridge transmit path. The issue was discovered by syzbot through KMSAN instrumentation and reported as an uninitialized value read. The vulnerability is classified under [CWE-908: Use of Uninitialized Resource].

Critical Impact

A local user with the ability to inject crafted packets through eBPF or bridge interfaces can trigger kernel memory disclosure and denial of service conditions on affected Linux systems.

Affected Products

  • Linux Kernel (multiple stable branches prior to fix commits)
  • Debian LTS distributions shipping vulnerable kernel versions
  • Any Linux distribution using the bridge networking module without the upstream patch

Discovery Timeline

  • 2024-06-19 - CVE-2024-38538 published to NVD
  • 2025-03 - Debian LTS security announcement issued
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2024-38538

Vulnerability Analysis

The vulnerability resides in the Linux bridge device transmit path at br_dev_xmit+0x61d/0x1cb0 in net/bridge/br_device.c:65. The function assumed that incoming socket buffers contained at least an Ethernet header worth of data, equal to ETH_HLEN (14 bytes). When an skb shorter than this minimum was forwarded into the bridge xmit path, the code read beyond the validated portion of the buffer. KMSAN flagged this as an uninitialized value read, confirming that the kernel was dereferencing memory that had not been populated by the caller.

Root Cause

The root cause is missing input validation on skb length before pulling Ethernet header bytes. The original code did not call a length check or pskb_may_pull(skb, ETH_HLEN) before parsing header fields. The fix introduces an explicit check so the bridge driver verifies sufficient data exists before processing. Buffers that fail the check are now dropped with the PKT_TOO_SMALL drop reason, which is observable via dropwatch.

Attack Vector

The vulnerability requires local access and low privileges. The syzbot reproducer triggered the flaw through the eBPF bpf_clone_redirect helper, which redirected a short skb into the bridge transmit path via __bpf_redirect and dev_queue_xmit. An attacker with permission to load eBPF programs or send raw packets to a bridge interface can reach the vulnerable code path. Successful exploitation leads to reads of uninitialized kernel memory and potential kernel panic, impacting confidentiality and availability of the host.

The vulnerability mechanism is described in the upstream commits. See the Kernel Git Commit 1abb371 and the Debian LTS Announcement for technical details.

Detection Methods for CVE-2024-38538

Indicators of Compromise

  • dropwatch entries showing drops at br_dev_xmit with reason PKT_TOO_SMALL and protocol 0x88a8 or other unusual EtherTypes
  • KMSAN or KASAN reports referencing br_dev_xmit and uninitialized value reads in kernel logs
  • Unexpected kernel oops or panic traces involving __bpf_redirect, bpf_clone_redirect, or dev_hard_start_xmit paths

Detection Strategies

  • Inventory Linux hosts and identify kernel versions that predate the fix commits referenced in the NVD advisory
  • Audit loaded eBPF programs that invoke bpf_clone_redirect or write to bridge interfaces from non-privileged contexts
  • Monitor for short-frame anomalies on bridge interfaces using tc or nftables counters

Monitoring Recommendations

  • Enable dropwatch or perf tracing on production hosts running bridged networking to surface PKT_TOO_SMALL events
  • Forward kernel ring buffer messages to a centralized log platform and alert on bridge subsystem oops traces
  • Track CAP_BPF and CAP_NET_ADMIN capability grants across container and VM workloads

How to Mitigate CVE-2024-38538

Immediate Actions Required

  • Apply the latest kernel update from your Linux distribution that includes the upstream fix commits
  • Restrict the ability to load eBPF programs by limiting CAP_BPF and CAP_SYS_ADMIN to trusted users
  • Audit container runtimes and unprivileged user namespaces that may expose bridge transmit paths to attackers

Patch Information

The upstream fix adds a length check before pulling the Ethernet header in br_dev_xmit. Patch commits are available at Kernel Git Commit 1abb371, Kernel Git Commit 28126b8, Kernel Git Commit 5b5d669, Kernel Git Commit 8bd67eb, and Kernel Git Commit f482fd4. Debian users should consult the Debian LTS Announcement.

Workarounds

  • Disable the bridge kernel module on systems that do not require Layer 2 bridging using modprobe -r bridge and blacklist it
  • Set kernel.unprivileged_bpf_disabled=1 via sysctl to prevent unprivileged eBPF program loading
  • Apply seccomp or AppArmor profiles to container workloads to block raw socket and bridge management syscalls
bash
# Configuration example
# Disable unprivileged eBPF program loading
sysctl -w kernel.unprivileged_bpf_disabled=1
echo 'kernel.unprivileged_bpf_disabled=1' >> /etc/sysctl.d/99-cve-2024-38538.conf

# Verify installed kernel version
uname -r

# Remove bridge module if not required
modprobe -r bridge
echo 'blacklist bridge' > /etc/modprobe.d/blacklist-bridge.conf

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.01%

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

  • Kernel Git Commit 82090f9

  • Kernel Git Commit b2b7c43

  • Kernel Git Commit c964429

  • Debian LTS Announcement
  • Vendor Resources
  • Kernel Git Commit 1abb371

  • Kernel Git Commit 28126b8

  • Kernel Git Commit 5b5d669

  • Kernel Git Commit 8bd67eb

  • Kernel Git Commit f482fd4
  • Related CVEs
  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46233: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46227: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46222: Linux Kernel Use-After-Free 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