Skip to contentSkip to conversation

CVE-2026-45953: md/raid5: fix IO hang with degraded array with llbitmap

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

md/raid5: fix IO hang with degraded array with llbitmap

When llbitmap bit state is still unwritten, any new write should force rcw, as bitmap_ops->blocks_synced() is checked in handle_stripe_dirtying(). However, later the same check is missing in need_this_block(), causing stripe to deadloop during handling because handle_stripe() will decide to go to handle_stripe_fill(), meanwhile need_this_block() always return 0 and nothing is handled.

The Linux kernel CVE team has assigned CVE-2026-45953 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18 with commit 5ab829f1971dc99f2aac10846c378e67fc875abc and fixed in 6.18.14 with commit 870b9f15867b0e70f3459ef3974b043e8b229690
	Issue introduced in 6.18 with commit 5ab829f1971dc99f2aac10846c378e67fc875abc and fixed in 6.19.4 with commit 28ef299e7a5b81817f8ca8297c2ddff28f5da5e8
	Issue introduced in 6.18 with commit 5ab829f1971dc99f2aac10846c378e67fc875abc and fixed in 7.0 with commit cd1635d844d26471c56c0a432abdee12fc9ad735

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-45953

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/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/870b9f15867b0e70f3459ef3974b043e8b229690
	https://git.kernel.org/stable/c/28ef299e7a5b81817f8ca8297c2ddff28f5da5e8
	https://git.kernel.org/stable/c/cd1635d844d26471c56c0a432abdee12fc9ad735