CVE-2024-42250
cachefiles: add missing lock protection when polling
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 0e19a18f998dcabe8be590e0b39660a1f230209b, < 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7; >= 18943864342705fa18dd4e6b8d608491fec81f6e, < 6bb6bd3dd6f382dfd36220d4b210a0c77c066651; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < 8eadcab7f3dd809edbe5ae20533ff843dfea3a07; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < cf5bb09e742a9cf6349127e868329a8f69b7a014
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= 0e19a18f998dcabe8be590e0b39660a1f230209b, < 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7; >= 18943864342705fa18dd4e6b8d608491fec81f6e, < 6bb6bd3dd6f382dfd36220d4b210a0c77c066651; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < 8eadcab7f3dd809edbe5ae20533ff843dfea3a07; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < cf5bb09e742a9cf6349127e868329a8f69b7a014; Linux 6.8
- Fixed in
- Linux 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7, Linux 6bb6bd3dd6f382dfd36220d4b210a0c77c066651, Linux 8eadcab7f3dd809edbe5ae20533ff843dfea3a07
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: cachefiles: add missing lock protection when polling Add missing lock protection in poll routine when iterating xarray, otherwise: Even with RCU read lock held, only the slot of the radix tree is ensured to be pinned there, while the data structure (e.g. struct cachefiles_req) stored in the slot has no such guarantee. The poll routine will iterate the radix tree and dereference cachefiles_req accordingly. Thus RCU read lock is not adequate in this case and spinlock is needed here.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0e19a18f998dcabe8be590e0b39660a1f230209b, < 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7; >= 18943864342705fa18dd4e6b8d608491fec81f6e, < 6bb6bd3dd6f382dfd36220d4b210a0c77c066651; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < 8eadcab7f3dd809edbe5ae20533ff843dfea3a07; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < cf5bb09e742a9cf6349127e868329a8f69b7a014 | — | cvelist |
| Linux | 6.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42250. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42250.md Affected: Linux >= 0e19a18f998dcabe8be590e0b39660a1f230209b, < 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7; >= 18943864342705fa18dd4e6b8d608491fec81f6e, < 6bb6bd3dd6f382dfd36220d4b210a0c77c066651; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < 8eadcab7f3dd809edbe5ae20533ff843dfea3a07; >= b817e22b2e91257ace32a67… Fixed in: Linux 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7, Linux 6bb6bd3dd6f382dfd36220d4b210a0c77c066651, Linux 8eadcab7f3dd809edbe5ae20533ff843dfea3a07 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-42250 being exploited?
There is no confirmed exploitation: CVE-2024-42250 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42250?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-42250?
Linux >= 0e19a18f998dcabe8be590e0b39660a1f230209b, < 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7; >= 18943864342705fa18dd4e6b8d608491fec81f6e, < 6bb6bd3dd6f382dfd36220d4b210a0c77c066651; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < 8eadcab7f3dd809edbe5ae20533ff843dfea3a07; >= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < cf5bb09e742a9cf6349127e868329a8f69b7a014; Linux 6.8.
Is there a fix for CVE-2024-42250?
Yes. Fixed in Linux 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7, Linux 6bb6bd3dd6f382dfd36220d4b210a0c77c066651, Linux 8eadcab7f3dd809edbe5ae20533ff843dfea3a07. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-42250?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.