{"id":"CVE-2026-139076","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:15.073","lastModified":"2026-12-01T06:17:33.760","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/svm: drain fault handler before freeing svmm\n\nThe SVM fault handler nouveau_svm_fault() looks up each fault's\nnouveau_svmm under svm->mutex, caches it in the fault array, then drops\nsvm->mutex and dereferences the svmm across blocking faults\n(mmu_interval_notifier_insert(), hmm_range_fault()).\n\nnouveau_svmm is not refcounted. On DRM file close nouveau_svmm_fini() ->\nmmu_notifier_put() frees it asynchronously via call_srcu() without\nwaiting for the handler, and mmget_not_zero() pins the mm, not the svmm.\nflush_work() on the fault buffer otherwise runs only at device removal\nand suspend, never on close, so a fault handled concurrently with a close\ncan dereference a freed svmm.\n\nThe instance is already unlinked by nouveau_svmm_part() earlier in the\nsame close, so no new fault can resolve to it. Drain the handler in\nnouveau_svmm_fini() before the free, guarding the flush with a NULL check\non drm->svm: on device teardown nouveau_svm_fini() runs first and frees\ndrm->svm (NULL) after blocking the notify and flushing the buffer, so the\nhandler is already drained; on per-client close drm->svm is alive and the\nflush runs."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/nouveau/nouveau_svm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"7403b7136f67554b1f92b5712ff7cb7b0162a75c","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"bd6ff771664bc245732ef78f922d625b774b41df","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"5b622e541ab68b7a681f9e58e6c3d5497ebd14b0","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"2aad6cf9e6eecd335c423e31a5d8ffeee8eb0f29","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"796a4d6741b99c8a122582359621c43476eb24fe","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"812500ab5bb8100003bbae1391c0ef16c9c3df7d","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"08d221ba875629f92018de668c3c06ca82769b16","versionType":"git","status":"affected"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"b46ddaf0823405f81e681eb26ec98508f3eb9a07","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/nouveau/nouveau_svm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.0,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/08d221ba875629f92018de668c3c06ca82769b16","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2aad6cf9e6eecd335c423e31a5d8ffeee8eb0f29","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5b622e541ab68b7a681f9e58e6c3d5497ebd14b0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7403b7136f67554b1f92b5712ff7cb7b0162a75c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/796a4d6741b99c8a122582359621c43476eb24fe","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/812500ab5bb8100003bbae1391c0ef16c9c3df7d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b46ddaf0823405f81e681eb26ec98508f3eb9a07","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bd6ff771664bc245732ef78f922d625b774b41df","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}