<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 19:13:24 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98002 — iommu/amd: Fix ineffective error check in nested domain allocation</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98002</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;iommu/amd: Fix ineffective error check in nested domain allocation&lt;/p&gt;
&lt;p&gt;amd_iommu_pdom_id_alloc() returns an int: a domain ID on success, or the
negative errno from ida_alloc_range() when the ID space is exhausted or
memory is short.  amd_iommu_alloc_domain_nested() stores that return value
in gdom_info-&amp;gt;hdom_id, which is a u32, and only then tests it:&lt;/p&gt;
&lt;p&gt;gdom_info-&amp;gt;hdom_id = amd_iommu_pdom_id_alloc();
	if (gdom_info-&amp;gt;hdom_id &amp;lt;= 0) {&lt;/p&gt;
&lt;p&gt;The assignment discards the sign, so -ENOSPC becomes 0xffffffe4 and the
test never fires.  The nested domain is then set up with a host domain ID
that was never allocated, instead of the allocation failing with -ENOSPC.&lt;/p&gt;
&lt;p&gt;Keep the value in an int, test it there, and store it only once it is
known to be valid, which is what the other amd_iommu_pdom_id_alloc()
callers already do.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;iommu/amd: Fix ineffective error check in nested domain allocation&lt;/p&gt;
&lt;p&gt;amd_iommu_pdom_id_alloc() returns an int: a domain ID on success, or the
negative errno from ida_alloc_range() when the ID space is exhausted or
memory is short.  amd_iommu_alloc_domain_nested() stores that return value
in gdom_info-&amp;gt;hdom_id, which is a u32, and only then tests it:&lt;/p&gt;
&lt;p&gt;gdom_info-&amp;gt;hdom_id = amd_iommu_pdom_id_alloc();
	if (gdom_info-&amp;gt;hdom_id &amp;lt;= 0) {&lt;/p&gt;
&lt;p&gt;The assignment discards the sign, so -ENOSPC becomes 0xffffffe4 and the
test never fires.  The nested domain is then set up with a host domain ID
that was never allocated, instead of the allocation failing with -ENOSPC.&lt;/p&gt;
&lt;p&gt;Keep the value in an int, test it there, and store it only once it is
known to be valid, which is what the other amd_iommu_pdom_id_alloc()
callers already do.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98002</guid>
    </item>
  </channel>
</rss>
