CVE-2024-41033
JSON

5.5medium

cachestat: do not flush stats in recency check

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
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/

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.8 before 6.9.10, 6.10NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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/

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cachestat: no vaciar estadísticas en comprobación de actualidad syzbot detecta que cachestat() está vaciando estadísticas, que pueden dormir, en su sección de lectura de RCU (ver [1]). Esto se hace en el pasoworkingset_test_recent() (que verifica si el desalojo del folio es reciente). Mueva el paso de vaciado de estadísticas antes de la sección de lectura de RCU de cachestat y omita el vaciado de estadísticas durante la verificación reciente. [1]: https://lore.kernel.org/cgroups/000000000000f71227061bdf97e0@google.com/

References

Sources

SourceRecordLicence
CVE ListCVE-2024-41033 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-41033 changed 2026-06-17Public domain