{"id":"CVE-2026-98390","aliases":["CVE-2026-98390"],"related":[],"kind":"vulnerability","state":"published","title":"x86/amd_node: Avoid divide by zero on virtualized systems","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/amd_node: Avoid divide by zero on virtualized systems\n\nOn a virtualized system, the number of nodes does not have a relationship to\nthe number of roots.  A Xen PVH dom0 can calculate roots_per_node as 0, which\ncrashes with a divide by zero in:\n\n  if (count++ % roots_per_node)\n\nbecause the underlying topology code on Xen ends up making num_nodes\n2 and num_roots 1 and the integer division result is 0.\n\nThe issue is seen with Xen, but it could affect other systems.\n\nSet roots_per_node to 1 in this case. Print a firmware bug when this is\nperformed for non-virtualized systems.\n\n  [ bp: Massage commit message. ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/amd_node: Avoid divide by zero on virtualized systems\n\nOn a virtualized system, the number of nodes does not have a relationship to\nthe number of roots.  A Xen PVH dom0 can calculate roots_per_node as 0, which\ncrashes with a divide by zero in:\n\n  if (count++ % roots_per_node)\n\nbecause the underlying topology code on Xen ends up making num_nodes\n2 and num_roots 1 and the integer division result is 0.\n\nThe issue is seen with Xen, but it could affect other systems.\n\nSet roots_per_node to 1 in this case. Print a firmware bug when this is\nperformed for non-virtualized systems.\n\n  [ bp: Massage commit message. ]","source":"cvelist"}],"published":"2026-10-14T13:25:54.905Z","modified":"2026-10-19T10:18:42.317Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb","fixed":"9273a90465d58b82aca4bea71451ef6bee084928","status":"affected"},{"type":"git","introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb","fixed":"94e984d8858a3228952b02f84e66610961098cc2","status":"affected"},{"type":"git","introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb","fixed":"72bd92bd8190d7869ecb462649ca40f297822a33","status":"affected"},{"type":"git","version":"c4ad899a33198ab6335732c769835d035e66894a","status":"affected"},{"type":"semver","introduced":"6.17.8","fixed":"6.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9273a90465d58b82aca4bea71451ef6bee084928","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94e984d8858a3228952b02f84e66610961098cc2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72bd92bd8190d7869ecb462649ca40f297822a33","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98390","url":"https://www.cve.org/CVERecord?id=CVE-2026-98390","licence":"CVE Terms of Use","modified":"2026-10-19T09:18:41.175Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98390","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98390","licence":"Public domain","modified":"2026-10-19T10:18:42.317Z"}],"updatedAt":"2026-11-25T22:59:44.632Z","epss":{"score":0.00203,"percentile":0.10869,"date":"2026-12-01T12:00:22.000Z"}}