<?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 10:45:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68266 — drm/xe: Hold a dma-buf reference for imported BOs</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68266</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/xe: Hold a dma-buf reference for imported BOs&lt;/p&gt;
&lt;p&gt;An imported dma-buf BO is created as a ttm_bo_type_sg BO whose
reservation object is the exporter&amp;#39;s dma_buf-&amp;gt;resv. The importer,
however, only takes a dma-buf reference after a successful
dma_buf_dynamic_attach(). Until then nothing keeps the exporter alive,
so if the exporter is freed while the BO still references its resv, a
later access to that resv is a use-after-free:&lt;/p&gt;
&lt;p&gt;Oops: general protection fault, probably for non-canonical address
        0x6b6b6b6b6b6b6b9c
  Workqueue: ttm ttm_bo_delayed_delete [ttm]
  RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0&lt;/p&gt;
&lt;p&gt;This can be reached on two paths:&lt;/p&gt;
&lt;p&gt;- dma_buf_dynamic_attach() fails, or
 - ttm_bo_init_reserved() fails during BO creation.&lt;/p&gt;
&lt;p&gt;In both cases the BO already has bo-&amp;gt;base.resv pointing at the exporter
resv, and sg BOs are always torn down via ttm_bo_delayed_delete(), which
locks bo-&amp;gt;base.resv asynchronously - potentially after the exporter has
been freed.&lt;/p&gt;
&lt;p&gt;Take the dma-buf reference in xe_bo_init_locked(), before
ttm_bo_init_reserved(), so it also covers a creation failure there, and
release it in xe_ttm_bo_destroy(). The reference is held for the whole
BO lifetime, keeping the shared resv alive on every path.&lt;/p&gt;
&lt;p&gt;v2:
  - Reworked the fix to avoid creating the imported sg BO before
    dma_buf_dynamic_attach() succeeds.
  - Attach with importer_priv == NULL and make invalidate_mappings ignore
    incomplete i…&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/xe: Hold a dma-buf reference for imported BOs&lt;/p&gt;
&lt;p&gt;An imported dma-buf BO is created as a ttm_bo_type_sg BO whose
reservation object is the exporter&amp;#39;s dma_buf-&amp;gt;resv. The importer,
however, only takes a dma-buf reference after a successful
dma_buf_dynamic_attach(). Until then nothing keeps the exporter alive,
so if the exporter is freed while the BO still references its resv, a
later access to that resv is a use-after-free:&lt;/p&gt;
&lt;p&gt;Oops: general protection fault, probably for non-canonical address
        0x6b6b6b6b6b6b6b9c
  Workqueue: ttm ttm_bo_delayed_delete [ttm]
  RIP: 0010:mutex_can_spin_on_owner+0x3f/0xc0&lt;/p&gt;
&lt;p&gt;This can be reached on two paths:&lt;/p&gt;
&lt;p&gt;- dma_buf_dynamic_attach() fails, or
 - ttm_bo_init_reserved() fails during BO creation.&lt;/p&gt;
&lt;p&gt;In both cases the BO already has bo-&amp;gt;base.resv pointing at the exporter
resv, and sg BOs are always torn down via ttm_bo_delayed_delete(), which
locks bo-&amp;gt;base.resv asynchronously - potentially after the exporter has
been freed.&lt;/p&gt;
&lt;p&gt;Take the dma-buf reference in xe_bo_init_locked(), before
ttm_bo_init_reserved(), so it also covers a creation failure there, and
release it in xe_ttm_bo_destroy(). The reference is held for the whole
BO lifetime, keeping the shared resv alive on every path.&lt;/p&gt;
&lt;p&gt;v2:
  - Reworked the fix to avoid creating the imported sg BO before
    dma_buf_dynamic_attach() succeeds.
  - Attach with importer_priv == NULL and make invalidate_mappings ignore
    incomplete i…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68266</guid>
    </item>
  </channel>
</rss>
