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.
History

Fri, 01 Nov 2024 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-01T12:54:04.111Z

Updated: 2024-11-05T09:20:29.831Z

Reserved: 2024-02-19T14:20:24.212Z

Link: CVE-2024-27041

cve-icon Vulnrichment

Updated: 2024-08-02T00:21:05.932Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-01T13:15:49.647

Modified: 2024-11-21T09:03:43.730

Link: CVE-2024-27041

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-01T00:00:00Z

Links: CVE-2024-27041 - Bugzilla