CVE-2026-46245: drm/amd/display: Fix dc_link NULL handling in HPD init

Published Jun 3, 2026
·
Updated

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

drm/amd/display: Fix dclink NULL handling in HPD init

amdgpudmhpdinit() may see connectors without a valid dclink.

The code already checks dclink for the polling decision, but later unconditionally dereferences it when setting up HPD interrupts.

Assign dclink early and skip connectors where it is NULL.

Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpudm/amdgpudmirq.c:940 amdgpudmhpdinit() error: we previously assumed 'dclink' could be null (see line 931)

drivers/gpu/drm/amd/amdgpu/../display/amdgpudm/amdgpudmirq.c 923 / 924 Analog connectors may be hot-plugged unlike other connector 925 types that don't support HPD. Only poll analog connectors. 926 / 927 usepolling |= 928 amdgpudmconnector->dclink && ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The patch adds this NULL check but hopefully it can be removed

929 dcconnectorsupportsanalog(amdgpudmconnector->dclink->linkid.id); 930 931 dclink = amdgpudmconnector->dclink;

dclink assigned here.

932 933 / 934 Get a base driver irq reference for hpd ints for the lifetime 935 of dm. Note that only hpd interrupt types are registered with 936 base driver; hpdrx types aren't. IOW, amdgpuirqget/put on 937 hpdrx isn't available. DM currently controls hpdrx 938 explicitly with dcinterruptset() 939 / --> 940 if (dclink->irqsourcehpd != DCIRQSOURCEINVALID) { ^^^^^^^^^^^^^^^^^^^^^^^ If it's NULL then we are trouble because we dereference it here.

941 irqtype = dclink->irqsourcehpd - DCIRQSOURCEHPD1; 942 / 943 TODO: There's a mismatch between modeinfo.numhpd 944 and what bios reports as the # of connectors with hpd

Affected Software

2 affected components
Linux Linux kernel
Linux Linux kernel>=4.15<6.19.4

Event History

Jun 3, 2026
CVE Published
via MITRE·03:49 PM
Data Sourced
via MITRE·03:49 PM
Description
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46245?

CVE-2026-46245 has a risk level of 18.

2

How do I fix CVE-2026-46245?

To fix CVE-2026-46245, update to the latest version of the Linux kernel where this vulnerability has been resolved.

3

What does CVE-2026-46245 affect?

CVE-2026-46245 affects the AMD display driver in the Linux kernel.

4

What is the main issue described in CVE-2026-46245?

The main issue in CVE-2026-46245 is the potential NULL dereference in the HPD initialization of the AMD display driver.

5

When was CVE-2026-46245 published?

CVE-2026-46245 was published on June 3, 2026.

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