CVE-2026-46161
md/raid10: fix divide-by-zero in setup_geo() with zero far_copies
Reported by linux · Published May 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel-livepatch-6.12.88-119.157 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-livepatch-6.18.30-61.116 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 475901aff15841fb0a81e7546517407779a9b061, 475901aff15841fb0a81e7546517407779a9b061, 475901aff15841fb0a81e7546517407779a9b061 |
| Linux | Linux | 3.9, 0, 5.10.258 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.88-119.157 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| linux | linux_kernel | 3.9, 3.9, 3.9 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| Linux | Linux | 7.1, 475901aff15841fb0a81e7546517407779a9b061, 475901aff15841fb0a81e7546517407779a9b061 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…and 18 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (15 in total, the first dated here)
- Jun 1, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46161
vulnetix vdb fixes CVE-2026-46161
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46161/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart