In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null pointer check in modhdcphdcp1createsession()
The function modhdcphdcp1createsession() calls the function getfirstactive_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 getfirstactivedisplay() and return MODHDCPSTATUSDISPLAYNOTFOUND if the function return null.
This is similar to the commit c3e9826a2202 ("drm/amd/display: Add null pointer check for getfirstactive_display()").
(cherry picked from commit 5e43eb3cd731649c4f8b9134f857be62a416c893)
[
{
"signature_version": "v1",
"id": "CVE-2025-39675-291fa8df",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303744877536456304041053862141645860060",
"294080792421108582477957802245602143569",
"83803246755838683576310396937213039295"
]
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97fc94c5fd3c6ac5a13e457d38ee247737b8c4bd"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-3343ed7c",
"digest": {
"function_hash": "47345650090782023882107294773829292153",
"length": 1311.0
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c",
"function": "mod_hdcp_hdcp1_create_session"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2af45aadb7b5d3852c76e2d1e985289ada6f48bf"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-64e18688",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303744877536456304041053862141645860060",
"294080792421108582477957802245602143569",
"83803246755838683576310396937213039295"
]
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ee86b764c54e0d6a5464fb023b630fdf20869cd"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-706d1e24",
"digest": {
"function_hash": "47345650090782023882107294773829292153",
"length": 1311.0
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c",
"function": "mod_hdcp_hdcp1_create_session"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee0373b20bb67b1f00a1b25ccd24c8ac996b6446"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-938c7378",
"digest": {
"function_hash": "47345650090782023882107294773829292153",
"length": 1311.0
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c",
"function": "mod_hdcp_hdcp1_create_session"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97fc94c5fd3c6ac5a13e457d38ee247737b8c4bd"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-9d8a351f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303744877536456304041053862141645860060",
"294080792421108582477957802245602143569",
"83803246755838683576310396937213039295"
]
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2af45aadb7b5d3852c76e2d1e985289ada6f48bf"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-9e569e70",
"digest": {
"function_hash": "47345650090782023882107294773829292153",
"length": 1311.0
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c",
"function": "mod_hdcp_hdcp1_create_session"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ee86b764c54e0d6a5464fb023b630fdf20869cd"
},
{
"signature_version": "v1",
"id": "CVE-2025-39675-d3c851cf",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303744877536456304041053862141645860060",
"294080792421108582477957802245602143569",
"83803246755838683576310396937213039295"
]
},
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee0373b20bb67b1f00a1b25ccd24c8ac996b6446"
}
]