ntfs3: fix circular locking dependency in run_unpack_ex (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs3: fix circular locking dependency in run_unpack_ex Syzbot reported a circular locking dependency between wnd->rw_lock (sbi->used.bitmap) and ni->file.run_lock. The deadlock scenario: 1. ntfs_extend_mft() takes ni->file.run_lock then wnd->rw_lock. 2. run_unpack_ex() takes wnd->rw_lock then tries to acquire ni->file.run_lock inside ntfs_refresh_zone(). This creates an AB-BA deadlock. Fix this by using down_read_trylock() instead of down_read() when acquiring run_lock in run_unpack_ex(). If the lock is contended, skip ntfs_refresh_zone() - the MFT zone will be refreshed on the next MFT operation. This breaks the circular dependency since we never block waiting for run_lock while holding wnd->rw_lock.
Weaknesses (CWE)
- CWE-667 — Improper Locking
References
- https://git.kernel.org/stable/c/d60f09d2d16c44a797d8cb67015cde2508720506
- https://git.kernel.org/stable/c/76016d15bbd90caa0ce7765fddf9bde8e943e601
- https://git.kernel.org/stable/c/b014372b62237521444ee51384549bdf48b79015
- https://git.kernel.org/stable/c/b8d22d9d8260b0f4f4d8e2898c98037c9982ea66
- https://git.kernel.org/stable/c/08ce2fee1b869ecbfbd94e0eb2630e52203a2e03
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2026-27686
- GCVE · GCVE-0-2026-43127
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6.66 < 6.18.16cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.6
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 57f7979aefdcef66326bda47e07ee0d8be64bf21 < d60f09d2d16c44a797d8cb67015cde2508720506 affected : ≥ db7fc56646cafe39599a4c21f1398e2bdfd5c185 < 76016d15bbd90caa0ce7765fddf9bde8e943e601 affected : ≥ 5fc982fe7eca9d0cf7b25832450ebd4f7c8e1c36 < b014372b62237521444ee51384549bdf48b79015 affected : ≥ 5fc982fe7eca9d0cf7b25832450ebd4f7c8e1c36 < b8d22d9d8260b0f4f4d8e2898c98037c9982ea66 affected : ≥ 5fc982fe7eca9d0cf7b25832450ebd4f7c8e1c36 < 08ce2fee1b869ecbfbd94e0eb2630e52203a2e03 affected : ≥ 6.6.66 < 6.6.160 affected : ≥ 6.12.5 < 6.12.114 Other versions : unaffected |
| Linux · Linux | affected : 6.13 unaffected : ≥ 0 < 6.13 unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.16 ≤ 6.18.* unaffected : ≥ 6.19.6 ≤ 6.19.* unaffected : ≥ 7.0 ≤ * Other versions : affected |
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 |