<?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 14:29:30 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68102 — drm/amdgpu: fix aperture mapping leak</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68102</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;drm/amdgpu: fix aperture mapping leak&lt;/p&gt;
&lt;p&gt;amdgpu_pci_remove() calls drm_dev_unplug() before invoking the driver
fini routines. This causes drm_dev_enter() in amdgpu_ttm_fini() to
always return false, so iounmap(aper_base_kaddr) never runs on normal
driver unload, leaving an orphaned entry in the x86 PAT interval tree.&lt;/p&gt;
&lt;p&gt;On connected_to_cpu hardware, the aperture is mapped write-back (WB) via
ioremap_cache(). On reload, IP discovery calls memremap(..., MEMREMAP_WC)
over the same range. The WC vs WB conflict causes:&lt;/p&gt;
&lt;p&gt;ioremap error for 0x..., requested 0x1, got 0x0
  amdgpu: discovery failed: -2&lt;/p&gt;
&lt;p&gt;Fix by switching to devres-managed mappings so cleanup is guaranteed
regardless of drm_dev_enter() state:&lt;/p&gt;
&lt;p&gt;- connected_to_cpu path: devm_memremap(MEMREMAP_WB). For
  IORESOURCE_SYSTEM_RAM ranges this takes the try_ram_remap() shortcut,
  returning __va(offset) from the existing kernel direct map. No new
  ioremap VA or PAT entry is created, so there is nothing to orphan.&lt;/p&gt;
&lt;p&gt;- dGPU path: devm_ioremap_wc() registers iounmap() as a devres action,
  guaranteeing cleanup at device_del() time.&lt;/p&gt;
&lt;p&gt;Also remove iounmap(aper_base_kaddr) from amdgpu_device_unmap_mmio()
since the mapping is now devres-owned.&lt;/p&gt;
&lt;p&gt;v2: Remove redundant x86_64 guard (Lijo)&lt;/p&gt;
&lt;p&gt;(cherry picked from commit d871e99879cb5fd1fa798b006b4888887e63a17a)&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;drm/amdgpu: fix aperture mapping leak&lt;/p&gt;
&lt;p&gt;amdgpu_pci_remove() calls drm_dev_unplug() before invoking the driver
fini routines. This causes drm_dev_enter() in amdgpu_ttm_fini() to
always return false, so iounmap(aper_base_kaddr) never runs on normal
driver unload, leaving an orphaned entry in the x86 PAT interval tree.&lt;/p&gt;
&lt;p&gt;On connected_to_cpu hardware, the aperture is mapped write-back (WB) via
ioremap_cache(). On reload, IP discovery calls memremap(..., MEMREMAP_WC)
over the same range. The WC vs WB conflict causes:&lt;/p&gt;
&lt;p&gt;ioremap error for 0x..., requested 0x1, got 0x0
  amdgpu: discovery failed: -2&lt;/p&gt;
&lt;p&gt;Fix by switching to devres-managed mappings so cleanup is guaranteed
regardless of drm_dev_enter() state:&lt;/p&gt;
&lt;p&gt;- connected_to_cpu path: devm_memremap(MEMREMAP_WB). For
  IORESOURCE_SYSTEM_RAM ranges this takes the try_ram_remap() shortcut,
  returning __va(offset) from the existing kernel direct map. No new
  ioremap VA or PAT entry is created, so there is nothing to orphan.&lt;/p&gt;
&lt;p&gt;- dGPU path: devm_ioremap_wc() registers iounmap() as a devres action,
  guaranteeing cleanup at device_del() time.&lt;/p&gt;
&lt;p&gt;Also remove iounmap(aper_base_kaddr) from amdgpu_device_unmap_mmio()
since the mapping is now devres-owned.&lt;/p&gt;
&lt;p&gt;v2: Remove redundant x86_64 guard (Lijo)&lt;/p&gt;
&lt;p&gt;(cherry picked from commit d871e99879cb5fd1fa798b006b4888887e63a17a)&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68102</guid>
    </item>
  </channel>
</rss>
