{
    "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-11-30T13:27:40.642Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:27:40.642Z"
            },
            "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": [
                {
                    "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"
            }
        }
    }
}