Skip to main content
Network Thinking Solutions Logo

CVE-2024-27041

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

All CVEs
CVE-2024-27041Published 5/1/2024

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

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
5/1/2024
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.14, < 6.6.23

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.7.11

Verify advisory

Source
linux kernel
linux
≥ 6.8, < 6.8.2

Verify advisory

Source
Linux
Linux
≥ 81927e2808be5adace93c2012d45d6938d3a7aa0, < cef0f2fe65ccee638e48fd5c1d590a3c0539acdd

Verify advisory

Source
Linux
Linux
≥ 81927e2808be5adace93c2012d45d6938d3a7aa0, < e040f1fbe9abae91b12b074cfc3bbb5367b79811

Verify advisory

Source
Linux
Linux
≥ 81927e2808be5adace93c2012d45d6938d3a7aa0, < ca2eb375db76fd50f31afdd67d6ca4f833254957

Verify advisory

Source
Linux
Linux
≥ 81927e2808be5adace93c2012d45d6938d3a7aa0, < 1c62697e4086de988b31124fb8c79c244ea05f2b

Verify advisory

Source
Linux
Linux
≥ 81927e2808be5adace93c2012d45d6938d3a7aa0, < 2a3cfb9a24a28da9cc13d2c525a76548865e182c

Verify advisory

Source
Linux
Linux
5.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.