# CVE-2025-39675: drm/amd/display: Add null pointer check in mod_hdcp_hdcp1_create_session()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-09-05T17:20:41.179Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

drm/amd/display: Add null pointer check in mod_hdcp_hdcp1_create_session()

The function mod_hdcp_hdcp1_create_session() calls the function
get_first_active_display(), but does not check its return value.
The return value is a null pointer if the display list is empty.
This will lead to a null pointer dereference.

Add a null pointer check for get_first_active_display() and return
MOD_HDCP_STATUS_DISPLAY_NOT_FOUND if the function return null.

This is similar to the commit c3e9826a2202
("drm/amd/display: Add null pointer check for get_first_active_display()").

(cherry picked from commit 5e43eb3cd731649c4f8b9134f857be62a416c893)

(As written by CVE List.)

## Affected

- Linux Linux: from 2deade5ede56581722c0d7672f28b09548dc0fc4 before 2af45aadb7b5d3852c76e2d1e985289ada6f48bf; from 2deade5ede56581722c0d7672f28b09548dc0fc4 before ee0373b20bb67b1f00a1b25ccd24c8ac996b6446; from 2deade5ede56581722c0d7672f28b09548dc0fc4 before 857b8387a9777e42b36e0400be99b54c251eaf9a; from 2deade5ede56581722c0d7672f28b09548dc0fc4 before 97fc94c5fd3c6ac5a13e457d38ee247737b8c4bd; from 2deade5ede56581722c0d7672f28b09548dc0fc4 before 2ee86b764c54e0d6a5464fb023b630fdf20869cd; from 2deade5ede56581722c0d7672f28b09548dc0fc4 before 7a2ca2ea64b1b63c8baa94a8f5deb70b2248d119; 5.8 (not affected: before 5.8; from 5.15.190 up to 5.15.*; from 6.1.149 up to 6.1.*; from 6.6.103 up to 6.6.*; from 6.12.44 up to 6.12.*; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 5.8 before 5.15.190; from 5.16 before 6.1.149; from 6.2 before 6.6.103; from 6.7 before 6.12.44; from 6.13 before 6.16.4; 6.17
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/2af45aadb7b5d3852c76e2d1e985289ada6f48bf> (patch)
- <https://git.kernel.org/stable/c/ee0373b20bb67b1f00a1b25ccd24c8ac996b6446> (patch)
- <https://git.kernel.org/stable/c/857b8387a9777e42b36e0400be99b54c251eaf9a> (patch)
- <https://git.kernel.org/stable/c/97fc94c5fd3c6ac5a13e457d38ee247737b8c4bd> (patch)
- <https://git.kernel.org/stable/c/2ee86b764c54e0d6a5464fb023b630fdf20869cd> (patch)
- <https://git.kernel.org/stable/c/7a2ca2ea64b1b63c8baa94a8f5deb70b2248d119> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-39675](https://www.cve.org/CVERecord?id=CVE-2025-39675), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2025-39675](https://nvd.nist.gov/vuln/detail/CVE-2025-39675), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39675 · Whole record: https://cve.day/CVE-2025-39675.json · Rebuilt by cve.day 2026-11-25T22:59:04.256Z
