CVE-2024-35793CWE-667

CVE-2024-35793

High · published May 17, 2024

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

In the Linux kernel, the following vulnerability has been resolved:

debugfs: fix wait/cancellation handling during remove

Ben Greear further reports deadlocks during concurrent debugfs

remove while files are being accessed, even though the code in

question now uses debugfs cancellations. Turns out that despite

all the review on the locking, we missed completely that the

logic is wrong: if the refcount hits zero we can finish (and

need not wait for the completion), but if it doesn't we have

to trigger all the cancellations. As written, we can _never_

get into the loop triggering the cancellations. Fix this, and

explain it better while at it.

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.00179 · 7.1th percentile
Weakness
CWE-667 · Improper Locking
Published
2024-05-17T17:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 6.7.1, < 6.7.126.7.12
linux/linux_kernel≥ 6.8, < 6.8.36.8.3
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 17 MAY 12:24Z
    debugfs: fix wait/cancellation handling during remove
    cvelistv5