CVE-2024-27041: drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()
Since 'adev->dm.dc' in amdgpu_dm_fini() might turn out to be NULL
before the call to dc_enable_dmub_notifications(), check
beforehand to ensure there will not be a possible NULL-ptr-deref
there.
Also, since commit 1e88eb1b2c25 ("drm/amd/display: Drop
CONFIG_DRM_AMD_DC_HDCP") there are two separate checks for NULL in
'adev->dm.dc' before dc_deinit_callbacks() and dc_dmub_srv_destroy().
Clean up by combining them all under one 'if'.
Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel AMD display driver flaw that can crash affected systems rather than expose data. The issue is a missing NULL check during AMDGPU display cleanup. Business impact is mainly local denial of service on systems running affected kernels with relevant AMD display functionality.
Executive priority
Treat as routine but real availability risk. Patch through normal kernel update cycles, faster for shared workstations, GPU-enabled hosts, or environments where local users are not fully trusted. No source evidence supports emergency response for active exploitation.
Technical view
CVE-2024-27041 is a CWE-476 NULL pointer dereference in drm/amd/display amdgpu_dm_fini(). adev->dm.dc may be NULL before dc_enable_dmub_notifications(), so the kernel fix adds a prior check and consolidates related NULL checks. CVSS 3.1 is 5.5: local, low complexity, low privileges, no user interaction, availability impact only.
Likely exposure
Exposure is most plausible on Linux systems using affected kernel versions with the AMDGPU display driver path present. The CVE data lists Linux kernel versions including 5.14, 6.6.23, 6.7.11, 6.8.2, and 6.9 as affected entries. Distribution backports may change practical exposure.
Exploitation context
The provided sources do not indicate active exploitation, and KEV is false. The CVSS vector requires local access with low privileges and targets availability only. The source material does not provide evidence of remote exploitation or data compromise.
Researcher notes
The fix is defensive cleanup-path hardening in amdgpu_dm_fini(), preventing dc_enable_dmub_notifications() from seeing a NULL adev->dm.dc. The report credits Linux Verification Center using SVACE static analysis. Evidence supports local denial of service, not privilege escalation or information disclosure.
Mitigation direction
Apply Linux kernel updates that include the referenced stable fixes.
Use distribution vendor advisories to confirm the fixed package version.
Prioritize shared systems where untrusted local users have shell or application access.
Reduce unnecessary local user access until patched where availability is critical.
Validation and detection
Inventory Linux kernel versions across AMD GPU or display-enabled systems.
Confirm whether vendor kernel packages include the referenced upstream stable commits.
Check vulnerability scanner findings against distro backport notes before closing.
Verify patched systems are running the updated kernel after maintenance reboot.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.