Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
689389a06ce79fdced85b5115717f71c71e623e0 to < 80eaeae0e4b1ed2418fd2b9088238651fb51df69affected689389a06ce79fdced85b5115717f71c71e623e0 to < 8719aa0f57955fd641f952d16e02fc6b4934c6e3affected689389a06ce79fdced85b5115717f71c71e623e0 to < 029b363c9b690613141338436ac91366b1928af2affected689389a06ce79fdced85b5115717f71c71e623e0 to < 20fb582c92fd64e5c8bd83c6176264b2794603b7affected689389a06ce79fdced85b5115717f71c71e623e0 to < 811545e0926d02a6a0b1a1258bb5544777c164d4affected
Linux Linux
Default version status: affected
4.12affected0 to < 4.12unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/80eaeae0e4b1ed2418fd2b9088238651fb51df69 ↗
- https://git.kernel.org/stable/c/8719aa0f57955fd641f952d16e02fc6b4934c6e3 ↗
- https://git.kernel.org/stable/c/029b363c9b690613141338436ac91366b1928af2 ↗
- https://git.kernel.org/stable/c/20fb582c92fd64e5c8bd83c6176264b2794603b7 ↗
- https://git.kernel.org/stable/c/811545e0926d02a6a0b1a1258bb5544777c164d4 ↗