In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null pointer check for getfirstactive_display()
The function modhdcphdcp1enableencryption() calls the function getfirstactivedisplay(), 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 in modhdcphdcp2enable_encryption().
Add a null pointer check for getfirstactivedisplay() and return MODHDCPSTATUSDISPLAYNOTFOUND if the function return null.
[
{
"digest": {
"line_hashes": [
"307957350847441998397310758251013324102",
"14875014797659083927897295543038112352",
"126198851875195049830842086324441487717"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3e9826a22027a21d998d3e64882fa377b613006",
"id": "CVE-2025-38362-0a0f1d8b",
"signature_type": "Line"
},
{
"digest": {
"length": 805.0,
"function_hash": "158575473609005825424896267583531508149"
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "mod_hdcp_hdcp1_enable_encryption",
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5148c7ea69e9c5bf2f05081190f45ba96d3d1e7a",
"id": "CVE-2025-38362-39b0bea7",
"signature_type": "Function"
},
{
"digest": {
"length": 805.0,
"function_hash": "158575473609005825424896267583531508149"
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "mod_hdcp_hdcp1_enable_encryption",
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3e9826a22027a21d998d3e64882fa377b613006",
"id": "CVE-2025-38362-3da7481e",
"signature_type": "Function"
},
{
"digest": {
"length": 805.0,
"function_hash": "158575473609005825424896267583531508149"
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "mod_hdcp_hdcp1_enable_encryption",
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ebcdf38887949def1a553ff3e45c98ed95a3cd0",
"id": "CVE-2025-38362-5d2d4aba",
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"307957350847441998397310758251013324102",
"14875014797659083927897295543038112352",
"126198851875195049830842086324441487717"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3005145eab98d36777660b8893466e4f630ae1c",
"id": "CVE-2025-38362-61d123e6",
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"307957350847441998397310758251013324102",
"14875014797659083927897295543038112352",
"126198851875195049830842086324441487717"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34d3e10ab905f06445f8dbd8a3d9697095e71bae",
"id": "CVE-2025-38362-88983fde",
"signature_type": "Line"
},
{
"digest": {
"length": 805.0,
"function_hash": "158575473609005825424896267583531508149"
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "mod_hdcp_hdcp1_enable_encryption",
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3005145eab98d36777660b8893466e4f630ae1c",
"id": "CVE-2025-38362-8ff9c688",
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"307957350847441998397310758251013324102",
"14875014797659083927897295543038112352",
"126198851875195049830842086324441487717"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5148c7ea69e9c5bf2f05081190f45ba96d3d1e7a",
"id": "CVE-2025-38362-976f1324",
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"307957350847441998397310758251013324102",
"14875014797659083927897295543038112352",
"126198851875195049830842086324441487717"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ebcdf38887949def1a553ff3e45c98ed95a3cd0",
"id": "CVE-2025-38362-c91ed114",
"signature_type": "Line"
},
{
"digest": {
"length": 805.0,
"function_hash": "158575473609005825424896267583531508149"
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "mod_hdcp_hdcp1_enable_encryption",
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34d3e10ab905f06445f8dbd8a3d9697095e71bae",
"id": "CVE-2025-38362-d474a980",
"signature_type": "Function"
}
]