{"id":"CVE-2024-41033","state":"PUBLISHED","title":"cachestat: do not flush stats in recency check","description":"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/","publishedAt":"2024-07-29T14:31:48.256Z","updatedAt":"2026-05-11T20:24:51.866Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"68849411ce9eb55d00cef48504dcb35baca4b37e","status":"affected","lessThan":"e2f7c76758be16f1dc32c5a82270d4f6649eedab","versionType":"git"},{"version":"b006847222623ac3cda8589d15379eac86a2bcb7","status":"affected","lessThan":"1d1ba14e00d290b1ed616ed78c8c49bf897ce390","versionType":"git"},{"version":"b006847222623ac3cda8589d15379eac86a2bcb7","status":"affected","lessThan":"5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/swap.h","mm/filemap.c","mm/workingset.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.9.10","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/swap.h","mm/filemap.c","mm/workingset.c"]}],"references":["https://git.kernel.org/stable/c/e2f7c76758be16f1dc32c5a82270d4f6649eedab","https://git.kernel.org/stable/c/1d1ba14e00d290b1ed616ed78c8c49bf897ce390","https://git.kernel.org/stable/c/5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/41xxx/CVE-2024-41033.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-41033","state":"PUBLISHED","datePublished":"2024-07-29T14:31:48.256Z","dateUpdated":"2026-05-11T20:24:51.866Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-12T12:17:45.619Z"},"containers":{"cna":{"title":"cachestat: do not flush stats in recency check","descriptions":[{"lang":"en","value":"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/"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"68849411ce9eb55d00cef48504dcb35baca4b37e","status":"affected","lessThan":"e2f7c76758be16f1dc32c5a82270d4f6649eedab","versionType":"git"},{"version":"b006847222623ac3cda8589d15379eac86a2bcb7","status":"affected","lessThan":"1d1ba14e00d290b1ed616ed78c8c49bf897ce390","versionType":"git"},{"version":"b006847222623ac3cda8589d15379eac86a2bcb7","status":"affected","lessThan":"5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/swap.h","mm/filemap.c","mm/workingset.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.9.10","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/swap.h","mm/filemap.c","mm/workingset.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e2f7c76758be16f1dc32c5a82270d4f6649eedab"},{"url":"https://git.kernel.org/stable/c/1d1ba14e00d290b1ed616ed78c8c49bf897ce390"},{"url":"https://git.kernel.org/stable/c/5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:24:51.866Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.9.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/1d1ba14e00d290b1ed616ed78c8c49bf897ce390","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5a4d8944d6b1e1aaaa83ea42c116b520b4ed0394","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:39:56.232Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-41033","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:23:40.809079Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:03.683Z"}}]}}}