# CVE-2026-98390: x86/amd\_node: Avoid divide by zero on virtualized systems

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-14T13:25:54.905Z
- **Modified:** 2026-10-19T10:18:42.317Z

## Who should check

- Anyone running Linux \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 9273a90465d58b82aca4bea71451ef6bee084928; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 94e984d8858a3228952b02f84e66610961098cc2; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 72bd92bd8190d7869ecb462649ca40f297822a33; c4ad899a33198ab6335732c769835d035e66894a; \>= 6.17.8, \< 6.18
- Anyone running Linux 6.18

## Description

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. \]

## Affected and fixed versions

- Linux: \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 9273a90465d58b82aca4bea71451ef6bee084928; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 94e984d8858a3228952b02f84e66610961098cc2; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 72bd92bd8190d7869ecb462649ca40f297822a33; c4ad899a33198ab6335732c769835d035e66894a; \>= 6.17.8, \< 6.18 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 6.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98390. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98390.md
Affected: Linux >= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, < 9273a90465d58b82aca4bea71451ef6bee084928; >= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, < 94e984d8858a3228952b02f84e66610961098cc2; >= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, < 72bd92bd8190d7869ecb462649ca40f297822a33; c4ad899a33198ab6335732c769…
Fixed in: Linux 9273a90465d58b82aca4bea71451ef6bee084928, Linux 94e984d8858a3228952b02f84e66610961098cc2, Linux 72bd92bd8190d7869ecb462649ca40f297822a33, Linux 6.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98390 being exploited?

There is no confirmed exploitation: CVE-2026-98390 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98390?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98390?

Linux \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 9273a90465d58b82aca4bea71451ef6bee084928; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 94e984d8858a3228952b02f84e66610961098cc2; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 72bd92bd8190d7869ecb462649ca40f297822a33; c4ad899a33198ab6335732c769835d035e66894a; \>= 6.17.8, \< 6.18; Linux 6.18.

### Is there a fix for CVE-2026-98390?

Yes. Fixed in Linux 9273a90465d58b82aca4bea71451ef6bee084928, Linux 94e984d8858a3228952b02f84e66610961098cc2, Linux 72bd92bd8190d7869ecb462649ca40f297822a33, Linux 6.18. Upgrade Linux to 6.18 or later.

### How do I check if I'm affected by CVE-2026-98390?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9273a90465d58b82aca4bea71451ef6bee084928>
- other: <https://git.kernel.org/stable/c/94e984d8858a3228952b02f84e66610961098cc2>
- other: <https://git.kernel.org/stable/c/72bd92bd8190d7869ecb462649ca40f297822a33>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98390>

HTML: <https://flawdb.com/CVE-2026-98390> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98390>
