CVE-2026-139073

drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq

nouveau_dp_irq() looks the encoder up and dereferences it in the same
breath, five lines before testing it:

struct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP);
struct nouveau_drm *drm = nouveau_drm(outp->base.base.dev);
...
if (!outp)
return;

find_encoder() walks the connector's possible encoders and returns NULL
when none of them matches the requested type, so the NULL test is not
decoration: it is the author saying this can happen. The initialiser
above it dereferences the same pointer regardless.

The NULL test predates the dereference. commit 773eb04d14a1
("drm/nouveau/disp: expose conn event class") turned nouveau_dp_irq()
into a work callback, and since the drm pointer was no longer passed in
as an argument it was recovered from the encoder in the declaration
block, which put the dereference above the existing test.

Move the drm lookup below the test. No functional change when outp is
non-NULL.

Analysis

AI-generated

Technical impact

The CVE describes a NULL pointer dereference in the nouveau DRM driver. In the function nouveau_dp_irq, the encoder pointer is used before a null check, which can cause the kernel to crash when an invalid encoder is processed. This leads to a system‑wide denial of service, and because the code runs in kernel mode it could also potentially permit privilege escalation if an attacker can trigger the path.

Affected Systems

The bug resides in the Linux kernel's nouveau DRM driver used for NVIDIA GPUs. Any system running a kernel build that contains this driver before the commit that fixes the issue is vulnerable. No specific kernel release numbers are listed, so the risk applies to all affected kernels until the patch is applied. Systems with enabled DP connectors for NVIDIA graphics devices are most likely to exercise the vulnerable code.

Risk and Exploitability

The vulnerability has no published EPSS score and is not listed in the CISA KEV catalog. The CVSS score is not provided, but the nature of a NULL pointer dereference in kernel space indicates a high severity. Exploitation would require local or user‑space access to the device and is considered medium‑to‑high risk once the driver is loaded. Updating to a patched kernel removes the crash; until then, disabling or unbinding the nouveau driver can mitigate the failure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest Linux kernel that includes the nouveau driver patch referenced in the advisory.
  • Reboot the system to load the updated kernel.
  • As a temporary measure, unload the nouveau module with 'modprobe -r nouveau' or disable DP output by setting 'nouveau.modeset=0' in the kernel command line to avoid triggering the buggy code.

Generated by OpenCVE AI on November 30, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq nouveau_dp_irq() looks the encoder up and dereferences it in the same breath, five lines before testing it: struct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP); struct nouveau_drm *drm = nouveau_drm(outp->base.base.dev); ... if (!outp) return; find_encoder() walks the connector's possible encoders and returns NULL when none of them matches the requested type, so the NULL test is not decoration: it is the author saying this can happen. The initialiser above it dereferences the same pointer regardless. The NULL test predates the dereference. commit 773eb04d14a1 ("drm/nouveau/disp: expose conn event class") turned nouveau_dp_irq() into a work callback, and since the drm pointer was no longer passed in as an argument it was recovered from the encoder in the declaration block, which put the dereference above the existing test. Move the drm lookup below the test. No functional change when outp is non-NULL.
Title drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:27 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM