CVE-2026-46161
Analyzed
Analyzed - Analysis Complete
Linux kernel md/raid10 divide-by-zero in setup_geo
Publication date: 2026-05-28
Last updated on: 2026-06-09
Assigner: kernel.org
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 3.9 |
| linux | linux_kernel | 7.1 |
| linux | linux_kernel | From 6.13 (inc) to 6.18.30 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.175 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.209 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 7.0.7 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.88 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.140 (exc) |
| linux | linux_kernel | From 3.9.1 (inc) to 5.10.258 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-369 | The product divides a value by zero. |