{"id":"CVE-2026-98390","summary":"x86/amd_node: Avoid divide by zero on virtualized systems","details":"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. ]","modified":"2026-10-16T02:47:57.031007259Z","published":"2026-10-14T13:25:54.905Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98390.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/72bd92bd8190d7869ecb462649ca40f297822a33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9273a90465d58b82aca4bea71451ef6bee084928"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94e984d8858a3228952b02f84e66610961098cc2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98390.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98390"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb"},{"fixed":"9273a90465d58b82aca4bea71451ef6bee084928"},{"fixed":"94e984d8858a3228952b02f84e66610961098cc2"},{"fixed":"72bd92bd8190d7869ecb462649ca40f297822a33"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.17.8"},{"fixed":"6.18"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c4ad899a33198ab6335732c769835d035e66894a"}]}],"versions":["v6.17.13","v6.17.12","v6.17.11","v6.17.10","v6.17.9","v6.17.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98390.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98390.json"}}],"schema_version":"1.9.0"}