CVE-2024-35793

MEDIUM

Linux Kernel 6.7-6.7.11, 6.8-6.8.2 - Denial of Service via DebugFS Locking Deadlock

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0017
EPSS Percentile 6.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (12)
linux/Kernel 6.7.0 - 6.7.12linux
linux/Kernel 6.8.0 - 6.8.3linux
Linux/Linux < 6.7
Linux/Linux 6.7
Linux/Linux 6.7.12 - 6.7.*
Linux/Linux 6.8.3 - 6.8.*
Linux/Linux 6.9
Linux/Linux 8c88a474357ead632b07c70bf7f119ace8c3b39e - 3d08cca5fd0aabb62b7015067ab40913b33da906
Linux/Linux 8c88a474357ead632b07c70bf7f119ace8c3b39e - 952c3fce297f12c7ff59380adb66b564e2bc9b64
Linux/Linux 8c88a474357ead632b07c70bf7f119ace8c3b39e - e88b5ae01901c4a655a53158397746334778a57b
... and 2 more
Published May 17, 2024
Tracked Since Feb 18, 2026