CVE-2024-35793
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-667
- Record status
- Modified
Affected
- Linux Kernel < 6.7.12
- Linux Kernel < 6.8.3
- Linux Kernel 6.7
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-35793.md and follow it. Check whether this project is affected by CVE-2024-35793. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/3d08cca5fd0aabb62b7015067ab40913b33da906
- https://git.kernel.org/stable/c/952c3fce297f12c7ff59380adb66b564e2bc9b64
- https://git.kernel.org/stable/c/e88b5ae01901c4a655a53158397746334778a57b
- https://git.kernel.org/stable/c/3d08cca5fd0aabb62b7015067ab40913b33da906
- https://git.kernel.org/stable/c/952c3fce297f12c7ff59380adb66b564e2bc9b64
- https://git.kernel.org/stable/c/e88b5ae01901c4a655a53158397746334778a57b
References
- https://git.kernel.org/stable/c/3d08cca5fd0aabb62b7015067ab40913b33da906
- https://git.kernel.org/stable/c/952c3fce297f12c7ff59380adb66b564e2bc9b64
- https://git.kernel.org/stable/c/e88b5ae01901c4a655a53158397746334778a57b
- https://git.kernel.org/stable/c/3d08cca5fd0aabb62b7015067ab40913b33da906
- https://git.kernel.org/stable/c/952c3fce297f12c7ff59380adb66b564e2bc9b64
- https://git.kernel.org/stable/c/e88b5ae01901c4a655a53158397746334778a57b