CVE-2025-38362: drm/amd/display: Add null pointer check for get_first_active_display()
drm/amd/display: Add null pointer check for getfirstactivedisplay()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1 - Compensating control
In mod_hdcp_hdcp1_enable_encryption(), check the return value of get_first_active_display(); if it is null, return MOD_HDCP_STATUS_DISPLAY_NOT_FOUND to prevent a null pointer dereference.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38362?
CVE-2025-38362 has a medium severity rating due to a null pointer dereference that could lead to denial of service.
How do I fix CVE-2025-38362?
To fix CVE-2025-38362, upgrade the Linux kernel to the latest patched version that includes the null pointer check for get_first_active_display().
What components are affected by CVE-2025-38362?
CVE-2025-38362 affects the drm/amd/display component of the Linux kernel.
What version of the Linux kernel is vulnerable to CVE-2025-38362?
Any version of the Linux kernel prior to the fix that adds the null pointer check for get_first_active_display() is vulnerable to CVE-2025-38362.
Is there a workaround for CVE-2025-38362?
Currently, there are no known workarounds for CVE-2025-38362 other than applying the security update.