The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-50279

CVE-2024-50279: Linux Kernel Buffer Overflow Vulnerability

CVE-2024-50279 is a buffer overflow flaw in the Linux Kernel dm-cache subsystem that causes out-of-bounds access when resizing cache devices. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-50279 Overview

CVE-2024-50279 is an out-of-bounds read vulnerability in the Linux kernel's dm-cache (device-mapper cache) subsystem. The vulnerability occurs during cache device resize operations when the system checks dirty bits of cache blocks to be dropped while shrinking the fast device. An index bug in the bitset iteration causes the kernel to access memory outside the allocated dirty bitset bounds.

Critical Impact

Local attackers with low privileges can trigger out-of-bounds memory reads in kernel space, potentially leading to sensitive information disclosure or system crashes.

Affected Products

  • Linux Kernel versions prior to patched releases
  • Linux Kernel 6.12 release candidates (rc1 through rc6)
  • Systems using dm-cache for storage caching

Discovery Timeline

  • November 19, 2024 - CVE-2024-50279 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-50279

Vulnerability Analysis

The vulnerability resides in the cache_preresume() function within the dm-cache subsystem. When a cache device is resized to a smaller size, the system must check the dirty bits of cache blocks that will be dropped. The dm-cache module maintains a dirty bitset to track which cache blocks contain modified data that hasn't been written back to the origin device.

During the resize operation, an index bug in the bitset iteration logic causes the code to read beyond the allocated memory region. Specifically, when shrinking from 1024 cache blocks (128 bytes dirty bitset) to 512 cache blocks, the iteration incorrectly accesses memory at offset 0x80 beyond the valid bitset boundary.

KASAN (Kernel Address Sanitizer) reports this as a vmalloc-out-of-bounds read at the cache_preresume+0x269/0x7b0 location, with the invalid access occurring within a virtual memory mapping created during cache_ctr() initialization.

Root Cause

The root cause is an incorrect index calculation in the bitset iteration loop. The index was being pre-incremented when it should have been post-incremented, causing the loop to access one position beyond the valid range when checking dirty bits for cache blocks scheduled for removal during a shrink operation.

Attack Vector

The vulnerability requires local access to the system with privileges sufficient to manipulate device-mapper configurations. An attacker can trigger the vulnerability through the following sequence:

  1. Create a cache device with a specific number of cache blocks using dmsetup
  2. Suspend the cache device
  3. Reload the cache data device with a smaller size configuration
  4. Resume the devices, triggering the out-of-bounds access during the pre-resume check

The KASAN output demonstrates memory access at address ffffc900000f3080, which falls outside the valid virtual mapping range [ffffc900000f3000, ffffc900000f5000) that was allocated for the dirty bitset. The memory state shows poisoned bytes (f8) being accessed, indicating an out-of-bounds read condition.

Detection Methods for CVE-2024-50279

Indicators of Compromise

  • KASAN kernel warnings containing "vmalloc-out-of-bounds in cache_preresume"
  • Kernel log messages referencing out-of-bounds access at addresses within dm-cache virtual mappings
  • System crashes or kernel panics during dm-cache resize operations

Detection Strategies

  • Enable KASAN in kernel builds to detect out-of-bounds memory access attempts
  • Monitor kernel logs for dm-cache related errors during device resize operations
  • Implement audit rules for dmsetup commands that modify cache device configurations
  • Deploy kernel security modules that track device-mapper configuration changes

Monitoring Recommendations

  • Configure alerting for kernel KASAN reports in system logging infrastructure
  • Monitor for unexpected dm-cache device configuration changes
  • Track dmsetup suspend, reload, and resume command sequences targeting cache devices

How to Mitigate CVE-2024-50279

Immediate Actions Required

  • Update to a patched Linux kernel version containing the fix
  • Limit access to device-mapper configuration commands to trusted administrators only
  • Monitor dm-cache operations during resize events until patches are applied
  • Consider temporarily avoiding dm-cache resize operations on production systems

Patch Information

The fix involves changing the index from pre-increment to post-increment in the bitset iteration logic. Multiple patches have been released across different kernel branches:

  • Kernel Git Commit 3b02c40
  • Kernel Git Commit 4fa4feb
  • Kernel Git Commit 5650720
  • Kernel Git Commit 7922277

Debian users should refer to the Debian LTS Announcement January 2025 and Debian LTS Announcement March 2025 for distribution-specific updates.

Workarounds

  • Restrict dmsetup command access to root users and trusted administrators
  • Avoid performing cache shrink operations until the kernel is updated
  • If dm-cache resize is required, migrate data off the cache device first and recreate with the new size
bash
# Restrict dmsetup access (example)
chmod 750 /sbin/dmsetup
chown root:admin /sbin/dmsetup

# Monitor for dm-cache resize operations
auditctl -w /sbin/dmsetup -p x -k dmsetup_exec

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.1

  • EPSS Probability0.02%

  • 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-125
  • Technical References
  • Debian LTS Announcement January 2025

  • Debian LTS Announcement March 2025
  • Vendor Resources
  • Kernel Git Commit Changes

  • Kernel Git Commit Update

  • Kernel Git Commit Fixes

  • Kernel Git Commit Patch

  • Kernel Git Commit Update

  • Kernel Git Commit Changes

  • Kernel Git Commit Update

  • Kernel Git Commit Improvements
  • Related CVEs
  • CVE-2026-23407: Linux Kernel Buffer Overflow Vulnerability

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

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

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