{"id":"CVE-2026-72440","aliases":["CVE-2026-72440"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid1: fix writes_pending and barrier reference leaks on write failures","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid1: fix writes_pending and barrier reference leaks on write failures\n\nraid1_make_request() acquires a writes_pending reference with\nmd_write_start() before calling raid1_write_request(). Several failure\npaths in raid1_write_request() complete the bio and return without\nreaching the normal write completion path, causing the corresponding\nmd_write_end() to be skipped.\n\nMake raid1_write_request() return a status indicating whether the write\nrequest was successfully queued. This allows raid1_make_request() to\ncall md_write_end() when raid1_write_request() fails.\n\nAdditionally, if wait_blocked_rdev() fails after wait_barrier()\nsucceeds, the associated barrier reference is not released.\n\nCall allow_barrier() before returning from that path to keep the barrier\naccounting balanced.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid1: fix writes_pending and barrier reference leaks on write failures\n\nraid1_make_request() acquires a writes_pending reference with\nmd_write_start() before calling raid1_write_request(). Several failure\npaths in raid1_write_request() complete the bio and return without\nreaching the normal write completion path, causing the corresponding\nmd_write_end() to be skipped.\n\nMake raid1_write_request() return a status indicating whether the write\nrequest was successfully queued. This allows raid1_make_request() to\ncall md_write_end() when raid1_write_request() fails.\n\nAdditionally, if wait_blocked_rdev() fails after wait_barrier()\nsucceeds, the associated barrier reference is not released.\n\nCall allow_barrier() before returning from that path to keep the barrier\naccounting balanced.","source":"cvelist"}],"published":"2026-08-15T05:56:52.662Z","modified":"2026-10-30T13:19:52.473Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5aa705039c4fca84575539bfa2b8a28454a3d2ca","fixed":"874f54243d881fde1890849000beb88a7880d1ec","status":"affected"},{"type":"git","introduced":"5aa705039c4fca84575539bfa2b8a28454a3d2ca","fixed":"921e2baa626d1504bf30295816aaeb90ac8c82f4","status":"affected"},{"type":"git","introduced":"5aa705039c4fca84575539bfa2b8a28454a3d2ca","fixed":"a846affa813013204d0cce0cfdaeb99e8fcce188","status":"affected"},{"type":"git","introduced":"5aa705039c4fca84575539bfa2b8a28454a3d2ca","fixed":"7a450460687919e79b5f8503bdeb13ecf4cca311","status":"affected"},{"type":"git","introduced":"5aa705039c4fca84575539bfa2b8a28454a3d2ca","fixed":"bffbbfcbd9393e315a7a4286dcd70e875265db9a","status":"affected"},{"type":"git","introduced":"5aa705039c4fca84575539bfa2b8a28454a3d2ca","fixed":"8e065a1602511282fc0da2dc89445e0eb71a681c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/874f54243d881fde1890849000beb88a7880d1ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/921e2baa626d1504bf30295816aaeb90ac8c82f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a846affa813013204d0cce0cfdaeb99e8fcce188","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a450460687919e79b5f8503bdeb13ecf4cca311","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bffbbfcbd9393e315a7a4286dcd70e875265db9a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e065a1602511282fc0da2dc89445e0eb71a681c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T18:50:04.662Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72440","url":"https://www.cve.org/CVERecord?id=CVE-2026-72440","licence":"CVE Terms of Use","modified":"2026-10-30T12:29:25.252Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72440","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72440","licence":"Public domain","modified":"2026-10-30T13:19:52.473Z"}],"updatedAt":"2026-11-25T22:59:33.123Z","epss":{"score":0.00498,"percentile":0.44299,"date":"2026-12-01T12:00:22.000Z"}}