CVE-2026-98390
x86/amd_node: Avoid divide by zero on virtualized systems
Reported by linux · Published October 14, 2026
In the Linux kernel, the following vulnerability has been resolved: x86/amd_node: Avoid divide by zero on virtualized systems On a virtualized system, the number of nodes does not have a relationship to the number of roots. A Xen PVH dom0 can calculate roots_per_node as 0, which crashes with a divide by zero in: if (count++ % roots_per_node) because the underlying topology code on Xen ends up making num_nodes 2 and num_roots 1 and the integer division result is 0. The issue is seen with Xen, but it could affect other systems. Set roots_per_node to 1 in this case. Print a firmware bug when this is performed for non-virtualized systems. [ bp: Massage commit message. ]
EPSS 0.20% · 10.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-livepatch-6.18.54-121.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| Linux | Linux | 94e984d8858a3228952b02f84e66610961098cc2, 9273a90465d58b82aca4bea71451ef6bee084928, 72bd92bd8190d7869ecb462649ca40f297822a33, 6.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb |
| Linux | Linux | 6.18, 0, 6.18.53 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| Linux | Linux | 0, 6.18, 7.2.7 |
| linux | linux_kernel | 6.18, 6.18, 6.17.8 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| Linux | Linux kernel | |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
Timeline
- Oct 14, 2026 Coalition ESS Score
- Oct 14, 2026 CVE Published
- Oct 15, 2026 EPSS Score (5 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98390
vulnetix vdb fixes CVE-2026-98390
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-98390/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart