btrfs: take commit root semaphore when iterating in mark_block_group_to_copy() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: take commit root semaphore when iterating in mark_block_group_to_copy() mark_block_group_to_copy() iterates over the commit root with skip_locking=true. A concurrent transaction commit can swap and free the commit root during iteration, causing use-after-free when accessing extent buffers. Fix it by using path->need_commit_sem to protect the commit root search.
References
- https://git.kernel.org/stable/c/90242b776df83f8b1ea901f80b568b4fc2318c61
- https://git.kernel.org/stable/c/bffe773f92885603db14047bba0f12089105929e
- https://git.kernel.org/stable/c/93a025166495c63ba5b8ac721c7040d5312e8335
- https://git.kernel.org/stable/c/8e2007b263ea250251ec3021a0a197da990ee1a8
- https://git.kernel.org/stable/c/709f6a5e986535005110c6c69b322f63631cb200
- https://git.kernel.org/stable/c/c32490c6d3f3a9f2d177d57c7eb8bbc347561d08
- https://git.kernel.org/stable/c/0594e3423f4ba3137c734371169491f9a98e9af4
European references
- ENISA EUVD · EUVD-2026-93173
- GCVE · GCVE-0-2026-98245
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 90242b776df83f8b1ea901f80b568b4fc2318c61 ; affected 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < bffe773f92885603db14047bba0f12089105929e ; affected 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 93a025166495c63ba5b8ac721c7040d5312e8335 ; affected 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 8e2007b263ea250251ec3021a0a197da990ee1a8 ; affected 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 709f6a5e986535005110c6c69b322f63631cb200 ; affected 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < c32490c6d3f3a9f2d177d57c7eb8bbc347561d08 |
| Linux · Linux | affected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* |
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 |