CVE-2025-38362: drm/amd/display: Add null pointer check for get_first_active_display()

Published Jul 25, 2025
·
Updated

drm/amd/display: Add null pointer check for getfirstactivedisplay()

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.8<5.15.187
Linux Linux kernel>=5.16<6.1.143
Linux Linux kernel>=6.2<6.6.96
Linux Linux kernel>=6.7<6.12.36
Linux Linux kernel>=6.13<6.15.5
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.92.2-2
Microsoft cbl2 kernel 5.15.186.1-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to 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
  2. 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

Jul 25, 2025
CVE Published
via MITRE·12:47 PM
Data Sourced
via MITRE·12:47 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 7, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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().

3

What components are affected by CVE-2025-38362?

CVE-2025-38362 affects the drm/amd/display component of the Linux kernel.

4

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.

5

Is there a workaround for CVE-2025-38362?

Currently, there are no known workarounds for CVE-2025-38362 other than applying the security update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203