{"id":"CVE-2024-41033","summary":"cachestat: do not flush stats in recency check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncachestat: do not flush stats in recency check\n\nsyzbot detects that cachestat() is flushing stats, which can sleep, in its\nRCU read section (see [1]).  This is done in the workingset_test_recent()\nstep (which checks if the folio's eviction is recent).\n\nMove the stat flushing step to before the RCU read section of cachestat,\nand skip stat flushing during the recency check.\n\n[1]: https://lore.kernel.org/cgroups/000000000000f71227061bdf97e0@google.com/","modified":"2026-03-20T12:37:29.241735Z","published":"2024-07-29T14:31:48.256Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41033.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1d1ba14e00d290b1ed616ed78c8c49bf897ce390"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2f7c76758be16f1dc32c5a82270d4f6649eedab"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41033.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41033"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"68849411ce9eb55d00cef48504dcb35baca4b37e"},{"fixed":"e2f7c76758be16f1dc32c5a82270d4f6649eedab"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b006847222623ac3cda8589d15379eac86a2bcb7"},{"fixed":"1d1ba14e00d290b1ed616ed78c8c49bf897ce390"},{"fixed":"5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41033.json"}}],"schema_version":"1.7.5"}