# CVE-2026-139076

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139076/
- Yayımlanma: 2026-11-30T17:18:15+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139076)
