mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
20 lines
1.3 KiB
Markdown
20 lines
1.3 KiB
Markdown
|
|
### [CVE-2024-35793](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35793)
|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|
|
||
|
|
### Description
|
||
|
|
|
||
|
|
In the Linux kernel, the following vulnerability has been resolved:debugfs: fix wait/cancellation handling during removeBen Greear further reports deadlocks during concurrent debugfsremove while files are being accessed, even though the code inquestion now uses debugfs cancellations. Turns out that despiteall the review on the locking, we missed completely that thelogic is wrong: if the refcount hits zero we can finish (andneed not wait for the completion), but if it doesn't we haveto trigger all the cancellations. As written, we can _never_get into the loop triggering the cancellations. Fix this, andexplain it better while at it.
|
||
|
|
|
||
|
|
### POC
|
||
|
|
|
||
|
|
#### Reference
|
||
|
|
- https://git.kernel.org/stable/c/e88b5ae01901c4a655a53158397746334778a57b
|
||
|
|
|
||
|
|
#### Github
|
||
|
|
No PoCs found on GitHub currently.
|
||
|
|
|