<?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 18:59:22 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139075 — drm/nouveau: disable the fence uevent work instead of just cancelling it</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139075</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: disable the fence uevent work instead of just cancelling it&lt;/p&gt;
&lt;p&gt;nouveau_fence_context_del() drains the uevent work while the event that
feeds it is still armed:&lt;/p&gt;
&lt;p&gt;cancel_work_sync(&amp;amp;fctx-&amp;gt;uevent_work);
	nouveau_fence_context_kill(fctx, 0);
	nvif_event_dtor(&amp;amp;fctx-&amp;gt;event);&lt;/p&gt;
&lt;p&gt;nouveau_fence_wait_uevent_handler() queues the work unconditionally:&lt;/p&gt;
&lt;p&gt;schedule_work(&amp;amp;fctx-&amp;gt;uevent_work);
	return NVIF_EVENT_KEEP;&lt;/p&gt;
&lt;p&gt;so a non-stall interrupt arriving after cancel_work_sync() has returned
re-arms the work that was just drained.  The window closes in two steps,
neither of which is the drain.  The kill blocks the event when the last
fence holding a notify_ref is signalled, which reaches
atomic_xchg(&amp;amp;ntfy-&amp;gt;allowed, 0) (nvkm/core/event.c:104), and
nvkm_event_ntfy() skips a ntfy that is not allowed (:183).  That stops
further handlers from starting, but not one that is already inside
nvkm_event_ntfy(): the event is created with wait = false
(nouveau_fence.c:201), so nvkm_event_ntfy_block_() leaves it on the list
and never takes event-&amp;gt;list_lock.  Only nvif_event_dtor() waits that one
out: nvkm_event_ntfy_del() (:141) goes through nvkm_event_ntfy_remove(),
which takes write_lock_irq() on that same list_lock (:84).&lt;/p&gt;
&lt;p&gt;Either way the re-arm happens after the drain, and the caller drops its
reference immediately afterwards, for example nv84_fence_context_del():&lt;/p&gt;
&lt;p&gt;nouveau_fence_context_del(&amp;amp;fctx-&amp;gt;base);
	chan-&amp;gt;fence = NULL;
	n…&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: disable the fence uevent work instead of just cancelling it&lt;/p&gt;
&lt;p&gt;nouveau_fence_context_del() drains the uevent work while the event that
feeds it is still armed:&lt;/p&gt;
&lt;p&gt;cancel_work_sync(&amp;amp;fctx-&amp;gt;uevent_work);
	nouveau_fence_context_kill(fctx, 0);
	nvif_event_dtor(&amp;amp;fctx-&amp;gt;event);&lt;/p&gt;
&lt;p&gt;nouveau_fence_wait_uevent_handler() queues the work unconditionally:&lt;/p&gt;
&lt;p&gt;schedule_work(&amp;amp;fctx-&amp;gt;uevent_work);
	return NVIF_EVENT_KEEP;&lt;/p&gt;
&lt;p&gt;so a non-stall interrupt arriving after cancel_work_sync() has returned
re-arms the work that was just drained.  The window closes in two steps,
neither of which is the drain.  The kill blocks the event when the last
fence holding a notify_ref is signalled, which reaches
atomic_xchg(&amp;amp;ntfy-&amp;gt;allowed, 0) (nvkm/core/event.c:104), and
nvkm_event_ntfy() skips a ntfy that is not allowed (:183).  That stops
further handlers from starting, but not one that is already inside
nvkm_event_ntfy(): the event is created with wait = false
(nouveau_fence.c:201), so nvkm_event_ntfy_block_() leaves it on the list
and never takes event-&amp;gt;list_lock.  Only nvif_event_dtor() waits that one
out: nvkm_event_ntfy_del() (:141) goes through nvkm_event_ntfy_remove(),
which takes write_lock_irq() on that same list_lock (:84).&lt;/p&gt;
&lt;p&gt;Either way the re-arm happens after the drain, and the caller drops its
reference immediately afterwards, for example nv84_fence_context_del():&lt;/p&gt;
&lt;p&gt;nouveau_fence_context_del(&amp;amp;fctx-&amp;gt;base);
	chan-&amp;gt;fence = NULL;
	n…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139075</guid>
    </item>
  </channel>
</rss>
