Skip to main content
Menu
CVEs

Linux kernel use-after-free in nouveau SVM fault handling

CVE-2026-139076EUVD-2026-138828GHSA-C468-9Q9Q-RPPCPublished November 30, 2026, updated

7.0HighCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Specific setups only

Summary

In the Linux kernel's drm/nouveau SVM fault handling, a fault processed at the same time as a DRM file close can dereference an already-freed nouveau_svmm structure. The fix drains the fault handler before that structure is freed.

Written by a model

Original description

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

drm/nouveau/svm: drain fault handler before freeing svmm

The SVM fault handler nouveau_svm_fault() looks up each fault's nouveau_svmm under svm->mutex, caches it in the fault array, then drops svm->mutex and dereferences the svmm across blocking faults (mmu_interval_notifier_insert(), hmm_range_fault()).

nouveau_svmm is not refcounted. On DRM file close nouveau_svmm_fini() -> 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.

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->svm: on device teardown nouveau_svm_fini() runs first and frees drm->svm (NULL) after blocking the notify and flushing the buffer, so the handler is already drained; on per-client close drm->svm is alive and the flush runs.

Who should check

Teams shipping or running Linux kernels built with CONFIG_DRM_NOUVEAU_SVM on pre-Pascal NVIDIA GPUs using the Nouveau driver

“nouveau_svm.c is only built with CONFIG_DRM_NOUVEAU_SVM”

cve.org

What to do

  1. Check whether your setup matches what the bug needs.

    Linux kernel built with CONFIG_DRM_NOUVEAU_SVM, which is experimental, default off, and depends on STAGING. GPU is Pascal or older; nouveau_svm_init() bails on newer GPUs.
  2. Workaround: The checked facts do not describe a workaround. Because the affected code is only built with an experimental, default-off option, keeping CONFIG_DRM_NOUVEAU_SVM disabled in the kernel configuration limits exposure to this feature.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-139076 (drm/nouveau/svm: drain fault handler before freeing svmm), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-139076 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 5.1
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Linux kernel built with CONFIG_DRM_NOUVEAU_SVM, which is experimental, default off, and depends on STAGING. (source: https://www.cve.org/CVERecord?id=CVE-2026-139076)
- GPU is Pascal or older; nouveau_svm_init() bails on newer GPUs. (source: https://www.cve.org/CVERecord?id=CVE-2026-139076)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-139076 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139076 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/7403b7136f67554b1f92b5712ff7cb7b0162a75c
- https://git.kernel.org/stable/c/bd6ff771664bc245732ef78f922d625b774b41df
- https://git.kernel.org/stable/c/5b622e541ab68b7a681f9e58e6c3d5497ebd14b0
- https://git.kernel.org/stable/c/2aad6cf9e6eecd335c423e31a5d8ffeee8eb0f29
- https://git.kernel.org/stable/c/796a4d6741b99c8a122582359621c43476eb24fe
- https://git.kernel.org/stable/c/812500ab5bb8100003bbae1391c0ef16c9c3df7d
- https://git.kernel.org/stable/c/08d221ba875629f92018de668c3c06ca82769b16
- https://git.kernel.org/stable/c/b46ddaf0823405f81e681eb26ec98508f3eb9a07
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-139076
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139076"}.

Affected versions

cve.now Index

37Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
  • Severity7/10CVSS 7.0
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 87 if added to CISA KEV
  • Would score about 82 if CISA's SSVC rates exploitation active
  • Would score about 47 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now1 day
  3. Record last updated
  4. Posted on X by cve.now

Evidence 10

Questions about CVE-2026-139076

Is CVE-2026-139076 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

The bug is a use-after-free in the Linux kernel's Nouveau SVM fault handler, where the handler can touch memory after it has been freed. The checked facts say this can lead to kernel memory disclosure, an indirect-call hijack in kworker context, or an oops (denial of service).

Source: cve.org

Which versions are affected by CVE-2026-139076?

Linux: version 5.1.

Source: cve.now feed data

Am I affected, and how do I check?

The affected code is built only when the kernel is configured with CONFIG_DRM_NOUVEAU_SVM, which is marked experimental, default off, and dependent on STAGING. The facts also say the feature applies only to Pascal or older GPUs, because nouveau_svm_init() bails out on newer GPUs. To check a system, look at the kernel configuration for CONFIG_DRM_NOUVEAU_SVM and at the GPU generation.

Source: cve.org

How do I fix CVE-2026-139076?

The checked facts do not name a fixed kernel version or patch identifiers, so no upgrade target can be given from them. Consult the Linux kernel stable updates or the distribution's kernel advisory for the fixed release.

Source: cve.org

What if there's no patch?

The checked facts do not describe a workaround. Because the affected code is only built with an experimental, default-off option, keeping CONFIG_DRM_NOUVEAU_SVM disabled in the kernel configuration limits exposure to this feature.

Source: cve.org

No corrections so far. Something wrong on this page? Report an error.