VDB

CVE-2026-46161

CVE-2026-46161 PUBLISHED

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.

PackageEcosystemFixed in
bpftool6.12Amazon Linux1:6.12.88-119.157.amzn2023
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-develAmazon Linux1:6.12.88-119.157.amzn2023
kernel-modules-extraAmazon Linux1:6.1.175-219.357.amzn2023
bpftoolAmazon Linux1:6.1.175-219.357.amzn2023
python3-perf6.12Amazon Linux1:6.12.88-119.157.amzn2023
perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel-livepatch-6.12.88-119.157Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.88-119.157.amzn2023
kernel-develAmazon Linux1:6.1.175-219.357.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.88-119.157.amzn2023

Affected products

VendorProductVersions
LinuxLinux475901aff15841fb0a81e7546517407779a9b061, 475901aff15841fb0a81e7546517407779a9b061, 475901aff15841fb0a81e7546517407779a9b061
LinuxLinux3.9, 0, 5.10.258
amazon:2023bpftool6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel-modules-extra0
amazon:2023bpftool0
amazon:2023python3-perf6.120
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.88-119.1570
amazon:2023kernel6.12-headers0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel6.12-modules-extra0
linuxlinux_kernel3.9, 3.9, 3.9
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
LinuxLinux7.1, 475901aff15841fb0a81e7546517407779a9b061, 475901aff15841fb0a81e7546517407779a9b061
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-modules-extra-common0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›