In the Linux kernel, the following vulnerability has been resolved:
md/raid10: fix divide-by-zero in setupgeo() with zero farcopies
setupgeo() extracts nearcopies (nc) and farcopies (fc) from the user-provided layout parameter without checking for zero. When fc=0 with the "improved" far set layout selected, 'geo->farset_size = disks / fc' triggers a divide-by-zero.
Validate nc and fc immediately after extraction, returning -1 if either is zero.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46161.json",
"cna_assigner": "Linux"
}