Skip to main content

Linux Kernel nouveau EUVDEUVD-2026-138827

| CVE-2026-139075 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-98cf-r724-xrvm
7.0
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to nouveau DRM device
  2. Delivery
    Open GPU channel/fence context on G84+ chip
  3. Exploit
    Close context racing a non-stall interrupt
  4. Execution
    Interrupt re-arms uevent work after drain
  5. Persist
    fctx kfree()'d while work still queued
  6. Impact
    Kernel use-after-free / memory corruption

Vulnerability Assessment

Exploitation Conditions

Requires: (1) local access to the nouveau DRM device on an NVIDIA GPU from G84 onward with priv->uevent set - i.e. the nv84_fence_create() path and its nvc0/gv100 derivatives, since pre-G84 chips return before nvif_event_ctor() and never arm the event; and (2) winning a narrow timing race where a non-stall interrupt invokes nouveau_fence_wait_uevent_handler()'s unconditional schedule_work() AFTER cancel_work_sync() has drained the work during nouveau_fence_context_del() teardown, at the moment the last fence_ref drops to zero so fctx is kfree()'d while &fctx->uevent_work is still queued. Limiting factors that reduce realistic risk: the flaw is local-only (no network path), demands precise interrupt-vs-teardown timing (hence AC:H), needs the nouveau driver actively bound to a supported GPU (many systems use the proprietary NVIDIA driver instead), and no user interaction or elevated privilege beyond device access is required. CONFIG_DEBUG_OBJECTS_WORK/FREE merely report the free of the active object; the use-after-free on live memory occurs regardless of those debug options.

Impact

This is a local, high-complexity kernel use-after-free in the nouveau DRM driver, not a remotely weaponizable flaw. The supplied CVSS vector (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0) is internally consistent with the description: AV:L because the attacker needs local access to the GPU/DRM device, AC:H because triggering it means winning a narrow race where a non-stall GPU interrupt re-arms the uevent work after cancel_work_sync() has already drained it during fence-context teardown, and PR:L because access to the device node is required rather than full privilege. The intelligence signals align toward low real-world urgency: EPSS is 0.29% (23rd percentile), there is NO CISA KEV listing, and no public exploit was identified - so this is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week' and a vendor patch is available, which is consistent with a legitimately-fixed kernel bug that merits routine patching rather than emergency action. One signal conflict to flag explicitly: the input Tag labels this 'Information Disclosure,' but the description and the C:H/I:H/A:H impact describe memory corruption from freeing a still-queued work item (a use-after-free, CWE-416), so the real primary risk is kernel memory corruption / denial of service, not disclosure. Net: a real but low-priority, locally-scoped reliability/corruption bug that is hard to exploit deterministically.

Exploit ScenarioDerived

A local user with access to the nouveau DRM device repeatedly opens and tears down GPU fence contexts (channel close) on a G84-or-newer NVIDIA card while GPU activity generates non-stall interrupts, trying to win the race where nouveau_fence_wait_uevent_handler() re-arms the uevent work after cancel_work_sync() has drained it. If the last reference is dropped at that moment, kfree() releases fctx while &fctx->uevent_work is still queued, so the workqueue dereferences freed memory, yielding a kernel use-after-free. No public PoC exists, and the high attack complexity (AC:H) makes reliable triggering difficult.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

A local use-after-free in the Linux kernel's nouveau DRM driver (CVE-2026-139075) lets a user with access to an NVIDIA GPU's nouveau device potentially corrupt or read freed kernel memory, since the fence context is kfree()'d while its embedded uevent work item remains queued. Only GPUs from G84 onward with priv->uevent set - reached through nv84_fence_create() and its nvc0/gv100 derivatives - can hit the path at all, and exploitation requires winning a narrow timing race between a non-stall interrupt and fence-context teardown under AC:H, with the assessed vector being local (AV:L), low privilege (PR:L) and no user interaction. The flaw is not known to be exploited in the wild, no public exploit code has been identified at time of analysis, and EPSS sits at roughly 0.29% (23rd percentile); vendor fixes are available in the stable trees referenced.

