CVE Database
/

CVE-2026-46161

Back to search

CVE-2026-46161

Published: May 28, 2026

Modified: Jun 1, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
475901aff15841fb0a81e7546517407779a9b061 - < 0b43a70394ce492274e67463326be03e0a9897c5
affected
475901aff15841fb0a81e7546517407779a9b061 - < c716ab3034f84f8a6c226814247b8c5ac9f95da1
affected
475901aff15841fb0a81e7546517407779a9b061 - < 553e32adfa1a96b217651139a3f8c3b92b9984ac
affected
475901aff15841fb0a81e7546517407779a9b061 - < 4af2e558e6fdfb972c61350653fd55d1f62b60a5
affected
475901aff15841fb0a81e7546517407779a9b061 - < 9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda

+3 more versions

Linux

Linux

affected
3.9
unaffected
0 - < 3.9
unaffected
5.10.258 - <= 5.10.*
unaffected
5.15.209 - <= 5.15.*
unaffected
6.1.175 - <= 6.1.*

+5 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now