{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139076","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.912Z","datePublished":"2026-11-30T13:27:40.642Z","dateUpdated":"2026-12-01T05:41:01.587Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:41:01.587Z"},"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."}],"metrics":[{"cvssV3_1":{"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,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The free comes from the attacker's own close() of a nouveau render-node fd (nouveau_drm_postclose -> nouveau_cli_fini -> nouveau_vmm_fini -> nouveau_svmm_fini). The use comes from GPU replayable faults raised by the attacker's own channel and handled in the nouveau_svm_fault worker. No remote data reaches either side.\nAC:H - nouveau_svm.c is only built with CONFIG_DRM_NOUVEAU_SVM (EXPERIMENTAL, default n, depends on STAGING; unset in Debian and Ubuntu nvidia configs), and nouveau_svm_init() bails on GPUs newer than Pascal. The race itself is attacker-driven: a FUSE-backed VMA stalls hmm_range_fault, and close finishes after nouveau_channel_idle's 15 s timeout.\nPR:L - DRM_IOCTL_NOUVEAU_SVM_INIT, CHANNEL_ALLOC and GEM_PUSHBUF are all DRM_RENDER_ALLOW with no capability check. Any user who can open /dev/dri/renderD* (seat or render-group user) can create the svmm, join a channel to it, cause GPU faults and close the fd.\nUI:N - The attacker's own process does everything: SVM_INIT, channel alloc, pushbuf submission that faults on SVM addresses, the FUSE stall and the fd close. No other user has to act.\nS:U - The freed nouveau_svmm and nouveau_cli are kernel heap objects used by the kernel fault worker. The impact stays inside the kernel's own security authority, with no VM, IOMMU or sandbox boundary crossed.\nC:H - After the free, nouveau_range_fault() reads svmm->vmm from the freed kmalloc object and passes it to nvif_object_ioctl(). If the slot is reclaimed with attacker data, the worker uses an attacker-chosen object pointer, which supports kernel memory disclosure.\nI:H - The worker writes to the freed svmm in mutex_lock(&svmm->mutex). nvif_object_ioctl() then calls through object->client->driver->ioctl on the svmm->vmm pointer, so a reclaimed svmm gives an indirect-call hijack in kworker context.\nA:H - Even without reclaiming the slot, the worker can oops. It can read svmm->vmm after nouveau_svmm_fini() set it to NULL, then dereference object->client near address zero. It can also touch the freed svmm or the kfree'd nouveau_cli through nouveau_svm_range_invalidate()."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_svm.c"],"versions":[{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"7403b7136f67554b1f92b5712ff7cb7b0162a75c","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"bd6ff771664bc245732ef78f922d625b774b41df","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"5b622e541ab68b7a681f9e58e6c3d5497ebd14b0","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"2aad6cf9e6eecd335c423e31a5d8ffeee8eb0f29","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"796a4d6741b99c8a122582359621c43476eb24fe","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"812500ab5bb8100003bbae1391c0ef16c9c3df7d","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"08d221ba875629f92018de668c3c06ca82769b16","status":"affected","versionType":"git"},{"version":"eeaf06ac1a5584e41cf289f8351e446bb131374b","lessThan":"b46ddaf0823405f81e681eb26ec98508f3eb9a07","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_svm.c"],"versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7403b7136f67554b1f92b5712ff7cb7b0162a75c"},{"url":"https://git.kernel.org/stable/c/bd6ff771664bc245732ef78f922d625b774b41df"},{"url":"https://git.kernel.org/stable/c/5b622e541ab68b7a681f9e58e6c3d5497ebd14b0"},{"url":"https://git.kernel.org/stable/c/2aad6cf9e6eecd335c423e31a5d8ffeee8eb0f29"},{"url":"https://git.kernel.org/stable/c/796a4d6741b99c8a122582359621c43476eb24fe"},{"url":"https://git.kernel.org/stable/c/812500ab5bb8100003bbae1391c0ef16c9c3df7d"},{"url":"https://git.kernel.org/stable/c/08d221ba875629f92018de668c3c06ca82769b16"},{"url":"https://git.kernel.org/stable/c/b46ddaf0823405f81e681eb26ec98508f3eb9a07"}],"title":"drm/nouveau/svm: drain fault handler before freeing svmm","x_generator":{"engine":"bippy-1.2.0"}}}}