# CVE-2024-41033: cachestat: do not flush stats in recency check

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-07-29T14:31:48.256Z
- Modified: 2026-06-17T07:47:07.827Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cachestat: do not flush stats in recency check

syzbot detects that cachestat() is flushing stats, which can sleep, in its
RCU read section (see [1]).  This is done in the workingset_test_recent()
step (which checks if the folio's eviction is recent).

Move the stat flushing step to before the RCU read section of cachestat,
and skip stat flushing during the recency check.

[1]: https://lore.kernel.org/cgroups/000000000000f71227061bdf97e0@google.com/

(As written by CVE List.)

## Affected

- Linux Linux: from 68849411ce9eb55d00cef48504dcb35baca4b37e before e2f7c76758be16f1dc32c5a82270d4f6649eedab; from b006847222623ac3cda8589d15379eac86a2bcb7 before 1d1ba14e00d290b1ed616ed78c8c49bf897ce390; from b006847222623ac3cda8589d15379eac86a2bcb7 before 5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394; 6.8 (not affected: before 6.8; from 6.9.10 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.8 before 6.9.10; 6.10

## References

- <https://git.kernel.org/stable/c/e2f7c76758be16f1dc32c5a82270d4f6649eedab>
- <https://git.kernel.org/stable/c/1d1ba14e00d290b1ed616ed78c8c49bf897ce390> (patch)
- <https://git.kernel.org/stable/c/5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394> (patch)

## Sources

- CVE List: [CVE-2024-41033](https://www.cve.org/CVERecord?id=CVE-2024-41033), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-41033](https://nvd.nist.gov/vuln/detail/CVE-2024-41033), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41033 · Whole record: https://cve.day/CVE-2024-41033.json · Rebuilt by cve.day 2026-11-25T22:58:43.294Z
