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.
Metrics
Affected Vendors & Products
References
History
Fri, 01 Nov 2024 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-476 | |
Metrics |
ssvc
|
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
Vulnrichment
Updated: 2024-08-02T00:21:05.932Z
NVD
Status : Awaiting Analysis
Published: 2024-05-01T13:15:49.647
Modified: 2024-11-21T09:03:43.730
Link: CVE-2024-27041
Redhat