CVE-2024-42250

cachefiles: add missing lock protection when polling

MEDIUM
5.5
CVSS Score
Published: August 7, 2024 at 03:14 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.8 ≤ v < 6.106.8 ≤ v < 6.9.100e19a18f998dcabe8be590e0b39660a1f230209b18943864342705fa18dd4e6b8d608491fec81f6e6.8b817e22b2e91257ace32a6768c3c003faeaa1c5c
Vendor states this is fixed in 6bb6bd3dd6f382dfd36220d4b210a0c77c066651 (fixed)
Vendor states this is fixed in 8eadcab7f3dd809edbe5ae20533ff843dfea3a07 (fixed)
Vendor states this is fixed in 97cfd5e20ddc2e33e16ce369626ce76c9a475fd7 (fixed)
Vendor states this is fixed in cf5bb09e742a9cf6349127e868329a8f69b7a014 (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 6.9.10 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6bb6bd3dd6f382dfd36220d4b210a0c77c066651
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8eadcab7f3dd809edbe5ae20533ff843dfea3a07
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/97cfd5e20ddc2e33e16ce369626ce76c9a475fd7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf5bb09e742a9cf6349127e868329a8f69b7a014
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card