# CVE-2026-139076: drm/nouveau/svm: drain fault handler before freeing svmm

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:40.642Z
- Modified: 2026-12-01T06:17:33.760Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from eeaf06ac1a5584e41cf289f8351e446bb131374b before 7403b7136f67554b1f92b5712ff7cb7b0162a75c; from eeaf06ac1a5584e41cf289f8351e446bb131374b before bd6ff771664bc245732ef78f922d625b774b41df; from eeaf06ac1a5584e41cf289f8351e446bb131374b before 5b622e541ab68b7a681f9e58e6c3d5497ebd14b0; from eeaf06ac1a5584e41cf289f8351e446bb131374b before 2aad6cf9e6eecd335c423e31a5d8ffeee8eb0f29; from eeaf06ac1a5584e41cf289f8351e446bb131374b before 796a4d6741b99c8a122582359621c43476eb24fe; from eeaf06ac1a5584e41cf289f8351e446bb131374b before 812500ab5bb8100003bbae1391c0ef16c9c3df7d; from eeaf06ac1a5584e41cf289f8351e446bb131374b before 08d221ba875629f92018de668c3c06ca82769b16; from eeaf06ac1a5584e41cf289f8351e446bb131374b before b46ddaf0823405f81e681eb26ec98508f3eb9a07; 5.1 (not affected: before 5.1; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139076](https://www.cve.org/CVERecord?id=CVE-2026-139076), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139076](https://nvd.nist.gov/vuln/detail/CVE-2026-139076), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139076 · Whole record: https://cve.day/CVE-2026-139076.json · Rebuilt by cve.day 2026-12-01T06:32:16.961Z
