CVE-2026-98902: md/raid5: let stripe batch bm_seq comparison wrap-safe
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
md/raid5: let stripe batch bm_seq comparison wrap-safe
Once the 32-bit seq wraps, a newer bm_seq can look smaller than old, so .. covert to wrap-safe calculate way.
The Linux kernel CVE team has assigned CVE-2026-98902 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.271 with commit 647c7289a3960118e249c0a53da6f1ebba1e47a3 Fixed in 5.15.222 with commit ffdd3aee932fc293456678f6b0200ffe9bf12a6d Fixed in 6.1.189 with commit 628b14d0744bd5dfe176ea93559071cdcde14255 Fixed in 6.6.158 with commit 2fdc51228d9a8cad2d727d5aef732cc66fc6d56e Fixed in 6.12.111 with commit c5c89e1a872a84019f674f5107111e6e6b7cc30f Fixed in 6.18.53 with commit cc8eb1715673de850f14376782151f68f73ae3ce Fixed in 7.2 with commit 00e93faf4cea9e8802ac5dfee0952d84fc95c40f
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-98902
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/647c7289a3960118e249c0a53da6f1ebba1e47a3 https://git.kernel.org/stable/c/ffdd3aee932fc293456678f6b0200ffe9bf12a6d https://git.kernel.org/stable/c/628b14d0744bd5dfe176ea93559071cdcde14255 https://git.kernel.org/stable/c/2fdc51228d9a8cad2d727d5aef732cc66fc6d56e https://git.kernel.org/stable/c/c5c89e1a872a84019f674f5107111e6e6b7cc30f https://git.kernel.org/stable/c/cc8eb1715673de850f14376782151f68f73ae3ce https://git.kernel.org/stable/c/00e93faf4cea9e8802ac5dfee0952d84fc95c40f