Description
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix NULL pointer dereference in amdgpu_dm_crtc_set_vblank()

amdgpu_dm_crtc_set_vblank() dereferences acrtc_state->stream when
vblank is enabled/queried from DRM_IOCTL_MODE_CRTC_GET_SEQUENCE before
a stream is attached to it.

BUG: kernel NULL pointer dereference, address: 0000000000000008
RIP: amdgpu_dm_crtc_set_vblank+0x6b/0x4d0 [amdgpu]
Call Trace:
drm_vblank_enable
drm_vblank_get
drm_crtc_get_sequence_ioctl
drm_ioctl_kernel
drm_ioctl

Reproduced by running VKCTS with WSI tests enabled on RADV.

Guard the enable path on acrtc_state->stream being non-NULL, matching
the existing checks in this function.

(cherry picked from commit 7b1b31bf6942e6f43509b48da23f8e27269aac39)
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a bug in the AMDGPU display driver where amdgpu_dm_crtc_set_vblank() dereferences a NULL stream pointer when vblank is enabled or queried through DRM_IOCTL_MODE_CRTC_GET_SEQUENCE before a stream has been attached. A NULL pointer dereference at this point triggers a kernel panic, resulting in a system crash and immediate denial of service. This vulnerability arises from a missing null check before accessing acrtc_state->stream and aligns with CWE‑476.

Affected Systems

This issue affects all Linux kernels that incorporate the amdgpu display driver before the commit 7b1b31b. Any system running an unpatched kernel version with an AMDGPU device is susceptible. The attack is limited to systems where a user or process can access the GPU device nodes, typically exposed as /dev/dri/card*.

Risk and Exploitability

The EPSS score is not available and there is no CVSS score listed, and the vulnerability is not in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is local privilege via the DRM_IOCTL_MODE_CRTC_GET_SEQUENCE ioctl, which requires access to a GPU device node. If an attacker can send this ioctl, they can provoke a kernel crash, causing a denial of service. No active exploitation has been reported, but the lack of a null guard means a kernel panic is guaranteed when the condition is met.

Generated by OpenCVE AI on August 26, 2026 at 16:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit 7b1b31b, bringing the amdgpu driver in the latest stable release.
  • Restrict write and read permissions on GPU device nodes (/dev/dri/card*) to a trusted group or user to limit who can invoke DRM_IOCTL_MODE_CRTC_GET_SEQUENCE.
  • Optionally, apply the patch manually by pulling the specific commit changes and rebuilding the kernel to ensure the null pointer check is present.

Generated by OpenCVE AI on August 26, 2026 at 16:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix NULL pointer dereference in amdgpu_dm_crtc_set_vblank() amdgpu_dm_crtc_set_vblank() dereferences acrtc_state->stream when vblank is enabled/queried from DRM_IOCTL_MODE_CRTC_GET_SEQUENCE before a stream is attached to it. BUG: kernel NULL pointer dereference, address: 0000000000000008 RIP: amdgpu_dm_crtc_set_vblank+0x6b/0x4d0 [amdgpu] Call Trace: drm_vblank_enable drm_vblank_get drm_crtc_get_sequence_ioctl drm_ioctl_kernel drm_ioctl Reproduced by running VKCTS with WSI tests enabled on RADV. Guard the enable path on acrtc_state->stream being non-NULL, matching the existing checks in this function. (cherry picked from commit 7b1b31bf6942e6f43509b48da23f8e27269aac39)
Title drm/amd/display: Fix NULL pointer dereference in amdgpu_dm_crtc_set_vblank()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:37:15.168Z

Reserved: 2026-08-26T14:34:25.765Z

Link: CVE-2026-80542

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:08.540

Modified: 2026-08-26T15:17:08.540

Link: CVE-2026-80542

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:00:04Z

Weaknesses

No weakness.