cbcvebase.
CVE-2024-26630
published 2024-03-13

CVE-2024-26630: In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio…

PriorityP429high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.30%
22.5th percentile
In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio from the page cache's xarray to compute its page offset, and check for its dirty and writeback flags. However, we do not hold a reference to the folio before performing these actions, which means the folio can concurrently be released and reused as another folio/page/slab. Get around this altogether by just using xarray's existing machinery for the folio page offsets and dirty/writeback states. This changes behavior for tmpfs files to now always report zeroes in their dirty and writeback counters. This is okay as tmpfs doesn't follow conventional writeback cache behavior: its pages get "cleaned" during swapout, after which they're no longer resident etc.

Affected

10 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.7.9-1 (forky)linux 6.7.9-1 (forky)
linuxlinux
linuxlinux>= cf264e1329fb0307e044f7675849f9f38b44c11a < ba60fdf75e89ea762bb617be578dc47f27655117ba60fdf75e89ea762bb617be578dc47f27655117
linuxlinux>= cf264e1329fb0307e044f7675849f9f38b44c11a < fe7e008e0ce728252e4ec652cceebcc62211657cfe7e008e0ce728252e4ec652cceebcc62211657c
linuxlinux>= cf264e1329fb0307e044f7675849f9f38b44c11a < 3a75cb05d53f4a6823a32deb078de1366954a8043a75cb05d53f4a6823a32deb078de1366954a804
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.7.9-16.7.9-1
linuxlinux_kernel>= 0 < 6.7.9-16.7.9-1
linuxlinux_kernel>= 6.5 < 6.6.216.6.21
linuxlinux_kernel>= 6.7 < 6.7.96.7.9

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1LOW
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.