CVE-2024-42250CWE-667

CVE-2024-42250

High · published August 7, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
6.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00172 · 6.3th percentile
Weakness
CWE-667 · Improper Locking
Published
2024-08-07T20:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.9.106.9.10
References (5)
EPSS history
Timeline
  • 07 AUG 15:14Z
    cachefiles: add missing lock protection when polling
    cvelistv5