CVE-2026-46161

medium

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.

References

https://git.kernel.org/stable/c/f9ddb621b2325eb69c95692958daf2bab4dea2c4

https://git.kernel.org/stable/c/9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda

https://git.kernel.org/stable/c/9aa6d860b0930e2f72795665c42c44252a558a0c

https://git.kernel.org/stable/c/913d556e4bd1b56ed822815655b82c7bb54edc51

https://git.kernel.org/stable/c/4af2e558e6fdfb972c61350653fd55d1f62b60a5

Details

Source: Mitre, NVD

Published: 2026-05-28

Updated: 2026-05-28

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00018