{"id":29157,"date":"2026-09-25T20:32:00","date_gmt":"2026-09-25T12:32:00","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98002"},"modified":"2026-09-25T20:32:00","modified_gmt":"2026-09-25T12:32:00","slug":"cve-2026-98002","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98002","title":{"rendered":"CVE-2026-98002 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\niommu\/amd: Fix ineffe"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iommu\/amd: Fix ineffective error check in nested domain allocation<\/p>\n<p>amd_iommu_pdom_id_alloc() returns an int: a domain ID on success, or the<br \/>\nnegative errno from ida_alloc_range() when the ID space is exhausted or<br \/>\nmemory is short.  amd_iommu_alloc_domain_nested() stores that return value<br \/>\nin gdom_info-&gt;hdom_id, which is a u32, and only then tests it:<\/p>\n<p>\tgdom_info-&gt;hdom_id = amd_iommu_pdom_id_alloc();<br \/>\n\tif (gdom_info-&gt;hdom_id &lt;= 0) {<\/p>\n<p>The assignment discards the sign, so -ENOSPC becomes 0xffffffe4 and the<br \/>\ntest never fires.  The nested domain is then set up with a host domain ID<br \/>\nthat was never allocated, instead of the allocation failing with -ENOSPC.<\/p>\n<p>Keep the value in an int, test it there, and store it only once it is<br \/>\nknown to be valid, which is what the other amd_iommu_pdom_id_alloc()<br \/>\ncallers already do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iommu\/amd: Fix ineffective error check in nested domain allocation<\/p>\n<p>amd_iommu_pdom_id_alloc() returns an int: a domain ID on succes<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29157","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}