CVE-2024-50279: dm cache: fix out-of-bounds access to the dirty bitset when resizing
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.26% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 3b02c40ff10fdf83cc545850db208de855ebe22c, 4fa4feb873cea0e9d6ff883b37cca6f33169d8b4, 56507203e1b6127967ec2b51fb0b23a0d4af1334; cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 5.15.173.1-1; cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 5.15.173.1-1.
Low priority for now. Upgrade to Linux Linux 3b02c40ff10fdf83cc545850db208de855ebe22c, 4fa4feb873cea0e9d6ff883b37cca6f33169d8b4, 56507203e1b6127967ec2b51fb0b23a0d4af1334; cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 5.15.173.1-1; cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 5.15.173.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: dm cache: fix out-of-bounds access to the dirty bitset when resizing dm-cache checks the dirty bits of the cache blocks to be dropped when shrinking the fast device, but an index bug in bitset iteration causes out-of-bounds access. Reproduce steps: 1. create a cache device of 1024 cache blocks (128 bytes dirty bitset) dmsetup create cmeta --table "0 8192 linear /dev/sdc 0" dmsetup create cdata --table "0 131072 linear /dev/sdc 8192" dmsetup create corig --table "0 524288 linear /dev/sdc 262144" dd if=/dev/zero of=/dev/mapper/cmeta bs=4k count=1 oflag=direct dmsetup create cache --table "0 524288 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writethrough smq 0" 2. shrink the fast device to 512 cache blocks, triggering out-of-bounds access to the dirty bitset (offset 0x80) dmsetup suspend cache dmsetup reload cdata --table "0 65536 linear /dev/sdc 8192" dmsetup resume cdata dmsetup resume cache KASAN reports: BUG: KASAN: vmalloc-out-of-bounds in cache_preresume+0x269/0x7b0 Read of size 8 at addr ffffc900000f3080 by task dmsetup/131 (...snip...) The buggy address belongs to the virtual mapping at [ffffc900000f3000, ffffc900000f5000) created by: cache_ctr+0x176a/0x35f0 (...snip...) Memory state around the buggy address: ffffc900000f2f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900000f3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc900000f3080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900000f3100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900000f3180: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 Fix by making the index post-incremented.
- BDU:2025-03156
- SUSE-SU-2024:4346-1
- SUSE-SU-2024:4388-1
- SUSE-SU-2025:02069-1
- SUSE-SU-2025:02070-1
- SUSE-SU-2025:02071-1
- SUSE-SU-2025:02075-1
- SUSE-SU-2025:02076-1
- SUSE-SU-2025:02077-1
- SUSE-SU-2025:02095-1
- SUSE-SU-2025:02096-1
- SUSE-SU-2025:02101-1
- SUSE-SU-2025:02106-1
- SUSE-SU-2025:02107-1
- SUSE-SU-2025:02110-1
- SUSE-SU-2025:02111-1
- SUSE-SU-2025:02113-1
- SUSE-SU-2025:02116-1
- SUSE-SU-2025:02117-1
- SUSE-SU-2025:02124-1
- Published
- Nov 18, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 18th percentile
- CWE
- CWE-125
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.13affected
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before 4fa4feb873cea0e9d6ff883b37cca6f33169d8b4affected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before 8501e38dc9e0060814c4085815fc83da3e6d43bfaffected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before ee1f74925717ab36f6a091104c170639501ce818affected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before ff1dd8a04c30e8d4e2fd5c83198ca672eb6a9e7faffected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before 56507203e1b6127967ec2b51fb0b23a0d4af1334affected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before e57648ce325fa405fe6bbd0e6a618ced7c301a2daffected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before 3b02c40ff10fdf83cc545850db208de855ebe22caffected · git
- f494a9c6b1b6dd9a9f21bbb75d9210d478eeb498 and later · before 792227719725497ce10a8039803bec13f89f8910affected · git
- before 3.13not affected · semver
Affected versions · NVD (8)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.13 and later · before 4.19.324
- linux linux kernel4.20 and later · before 5.4.286
- linux linux kernel5.5 and later · before 5.10.230
- linux linux kernel5.11 and later · before 5.15.172
- linux linux kernel5.16 and later · before 6.1.117
- linux linux kernel6.2 and later · before 6.6.61
- linux linux kernel6.7 and later · before 6.11.8
- linux linux kernel6.12
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.119-1 | 6.1.119-1 |
| Debian:13 | linux | before 6.11.9-1 | 6.11.9-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-default-base | before 5.3.18-150200.24.212.1.150200.9.111.1 | 5.3.18-150200.24.212.1.150200.9.111.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-docs | before 5.3.18-150200.24.212.1 | 5.3.18-150200.24.212.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-obs-build | before 5.3.18-150200.24.212.1 | 5.3.18-150200.24.212.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-preempt | before 5.3.18-150200.24.212.1 | 5.3.18-150200.24.212.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-source | before 5.3.18-150200.24.212.1 | 5.3.18-150200.24.212.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-syms | before 5.3.18-150200.24.212.1 | 5.3.18-150200.24.212.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-64kb | before 5.14.21-150400.24.144.1 | 5.14.21-150400.24.144.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-docs | before 5.14.21-150400.24.144.1 | 5.14.21-150400.24.144.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-obs-build | before 5.14.21-150400.24.144.1 | 5.14.21-150400.24.144.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-source | before 5.14.21-150400.24.144.1 | 5.14.21-150400.24.144.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-syms | before 5.14.21-150400.24.144.1 | 5.14.21-150400.24.144.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | before 18-2.1 | 18-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_58 | before 13-2.1 | 13-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_59 | before 12-2.1 | 12-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_60 | before 11-2.1 | 11-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_61 | before 10-2.1 | 10-2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-default | before 5.3.18-150200.24.212.1 | 5.3.18-150200.24.212.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_55 | before 1-150200.5.3.1 | 1-150200.5.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_44 | before 19-150300.2.2 | 19-150300.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_45 | before 16-150300.2.2 | 16-150300.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_49 | before 11-150300.2.2 | 11-150300.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_50 | before 9-150300.2.2 | 9-150300.2.2 |
+30
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-50277Nov 18, 2024 · dm: fix a crash if blk_alloc_disk fails18Monitor
- ← EarlierCVE-2024-50278Nov 18, 2024 · dm cache: fix potential out-of-bounds access on the first resume28Monitor
- Later →CVE-2024-50280Nov 18, 2024 · dm cache: fix flushing uninitialized delayed_work on cache_ctr error31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 3b02c40ff10fdf83cc545850db208de855ebe22c | Vendor (CNA) |
| Linux Linux | 4fa4feb873cea0e9d6ff883b37cca6f33169d8b4 | Vendor (CNA) |
| Linux Linux | 56507203e1b6127967ec2b51fb0b23a0d4af1334 | Vendor (CNA) |
| Linux Linux | 792227719725497ce10a8039803bec13f89f8910 | Vendor (CNA) |
| Linux Linux | 8501e38dc9e0060814c4085815fc83da3e6d43bf | Vendor (CNA) |
| Linux Linux | e57648ce325fa405fe6bbd0e6a618ced7c301a2d | Vendor (CNA) |
| Linux Linux | ee1f74925717ab36f6a091104c170639501ce818 | Vendor (CNA) |
| Linux Linux | ff1dd8a04c30e8d4e2fd5c83198ca672eb6a9e7f | Vendor (CNA) |
| cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.173.1-1 on CBL Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.119-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-64kb | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-default | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-default-base | 5.14.21-150400.24.144.1.150400.24.70.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-docs | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP2_Update_55 | 1-150200.5.3.1 · SUSE:Linux Enterprise Live Patching 15 SP2 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP4_Update_34 | 1-150400.9.3.1 · SUSE:Linux Enterprise Live Patching 15 SP4 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_0 | 17-150600.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-obs-build | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150200.24.212.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Package registry (OSV) |
| suse:kernel-source | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-syms | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150400.24.144.1 · SUSE:Linux Enterprise Server 15 SP4-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- git.kernel.org/stable/c/4fa4feb873cea0e9d6ff883b37cca6f33169d8b4
- git.kernel.org/stable/c/56507203e1b6127967ec2b51fb0b23a0d4af1334
- git.kernel.org/stable/c/792227719725497ce10a8039803bec13f89f8910
- git.kernel.org/stable/c/8501e38dc9e0060814c4085815fc83da3e6d43bf
- git.kernel.org/stable/c/e57648ce325fa405fe6bbd0e6a618ced7c301a2d
- git.kernel.org/stable/c/ee1f74925717ab36f6a091104c170639501ce818
- git.kernel.org/stable/c/ff1dd8a04c30e8d4e2fd5c83198ca672eb6a9e7f
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.