Linux
md/raid1,raid10: fix error-path detection with md_cloned_bio()
In the Linux kernel, the following vulnerability has been resolved: md/raid1,raid10: fix error-path detection with md_cloned_bio() Detect the error path using md_cloned_bio() instead of relying on r1_bio in raid1 or r10_bio->read_slot in raid10, which may be NULL or -1 after splitting and resubmitting a failed bio. As a result, the error path may not be recognized and memory allocations can incorrectly use GFP_NOIO instead of (GFP_NOIO | __GFP_HIGH), which can lead to a deadlock under memory pressure.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 689389a06ce79fdced85b5115717f71c71e623e0, < 80eaeae0e4b1ed2418fd2b9088238651fb51df69
- >= 689389a06ce79fdced85b5115717f71c71e623e0, < 8719aa0f57955fd641f952d16e02fc6b4934c6e3
- >= 689389a06ce79fdced85b5115717f71c71e623e0, < 029b363c9b690613141338436ac91366b1928af2
- >= 689389a06ce79fdced85b5115717f71c71e623e0, < 20fb582c92fd64e5c8bd83c6176264b2794603b7
- >= 689389a06ce79fdced85b5115717f71c71e623e0, < 811545e0926d02a6a0b1a1258bb5544777c164d4
Fixed in 80eaeae0e4b1ed2418fd2b9088238651fb51df69, 8719aa0f57955fd641f952d16e02fc6b4934c6e3, 029b363c9b690613141338436ac91366b1928af2, 20fb582c92fd64e5c8bd83c6176264b2794603b7, 811545e0926d02a6a0b1a1258bb5544777c164d4
- 4.12
Fixed in 0, 6.6.160, 6.12.114, 6.18.57, 7.1.5, 7.2
Mitigation
Upgrade Linux to 80eaeae0e4b1ed2418fd2b9088238651fb51df69 or 8719aa0f57955fd641f952d16e02fc6b4934c6e3 or 029b363c9b690613141338436ac91366b1928af2 or 20fb582c92fd64e5c8bd83c6176264b2794603b7 or 811545e0926d02a6a0b1a1258bb5544777c164d4 or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.114 or 6.18.57 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.