Medium severity · published May 28, 2026
CVE-2026-46161
md/raid10: fix divide-by-zero in setup_geo() with zero far_copies
5.5
CVSS
0.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
3.9.1 before 5.10.258; 5.11 before 5.15.209; 5.16 before 6.1.175; 6.2 before 6.6.140; 6.7 before 6.12.88; 6.13 before 6.18.30; +10 more · source: NVD
LI
Linux · Linux
475901aff15841fb0a81e7546517407779a9b061 before 0b43a70394ce492274e67463326be03e0a9897c5; 475901aff15841fb0a81e7546517407779a9b061 before c716ab3034f84f8a6c226814247b8c5ac9f95da1; 475901aff15841fb0a81e7546517407779a9b061 before 553e32adfa1a96b217651139a3f8c3b92b9984ac; 475901aff15841fb0a81e7546517407779a9b061 before 4af2e558e6fdfb972c61350653fd55d1f62b60a5; 475901aff15841fb0a81e7546517407779a9b061 before 9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda; 475901aff15841fb0a81e7546517407779a9b061 before 913d556e4bd1b56ed822815655b82c7bb54edc51; +3 more · source: vendor