<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:54:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139076 — drm/nouveau/svm: drain fault handler before freeing svmm</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139076</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/nouveau/svm: drain fault handler before freeing svmm&lt;/p&gt;
&lt;p&gt;The SVM fault handler nouveau_svm_fault() looks up each fault&amp;#39;s
nouveau_svmm under svm-&amp;gt;mutex, caches it in the fault array, then drops
svm-&amp;gt;mutex and dereferences the svmm across blocking faults
(mmu_interval_notifier_insert(), hmm_range_fault()).&lt;/p&gt;
&lt;p&gt;nouveau_svmm is not refcounted. On DRM file close nouveau_svmm_fini() -&amp;gt;
mmu_notifier_put() frees it asynchronously via call_srcu() without
waiting for the handler, and mmget_not_zero() pins the mm, not the svmm.
flush_work() on the fault buffer otherwise runs only at device removal
and suspend, never on close, so a fault handled concurrently with a close
can dereference a freed svmm.&lt;/p&gt;
&lt;p&gt;The instance is already unlinked by nouveau_svmm_part() earlier in the
same close, so no new fault can resolve to it. Drain the handler in
nouveau_svmm_fini() before the free, guarding the flush with a NULL check
on drm-&amp;gt;svm: on device teardown nouveau_svm_fini() runs first and frees
drm-&amp;gt;svm (NULL) after blocking the notify and flushing the buffer, so the
handler is already drained; on per-client close drm-&amp;gt;svm is alive and the
flush runs.&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/nouveau/svm: drain fault handler before freeing svmm&lt;/p&gt;
&lt;p&gt;The SVM fault handler nouveau_svm_fault() looks up each fault&amp;#39;s
nouveau_svmm under svm-&amp;gt;mutex, caches it in the fault array, then drops
svm-&amp;gt;mutex and dereferences the svmm across blocking faults
(mmu_interval_notifier_insert(), hmm_range_fault()).&lt;/p&gt;
&lt;p&gt;nouveau_svmm is not refcounted. On DRM file close nouveau_svmm_fini() -&amp;gt;
mmu_notifier_put() frees it asynchronously via call_srcu() without
waiting for the handler, and mmget_not_zero() pins the mm, not the svmm.
flush_work() on the fault buffer otherwise runs only at device removal
and suspend, never on close, so a fault handled concurrently with a close
can dereference a freed svmm.&lt;/p&gt;
&lt;p&gt;The instance is already unlinked by nouveau_svmm_part() earlier in the
same close, so no new fault can resolve to it. Drain the handler in
nouveau_svmm_fini() before the free, guarding the flush with a NULL check
on drm-&amp;gt;svm: on device teardown nouveau_svm_fini() runs first and frees
drm-&amp;gt;svm (NULL) after blocking the notify and flushing the buffer, so the
handler is already drained; on per-client close drm-&amp;gt;svm is alive and the
flush runs.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139076</guid>
    </item>
  </channel>
</rss>
