debugfs: fix wait/cancellation handling during remove (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 8 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-667 — Improper Locking
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2024-35786
- GCVE · GCVE-0-2024-35793
Avis du CERT-FR
- CERTFR-2024-AVI-0546 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7.1 < 6.7.12cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.8 < 6.8.3cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.7:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.7:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.7:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.7:rc8:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 8c88a474357ead632b07c70bf7f119ace8c3b39e < e88b5ae01901c4a655a53158397746334778a57b ; affected 8c88a474357ead632b07c70bf7f119ace8c3b39e < 3d08cca5fd0aabb62b7015067ab40913b33da906 ; affected 8c88a474357ead632b07c70bf7f119ace8c3b39e < 952c3fce297f12c7ff59380adb66b564e2bc9b64 |
| Linux · Linux | affected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.7.12 ≤ 6.7.* ; unaffected 6.8.3 ≤ 6.8.* ; unaffected 6.9 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |