CVE-2024-50279
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-50279 is a vulnerability discovered in the Linux kernel's dm-cache subsystem, specifically affecting the dirty bitset access when resizing cache devices. The vulnerability was disclosed on November 18, 2024, and affects Linux kernel versions from 3.13 up to versions before 6.11.8. The issue occurs in the device mapper cache implementation when checking dirty bits of cache blocks during fast device shrinking operations (NVD).

Technical details

The vulnerability is an out-of-bounds access issue in the dm-cache component when resizing the cache device. The bug occurs due to an index bug in bitset iteration that causes out-of-bounds access to the dirty bitset. When shrinking the fast device, dm-cache checks the dirty bits of the cache blocks to be dropped, but the incorrect index handling leads to accessing memory outside the allocated bounds. The vulnerability has been assigned a CVSS v3.1 base score of 7.1 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (NVD).

Impact

The vulnerability can lead to out-of-bounds memory access, potentially causing information disclosure or system crashes. When exploited, it allows reading memory outside the allocated bounds of the dirty bitset buffer, which could expose sensitive kernel memory contents. The issue is particularly concerning as it affects the device mapper cache functionality, a core component of Linux storage management (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed by modifying the index increment operation in the dm-cache code. The fix involves changing the position of the index increment operation to prevent the out-of-bounds access. Users should update their Linux kernel to versions that include the fix. The patch has been backported to multiple stable kernel versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68764N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug
NoYesJan 05, 2026
CVE-2025-68758N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesJan 05, 2026
CVE-2025-68756N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68753N/AN/A
  • Linux KernelLinux Kernel
  • python3-perf
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management