# CVE-2024-42250: cachefiles: add missing lock protection when polling

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2024-08-07T15:14:33.997Z
- Modified: 2026-08-05T11:36:04.678Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0e19a18f998dcabe8be590e0b39660a1f230209b before 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7; from 18943864342705fa18dd4e6b8d608491fec81f6e before 6bb6bd3dd6f382dfd36220d4b210a0c77c066651; from b817e22b2e91257ace32a6768c3c003faeaa1c5c before 8eadcab7f3dd809edbe5ae20533ff843dfea3a07; from b817e22b2e91257ace32a6768c3c003faeaa1c5c before cf5bb09e742a9cf6349127e868329a8f69b7a014; 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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/97cfd5e20ddc2e33e16ce369626ce76c9a475fd7> (patch)
- <https://git.kernel.org/stable/c/6bb6bd3dd6f382dfd36220d4b210a0c77c066651> (patch)
- <https://git.kernel.org/stable/c/8eadcab7f3dd809edbe5ae20533ff843dfea3a07> (patch)
- <https://git.kernel.org/stable/c/cf5bb09e742a9cf6349127e868329a8f69b7a014> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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