Description
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix divide-by-zero in setup_geo() with zero far_copies setup_geo() extracts near_copies (nc) and far_copies (fc) from the user-provided layout parameter without checking for zero. When fc=0 with the "improved" far set layout selected, 'geo->far_set_size = disks / fc' triggers a divide-by-zero. Validate nc and fc immediately after extraction, returning -1 if either is zero.
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
475901aff15841fb0a81e7546517407779a9b061 to < 0b43a70394ce492274e67463326be03e0a9897c5affected475901aff15841fb0a81e7546517407779a9b061 to < c716ab3034f84f8a6c226814247b8c5ac9f95da1affected475901aff15841fb0a81e7546517407779a9b061 to < 553e32adfa1a96b217651139a3f8c3b92b9984acaffected475901aff15841fb0a81e7546517407779a9b061 to < 4af2e558e6fdfb972c61350653fd55d1f62b60a5affected475901aff15841fb0a81e7546517407779a9b061 to < 9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cdaaffected475901aff15841fb0a81e7546517407779a9b061 to < 913d556e4bd1b56ed822815655b82c7bb54edc51affected475901aff15841fb0a81e7546517407779a9b061 to < f9ddb621b2325eb69c95692958daf2bab4dea2c4affected475901aff15841fb0a81e7546517407779a9b061 to < 9aa6d860b0930e2f72795665c42c44252a558a0caffected
Linux Linux
Default version status: affected
3.9affected0 to < 3.9unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.88 to ≤ 6.12.*unaffected6.18.30 to ≤ 6.18.*unaffected7.0.7 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0b43a70394ce492274e67463326be03e0a9897c5 ↗
- https://git.kernel.org/stable/c/c716ab3034f84f8a6c226814247b8c5ac9f95da1 ↗
- https://git.kernel.org/stable/c/553e32adfa1a96b217651139a3f8c3b92b9984ac ↗
- https://git.kernel.org/stable/c/4af2e558e6fdfb972c61350653fd55d1f62b60a5 ↗
- https://git.kernel.org/stable/c/9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda ↗
- https://git.kernel.org/stable/c/913d556e4bd1b56ed822815655b82c7bb54edc51 ↗
- https://git.kernel.org/stable/c/f9ddb621b2325eb69c95692958daf2bab4dea2c4 ↗
- https://git.kernel.org/stable/c/9aa6d860b0930e2f72795665c42c44252a558a0c ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