CVE Catalog

CVE-2024-27041

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

20th percentile - higher than 20% of all known CVEs

Summary

In the Linux kernel, the amdgpu_dm_fini() function in the drm/amd/display driver may dereference a NULL pointer because 'adev->dm.dc' can be NULL before calling dc_enable_dmub_notifications(). The vulnerability was found by static analysis and fixed by adding proper NULL checks.

Risk Assessment

Could lead to kernel crash (oops) or denial of service on systems with AMD graphics cards, especially during driver initialization or shutdown.

Recommendation

Update the Linux kernel to a version containing the fix (patch commit) or apply the appropriate patch provided by your distribution.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS