VYPR
Medium severity5.5NVD Advisory· Published May 28, 2026· Updated Jun 9, 2026

CVE-2026-46161

CVE-2026-46161

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

12
  • Linux/Kernel11 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 10 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=3.9.1,<5.10.258
    • cpe:2.3:o:linux:linux_kernel:3.9:-:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc5:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc6:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc7:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:3.9:rc8:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
    • (no CPE)

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.