{"id":"CVE-2025-38362","summary":"drm/amd/display: Add null pointer check for get_first_active_display()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add null pointer check for get_first_active_display()\n\nThe function mod_hdcp_hdcp1_enable_encryption() calls the function\nget_first_active_display(), but does not check its return value.\nThe return value is a null pointer if the display list is empty.\nThis will lead to a null pointer dereference in\nmod_hdcp_hdcp2_enable_encryption().\n\nAdd a null pointer check for get_first_active_display() and return\nMOD_HDCP_STATUS_DISPLAY_NOT_FOUND if the function return null.","modified":"2026-04-16T00:02:47.689760701Z","published":"2025-07-25T12:47:33.035Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38362.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1ebcdf38887949def1a553ff3e45c98ed95a3cd0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34d3e10ab905f06445f8dbd8a3d9697095e71bae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ce9f2dc9ff7cc410e8c5d936ec551e26b9599a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5148c7ea69e9c5bf2f05081190f45ba96d3d1e7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3005145eab98d36777660b8893466e4f630ae1c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3e9826a22027a21d998d3e64882fa377b613006"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38362.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38362"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2deade5ede56581722c0d7672f28b09548dc0fc4"},{"fixed":"34d3e10ab905f06445f8dbd8a3d9697095e71bae"},{"fixed":"1ebcdf38887949def1a553ff3e45c98ed95a3cd0"},{"fixed":"5148c7ea69e9c5bf2f05081190f45ba96d3d1e7a"},{"fixed":"4ce9f2dc9ff7cc410e8c5d936ec551e26b9599a9"},{"fixed":"b3005145eab98d36777660b8893466e4f630ae1c"},{"fixed":"c3e9826a22027a21d998d3e64882fa377b613006"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38362.json"}}],"schema_version":"1.7.5"}