{"api_version":"1","generated_at":"2026-12-01T13:02:58+00:00","cve":"CVE-2026-139073","urls":{"html":"https://cve.report/CVE-2026-139073","api":"https://cve.report/api/cve/CVE-2026-139073.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139073","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139073"},"summary":{"title":"drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: don't dereference outp before checking it in nouveau_dp_irq\n\nnouveau_dp_irq() looks the encoder up and dereferences it in the same\nbreath, five lines before testing it:\n\n\tstruct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP);\n\tstruct nouveau_drm *drm = nouveau_drm(outp->base.base.dev);\n\t...\n\tif (!outp)\n\t\treturn;\n\nfind_encoder() walks the connector's possible encoders and returns NULL\nwhen none of them matches the requested type, so the NULL test is not\ndecoration: it is the author saying this can happen. The initialiser\nabove it dereferences the same pointer regardless.\n\nThe NULL test predates the dereference. commit 773eb04d14a1\n(\"drm/nouveau/disp: expose conn event class\") turned nouveau_dp_irq()\ninto a work callback, and since the drm pointer was no longer passed in\nas an argument it was recovered from the encoder in the declaration\nblock, which put the dereference above the existing test.\n\nMove the drm lookup below the test. No functional change when outp is\nnon-NULL.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:14","updated_at":"2026-11-30 14:18:14"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ddae760f399709fdfbf295a06f8eea557302ad9a","name":"https://git.kernel.org/stable/c/ddae760f399709fdfbf295a06f8eea557302ad9a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1a36ca42836cfd956c2c72f70188028bd39d40ca","name":"https://git.kernel.org/stable/c/1a36ca42836cfd956c2c72f70188028bd39d40ca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2a457374b6d7669f888d8b6baff73e8b963a95ea","name":"https://git.kernel.org/stable/c/2a457374b6d7669f888d8b6baff73e8b963a95ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/998378828857cc20856049b0d1fe6f5b32131659","name":"https://git.kernel.org/stable/c/998378828857cc20856049b0d1fe6f5b32131659","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/843bc34db94bff0612c8294861b156489958897b","name":"https://git.kernel.org/stable/c/843bc34db94bff0612c8294861b156489958897b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139073","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139073","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773eb04d14a11552b2c3953097ed09cde2ab4831 1a36ca42836cfd956c2c72f70188028bd39d40ca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773eb04d14a11552b2c3953097ed09cde2ab4831 2a457374b6d7669f888d8b6baff73e8b963a95ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773eb04d14a11552b2c3953097ed09cde2ab4831 ddae760f399709fdfbf295a06f8eea557302ad9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773eb04d14a11552b2c3953097ed09cde2ab4831 998378828857cc20856049b0d1fe6f5b32131659 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773eb04d14a11552b2c3953097ed09cde2ab4831 843bc34db94bff0612c8294861b156489958897b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/nouveau/nouveau_dp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1a36ca42836cfd956c2c72f70188028bd39d40ca","status":"affected","version":"773eb04d14a11552b2c3953097ed09cde2ab4831","versionType":"git"},{"lessThan":"2a457374b6d7669f888d8b6baff73e8b963a95ea","status":"affected","version":"773eb04d14a11552b2c3953097ed09cde2ab4831","versionType":"git"},{"lessThan":"ddae760f399709fdfbf295a06f8eea557302ad9a","status":"affected","version":"773eb04d14a11552b2c3953097ed09cde2ab4831","versionType":"git"},{"lessThan":"998378828857cc20856049b0d1fe6f5b32131659","status":"affected","version":"773eb04d14a11552b2c3953097ed09cde2ab4831","versionType":"git"},{"lessThan":"843bc34db94bff0612c8294861b156489958897b","status":"affected","version":"773eb04d14a11552b2c3953097ed09cde2ab4831","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/nouveau/nouveau_dp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.2"},{"lessThan":"6.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: don't dereference outp before checking it in nouveau_dp_irq\n\nnouveau_dp_irq() looks the encoder up and dereferences it in the same\nbreath, five lines before testing it:\n\n\tstruct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP);\n\tstruct nouveau_drm *drm = nouveau_drm(outp->base.base.dev);\n\t...\n\tif (!outp)\n\t\treturn;\n\nfind_encoder() walks the connector's possible encoders and returns NULL\nwhen none of them matches the requested type, so the NULL test is not\ndecoration: it is the author saying this can happen. The initialiser\nabove it dereferences the same pointer regardless.\n\nThe NULL test predates the dereference. commit 773eb04d14a1\n(\"drm/nouveau/disp: expose conn event class\") turned nouveau_dp_irq()\ninto a work callback, and since the drm pointer was no longer passed in\nas an argument it was recovered from the encoder in the declaration\nblock, which put the dereference above the existing test.\n\nMove the drm lookup below the test. No functional change when outp is\nnon-NULL."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:27:38.343Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1a36ca42836cfd956c2c72f70188028bd39d40ca"},{"url":"https://git.kernel.org/stable/c/2a457374b6d7669f888d8b6baff73e8b963a95ea"},{"url":"https://git.kernel.org/stable/c/ddae760f399709fdfbf295a06f8eea557302ad9a"},{"url":"https://git.kernel.org/stable/c/998378828857cc20856049b0d1fe6f5b32131659"},{"url":"https://git.kernel.org/stable/c/843bc34db94bff0612c8294861b156489958897b"}],"title":"drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139073","datePublished":"2026-11-30T13:27:38.343Z","dateReserved":"2026-11-30T13:22:15.912Z","dateUpdated":"2026-11-30T13:27:38.343Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:14","lastModifiedDate":"2026-11-30 14:18:14","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139073","Ordinal":"1","Title":"drm/nouveau: don't dereference outp before checking it in nouvea","CVE":"CVE-2026-139073","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139073","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: don't dereference outp before checking it in nouveau_dp_irq\n\nnouveau_dp_irq() looks the encoder up and dereferences it in the same\nbreath, five lines before testing it:\n\n\tstruct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP);\n\tstruct nouveau_drm *drm = nouveau_drm(outp->base.base.dev);\n\t...\n\tif (!outp)\n\t\treturn;\n\nfind_encoder() walks the connector's possible encoders and returns NULL\nwhen none of them matches the requested type, so the NULL test is not\ndecoration: it is the author saying this can happen. The initialiser\nabove it dereferences the same pointer regardless.\n\nThe NULL test predates the dereference. commit 773eb04d14a1\n(\"drm/nouveau/disp: expose conn event class\") turned nouveau_dp_irq()\ninto a work callback, and since the drm pointer was no longer passed in\nas an argument it was recovered from the encoder in the declaration\nblock, which put the dereference above the existing test.\n\nMove the drm lookup below the test. No functional change when outp is\nnon-NULL.","Type":"Description","Title":"drm/nouveau: don't dereference outp before checking it in nouvea"}]}}}