md/raid1: fix writes_pending and barrier reference leaks on write failures (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.48 % · percentile 41 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: md/raid1: fix writes_pending and barrier reference leaks on write failures raid1_make_request() acquires a writes_pending reference with md_write_start() before calling raid1_write_request(). Several failure paths in raid1_write_request() complete the bio and return without reaching the normal write completion path, causing the corresponding md_write_end() to be skipped. Make raid1_write_request() return a status indicating whether the write request was successfully queued. This allows raid1_make_request() to call md_write_end() when raid1_write_request() fails. Additionally, if wait_blocked_rdev() fails after wait_barrier() succeeds, the associated barrier reference is not released. Call allow_barrier() before returning from that path to keep the barrier accounting balanced.
References
- https://git.kernel.org/stable/c/874f54243d881fde1890849000beb88a7880d1ec
- https://git.kernel.org/stable/c/921e2baa626d1504bf30295816aaeb90ac8c82f4
- https://git.kernel.org/stable/c/a846affa813013204d0cce0cfdaeb99e8fcce188
- https://git.kernel.org/stable/c/7a450460687919e79b5f8503bdeb13ecf4cca311
- https://git.kernel.org/stable/c/bffbbfcbd9393e315a7a4286dcd70e875265db9a
- https://git.kernel.org/stable/c/8e065a1602511282fc0da2dc89445e0eb71a681c
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H | Linux |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-59339
- GCVE · GCVE-0-2026-72440
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-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
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 5aa705039c4fca84575539bfa2b8a28454a3d2ca < 874f54243d881fde1890849000beb88a7880d1ec ; affected 5aa705039c4fca84575539bfa2b8a28454a3d2ca < 921e2baa626d1504bf30295816aaeb90ac8c82f4 ; affected 5aa705039c4fca84575539bfa2b8a28454a3d2ca < a846affa813013204d0cce0cfdaeb99e8fcce188 ; affected 5aa705039c4fca84575539bfa2b8a28454a3d2ca < 7a450460687919e79b5f8503bdeb13ecf4cca311 ; affected 5aa705039c4fca84575539bfa2b8a28454a3d2ca < bffbbfcbd9393e315a7a4286dcd70e875265db9a ; affected 5aa705039c4fca84575539bfa2b8a28454a3d2ca < 8e065a1602511282fc0da2dc89445e0eb71a681c |
| Linux · Linux | affected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.57 ≤ 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 |