RemediationAI

Vendor-released patch: upgrade to Linux 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1 as appropriate for your branch, which replace cancel_work_sync() with disable_work_sync() in nouveau_fence_context_del() so the re-armed work item cannot be queued after the drain; the exact stable commits are 827eb9328eaed831d7cc426ac2705038a40835b6, bf09cf3e05011b77d00c7dd4abca760dd8fff4f4, d45c83c41b2d7cf25dbd9ba44a35ee66aaa23c67, f688ffe4a23ae12d2947e68b10225b208c36022c and fba3e939ed5cb2f1cd255a6bc5b9c1fb921d8587 (see git.kernel.org/stable links and the NVD entry at nvd.nist.gov/vuln/detail/CVE-2026-139075). Since the flaw is only reachable by local users who can open the nouveau DRM device, restricting device node access to trusted local accounts and preferring the vendor-supported driver stack limits exposure until the kernel package is updated; the trigger is a narrow interrupt-vs-teardown race, and no other workaround is described in the available sources.

Affected VersionsENISA

Linux 6.7.6 <6.8
Linux patch: 6.18.63
Linux 39126abc5e20611579602f03b66627d7cd1422f0 <bf09cf3e05011b77d00c7dd4abca760dd8fff4f4
Linux patch: 0
Linux 6.6.18 <6.6.163
Linux patch: 7.3.4
Linux patch: 6.6.163
Linux 39126abc5e20611579602f03b66627d7cd1422f0 <827eb9328eaed831d7cc426ac2705038a40835b6
Linux 39126abc5e20611579602f03b66627d7cd1422f0 <d45c83c41b2d7cf25dbd9ba44a35ee66aaa23c67
Linux patch: 7.4-rc1
Linux cc0037fa592d56e4abb9c7d1c52c4d2dc25cd906 <fba3e939ed5cb2f1cd255a6bc5b9c1fb921d8587
Linux 6.8
Linux 39126abc5e20611579602f03b66627d7cd1422f0 <f688ffe4a23ae12d2947e68b10225b208c36022c
Linux patch: 6.12.117
Linux 985d053f7633d8b539ab1531738d538efac678a9

Affected Packages

euvd linux fix: 6.6.163, 6.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The defect lives in the nvkm/nouveau fence and event notification layer used by the nouveau DRM driver. nouveau_fence_context_del() calls cancel_work_sync(&fctx->uevent_work) before nouveau_fence_context_kill() and nvif_event_dtor(&fctx->event), but nouveau_fence_wait_uevent_handler() unconditionally calls schedule_work(&fctx->uevent_work), so a non-stall interrupt arriving after the drain has returned can re-arm the work item. Blocking the event does not close the window because the event is created with wait = false, so nvkm_event_ntfy() can skip the not-allowed notification while leaving an in-flight handler on the list without taking event->list_lock; only nvif_event_dtor() (via nvkm_event_ntfy_del()/nvkm_event_ntfy_remove()) waits that handler out. If no emitted fences still hold a notify_ref, the caller's subsequent reference drop (kref_put() through nouveau_fence_context_put()) frees fctx immediately, and because &fctx->uevent_work is embedded in that allocation, the workqueue dereferences freed memory when it dequeues the item and nouveau_fence_uevent_work() may then take fctx->lock on it. The upstream fix replaces cancel_work_sync() with disable_work_sync(), which drains the work exactly as before but also increments the work item's disable count so that any attempt to queue it fails and returns false; the alternative of draining a second time after nvif_event_dtor() would also work but needs two synchronisation points. Notably, on live memory the re-armed work has nothing left to do - nouveau_fence_context_kill() empties fctx->pending and sets fctx->killed under fctx->lock, nouveau_fence_emit() returns -ENODEV, and nouveau_fence_update() only calls nvif_event_block() after signalling an entry off that list - so the defect is the access to freed memory itself, not the work's outcome. CONFIG_DEBUG_OBJECTS_WORK and CONFIG_DEBUG_OBJECTS_FREE merely report the kfree() of a still-queued work item as the free of an active object; they are not a prerequisite for the use-after-free.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local device access only (AV:L, PR:L); exploitation hinges on winning a non-attacker-controlled interrupt/teardown race (AC:H); kernel UAF corruption yields high C/I/A, same-scope.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.0 (HIGH)
Patch available
Nov 30, 2026 - 15:04 EUVD
CVE Published
Nov 30, 2026 - 14:18 cve.org
HIGH 7.0
CVE Published
Nov 30, 2026 - 14:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: disable the fence uevent work instead of just cancelling it

