{"id":"CVE-2024-42250","published":"2024-08-07T15:14:33Z","modified":"2026-08-05T11:36:04Z","title":"cachefiles: add missing lock protection when polling","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncachefiles: add missing lock protection when polling\n\nAdd missing lock protection in poll routine when iterating xarray,\notherwise:\n\nEven with RCU read lock held, only the slot of the radix tree is\nensured to be pinned there, while the data structure (e.g. struct\ncachefiles_req) stored in the slot has no such guarantee.  The poll\nroutine will iterate the radix tree and dereference cachefiles_req\naccordingly.  Thus RCU read lock is not adequate in this case and\nspinlock is needed here.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00172,"percentile":0.06792,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/97cfd5e20ddc2e33e16ce369626ce76c9a475fd7","tags":[]},{"url":"https://git.kernel.org/stable/c/6bb6bd3dd6f382dfd36220d4b210a0c77c066651","tags":[]},{"url":"https://git.kernel.org/stable/c/8eadcab7f3dd809edbe5ae20533ff843dfea3a07","tags":[]},{"url":"https://git.kernel.org/stable/c/cf5bb09e742a9cf6349127e868329a8f69b7a014","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.36},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0e19a18f998dcabe8be590e0b39660a1f230209b, < 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7",">= 18943864342705fa18dd4e6b8d608491fec81f6e, < 6bb6bd3dd6f382dfd36220d4b210a0c77c066651",">= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < 8eadcab7f3dd809edbe5ae20533ff843dfea3a07",">= b817e22b2e91257ace32a6768c3c003faeaa1c5c, < cf5bb09e742a9cf6349127e868329a8f69b7a014"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:13:18.948935Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39473","exploited":false,"provenance":"source"}}