Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


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.