CVE-2024-27041
drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()
Reported by linux · Published May 1, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 81927e2808be5adace93c2012d45d6938d3a7aa0, 81927e2808be5adace93c2012d45d6938d3a7aa0, 81927e2808be5adace93c2012d45d6938d3a7aa0 |
| Linux | Linux | 5.14, 0, 6.1.191 |
| linux | linux_kernel | 5.14, 5.14, 5.14 |
| Linux | Linux | 81927e2808be5adace93c2012d45d6938d3a7aa0, 81927e2808be5adace93c2012d45d6938d3a7aa0, 81927e2808be5adace93c2012d45d6938d3a7aa0 |
Timeline
- May 1, 2024 CVE Published
- May 2, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Jan 15, 2026 Security Advisory (308 in total, the first dated here)
- May 28, 2026 Distribution Patch (270 in total, the first dated here)
- Oct 12, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-27041
vulnetix vdb fixes CVE-2024-27041
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27041/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart