md/raid10: fix writes_pending and barrier reference leaks on discard failures (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.50 % · percentile 43 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix writes_pending and barrier reference leaks on discard failures raid10_make_request() acquires a writes_pending reference with md_write_start() before calling raid10_handle_discard(). Several failure paths in raid10_handle_discard() complete the bio and return without releasing the corresponding reference, causing md_write_end() to be skipped. Call md_write_end() before returning from these failure paths to keep writes_pending accounting balanced. Additionally, discard split allocation failures can occur after wait_barrier() succeeds. Those paths return without calling allow_barrier(), leaking the associated barrier reference. Release the barrier before returning from those paths.
References
- https://git.kernel.org/stable/c/2d264c00beadcc67f16d683ab27eed28c047ba2e
- https://git.kernel.org/stable/c/80ac31cce55432034a9eb98262c92ace7866e494
- https://git.kernel.org/stable/c/fea33968592559a55a3f5a96a6386bebcaf988a8
- https://git.kernel.org/stable/c/11b35d1906a7277a3d64afe34224133b44327328
- https://git.kernel.org/stable/c/d1324b41dabd26787559efaeb430643c627c1eb0
- https://git.kernel.org/stable/c/393d687131d8aa8c7e4de2cb494438e145d20fc2
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-59337
- GCVE · GCVE-0-2026-72438
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · 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-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · 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-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 2d264c00beadcc67f16d683ab27eed28c047ba2e ; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 80ac31cce55432034a9eb98262c92ace7866e494 ; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < fea33968592559a55a3f5a96a6386bebcaf988a8 ; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 11b35d1906a7277a3d64afe34224133b44327328 ; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < d1324b41dabd26787559efaeb430643c627c1eb0 ; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 393d687131d8aa8c7e4de2cb494438e145d20fc2 |
| Linux · Linux | affected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.* |
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 |