CVE-2024-27041

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27041
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27041.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27041
Downstream
Related
Published
2024-05-01T13:15:49Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: fix NULL checks for adev->dm.dc in amdgpudmfini()

Since 'adev->dm.dc' in amdgpudmfini() might turn out to be NULL before the call to dcenabledmub_notifications(), check beforehand to ensure there will not be a possible NULL-ptr-deref there.

Also, since commit 1e88eb1b2c25 ("drm/amd/display: Drop CONFIGDRMAMDDCHDCP") there are two separate checks for NULL in 'adev->dm.dc' before dcdeinitcallbacks() and dcdmubsrv_destroy(). Clean up by combining them all under one 'if'.

Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE.

References

Affected packages