btrfs: detach failed sprout device from transaction update list (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: detach failed sprout device from transaction update list When creating the first metadata chunk for a sprout filesystem, create_chunk() adds the new device to the transaction dev_update_list through device->post_commit_list. If the subsequent system chunk creation fails, btrfs_init_new_device() aborts the transaction and releases the device while post_commit_list is still linked. This triggers a warning in btrfs_free_device() and leaves the transaction list referencing freed memory. Detach the device while holding chunk_mutex before releasing it.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
- https://git.kernel.org/stable/c/2a57fb1d5ce8f316b81bbb60e6df245ebc816ffc
- https://git.kernel.org/stable/c/86eff3052054e8f3b059b2d5845b6dcca021f20c
- https://git.kernel.org/stable/c/63bfa52eb3289517aa82cb90e1189385873aae21
- https://git.kernel.org/stable/c/7fe9dfbca43464baa8f050447a4837587b18adec
- https://git.kernel.org/stable/c/e9e7e37afa85db770e6084360b21a21a8b3a583f
- https://git.kernel.org/stable/c/8b001df2b37ca022f710f3254fbb0bcd6d9e1bed
- https://git.kernel.org/stable/c/0ea6814bc0ff7cff443241bd34db9f0f828f3190
- https://git.kernel.org/stable/c/c93b3c43df561cd9f592cee20ae058b563f9e5b6
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-86921
- GCVE · GCVE-0-2026-98091
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-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — 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:*:*:*:*:*:*:*:*≥ 5.2 < 5.10.271cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.222cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.189cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.6.158cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.111cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.53cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 7.2.7cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected bbbf7243d62d8be73b7ef60721c127b36b2d523e < 2a57fb1d5ce8f316b81bbb60e6df245ebc816ffc ; affected bbbf7243d62d8be73b7ef60721c127b36b2d523e < 86eff3052054e8f3b059b2d5845b6dcca021f20c ; affected bbbf7243d62d8be73b7ef60721c127b36b2d523e < 63bfa52eb3289517aa82cb90e1189385873aae21 ; affected bbbf7243d62d8be73b7ef60721c127b36b2d523e < 7fe9dfbca43464baa8f050447a4837587b18adec ; affected bbbf7243d62d8be73b7ef60721c127b36b2d523e < e9e7e37afa85db770e6084360b21a21a8b3a583f ; affected bbbf7243d62d8be73b7ef60721c127b36b2d523e < 8b001df2b37ca022f710f3254fbb0bcd6d9e1bed |
| Linux · Linux | affected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* |
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 |