<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:48:41.492920+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-139076</id>
    <title>CVE-2026-139076 — drm/nouveau/svm: drain fault handler before freeing svmm</title>
    <updated>2026-12-04T19:48:41.494571+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>drm/nouveau/svm: drain fault handler before freeing svmm</p>
<p>The SVM fault handler nouveau_svm_fault() looks up each fault's
nouveau_svmm under svm-&gt;mutex, caches it in the fault array, then drops
svm-&gt;mutex and dereferences the svmm across blocking faults
(mmu_interval_notifier_insert(), hmm_range_fault()).</p>
<p>nouveau_svmm is not refcounted. On DRM file close nouveau_svmm_fini() -&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.</p>
<p>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-&gt;svm: on device teardown nouveau_svm_fini() runs first and frees
drm-&gt;svm (NULL) after blocking the notify and flushing the buffer, so the
handler is already drained; on per-client close drm-&gt;svm is alive and the
flush runs.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139076"/>
  </entry>
</feed>