nouveau_fence_context_del() drains the uevent work while the event that feeds it is still armed:

cancel_work_sync(&fctx->uevent_work); nouveau_fence_context_kill(fctx, 0); nvif_event_dtor(&fctx->event);

nouveau_fence_wait_uevent_handler() queues the work unconditionally:

schedule_work(&fctx->uevent_work); return NVIF_EVENT_KEEP;

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(&ntfy->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->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).

Either way the re-arm happens after the drain, and the caller drops its reference immediately afterwards, for example nv84_fence_context_del():

nouveau_fence_context_del(&fctx->base); chan->fence = NULL; nouveau_fence_context_free(&fctx->base);

That is a kref_put() on fctx->fence_ref, so the context outlives the teardown only while emitted fences still hold a reference of their own. That is no safety net: whenever none do, the count reaches zero right there and nouveau_fence_context_put() kfree()s fctx while the work is still queued. &fctx->uevent_work is embedded in that allocation, so the workqueue already dereferences freed memory when it picks the item up, and nouveau_fence_uevent_work() can then take fctx->lock on it. With CONFIG_DEBUG_OBJECTS_WORK and CONFIG_DEBUG_OBJECTS_FREE, kfree() of a still-queued work item is reported as the free of an active object.

On live memory the re-armed work has nothing left to do: nouveau_fence_context_kill() empties fctx->pending and sets fctx->killed under fctx->lock, nouveau_fence_emit() then returns -ENODEV rather than queueing anything new, and nouveau_fence_update() only reaches nvif_event_block() if it signalled something off that list. The defect is the access to freed memory, not what the work would have found.

Only chips from G84 on can reach this at all: nouveau_fence_context_new() returns before nvif_event_ctor() when priv->uevent is clear, and nv84_fence_create() is the only place that sets it. nv84_fence_context_del() is the context_del for all of those, because nvc0_fence_create() and gv100_fence_create() build on nv84_fence_create() and override only context_new.

Use disable_work_sync() instead. It drains the work exactly like cancel_work_sync() does, and additionally increments the work item's disable count, after which "any attempt to queue @work will fail and return %false" (kernel/workqueue.c, disable_work()). The handler's schedule_work() then has nothing to re-arm, and the teardown order stays as it is.

Draining a second time after nvif_event_dtor() would close the window as well, and without the newer API: once nvkm_event_ntfy_remove() has returned, no handler can start or still be running, so nothing re-arms the work past that point. disable_work_sync() is preferred here because it needs one synchronisation point instead of two, it keeps the work from being queued at all rather than cleaning up after it, and it is what drm has settled on for this (drm/xe, drm/panthor, drm_pagemap). Blocking the event rather than the work is not an option: fctx->event is created with wait = false, so a handler already inside nvkm_event_ntfy() can still queue the work.

Note for backpor ---truncated---

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's nouveau driver for NVIDIA GPUs could allow a local attacker with low privileges to compromise system integrity, potentially leading to data exposure or system crashes. While no active exploitation has been detected and the EPSS score is low, the high severity rating and availability of a patch warrant immediate remediation to protect critical systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
Linux kernel is ubiquitous but the nouveau open-source NVIDIA driver is a subset of systems
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy