Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.9.1, < 5.10.258 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/0b43a70394ce492274e67463326be03e0a9897c5Patch
- https://git.kernel.org/stable/c/4af2e558e6fdfb972c61350653fd55d1f62b60a5Patch
- https://git.kernel.org/stable/c/553e32adfa1a96b217651139a3f8c3b92b9984acPatch
- https://git.kernel.org/stable/c/913d556e4bd1b56ed822815655b82c7bb54edc51Patch
- https://git.kernel.org/stable/c/9aa6d860b0930e2f72795665c42c44252a558a0cPatch
- https://git.kernel.org/stable/c/9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cdaPatch
- https://git.kernel.org/stable/c/c716ab3034f84f8a6c226814247b8c5ac9f95da1Patch
- https://git.kernel.org/stable/c/f9ddb621b2325eb69c95692958daf2bab4dea2c4Patch
FAQ
What is CVE-2026-46161?
CVE-2026-46161 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 t...
How severe is CVE-2026-46161?
CVE-2026-46161 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-46161?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.