Skip to main content
← All vulnerabilities
CVE-2026-98785

drm/amd/display: check dc_state_create_copy() for NULL in dm_suspend

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.224, 6.1.191, 6.6.160, 5.11, 6.11, and 3 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: check dc_state_create_copy() for NULL in dm_suspend dc_state_create_copy() can return NULL on allocation failure. dm_suspend() only conditionally skips dm_gpureset_toggle_interrupts() and continues execution, returning success. dm_resume() then dereferences the NULL cached_dc_state in link_enc_cfg_copy() and the following dc_state->stream_count loop, crashing during GPU reset recovery. Return -ENOMEM immediately if the copy fails, so the caller aborts suspend instead of leaving a NULL cached state for resume. (cherry picked from commit 84b6d7932fdd2857795a257f9f258562a3cddcab)

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.15.165 · fixed in 5.15.224; From 6.1.105 · fixed in 6.1.191; From 6.6.46 · fixed in 6.6.160; From 5.10.258 · fixed in 5.11; From 6.10.5 · fixed in 6.11

  • Linux Linux

    6.11

  • KernelLinux

    fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.11.0 · fixed in 6.18.56; From 6.13.0 · fixed in 7.2.10

References 7

git.kernel.org