CVE-2026-90401: md: remove REQ_NOWAIT support from raid1/10/456
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
md: remove REQ_NOWAIT support from raid1/10/456
REQ_NOWAIT support in md personalities that can block internally is fundamentally incomplete. While reads can avoid some blocking paths, write requests can still encounter cases where one mirror succeeds while another returns -EAGAIN. At that point md cannot distinguish queue pressure from a real device failure, so it can neither record a bad block nor safely retry the write without REQ_NOWAIT, leaving mirrors with divergent data.
Rather than continue advertising REQ_NOWAIT support for personalities that cannot implement it correctly, remove it from raid1, raid10 and raid456. Keep REQ_NOWAIT for linear and raid0, which only remap bios to their underlying devices; stacked limits will still clear the feature if any component device lacks REQ_NOWAIT support.
The Linux kernel CVE team has assigned CVE-2026-90401 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.17 with commit f51d46d0e7cb5b8494aa534d276a9d8915a2443d and fixed in 7.2.6 with commit 9bb9504e2d8f3d22ef12d51c333dd499f402dc8f Issue introduced in 5.17 with commit f51d46d0e7cb5b8494aa534d276a9d8915a2443d and fixed in 7.3-rc1 with commit 3fe5b7c9fb72ccc29bfd0f955b124892af7e3674 Issue introduced in 5.15.111 with commit 39db562b3fedb93978a7e42dd216b306740959f8
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90401
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/md/md-bitmap.c drivers/md/md-bitmap.h drivers/md/md-linear.c drivers/md/md-llbitmap.c drivers/md/md.c drivers/md/raid0.c drivers/md/raid1-10.c drivers/md/raid1.c drivers/md/raid10.c drivers/md/raid5.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9bb9504e2d8f3d22ef12d51c333dd499f402dc8f https://git.kernel.org/stable/c/3fe5b7c9fb72ccc29bfd0f955b124892af7e3674