# CVE-2026-46245: drm/amd/display: Fix dc\_link NULL handling in HPD init

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-03 · Modified: 2026-11-06
- Aliases: UBUNTU-CVE-2026-46245, DEBIAN-CVE-2026-46245, CGA-2m24-xqwf-x7wh, CGA-2r22-2246-q8w5, CGA-2wc2-6fjj-wrr2, CGA-39j5-hm55-8j4w, CGA-3hrw-9mgr-rg9q, CGA-46wv-8jrh-6c84, CGA-4g7w-q5j7-vm6q, CGA-4hf8-fmxf-hw25, CGA-4qc6-3c8q-4w33, CGA-57gq-28w2-j99v, CGA-5gx6-5ggq-m856, CGA-5q42-q4c9-994j, CGA-622f-cxpr-xgmj, CGA-67vp-j665-x4cf, CGA-6h4v-crpq-xwjg, CGA-6mq3-v5gr-8c6q, CGA-6pjc-jh86-28cq, CGA-6qgm-wwv8-jwfh, CGA-7c7j-cf6h-jrxg, CGA-7r3w-cr4j-mvhw, CGA-7v69-w6r6-pq8h, CGA-7wq5-fc6w-3vpj, CGA-82qg-x39q-2877, CGA-89p7-hrv2-p96g, CGA-8h9r-7gm3-rg8m, CGA-8vmq-mw2f-22mr, CGA-992g-vr77-4jqg, CGA-9fr2-r43p-24m9, CGA-9fwx-396p-2gpm, CGA-9w2x-42vg-3qp5, CGA-c2w4-cw3w-8w47, CGA-fx4m-gm2f-qf6c, CGA-g3wq-vqc3-3x4g, CGA-g89m-rhx4-gvcm, CGA-g932-cp2v-x989, CGA-gf2c-x85g-c4fg, CGA-gh6x-qrrv-mj32, CGA-gvvr-p8x6-477p, CGA-h5gj-5f5f-4vx2, CGA-hc3v-7fpv-x847, CGA-j38w-fcfv-m5x8, CGA-j5cq-95fw-w75p, CGA-jf38-8jw7-vm78, CGA-jjgp-cfpp-2jm5, CGA-jmpw-x5v7-qxrx, CGA-jwxv-6vg3-gm6w, CGA-p3g3-ff96-p524, CGA-p9vx-88h6-hqv5, CGA-phqh-qvwc-7f5v, CGA-rx5r-9r65-j533, CGA-q7v8-m7cm-mq7w, CGA-q893-jxg3-f7m7, CGA-q975-xj93-r7g5, CGA-qggv-cw8j-48qr, CGA-rfp6-g9vv-c2wr, CGA-rj25-85qq-cq49, CGA-rp5c-2rr7-hrvj, CGA-rvv9-jjgq-3j47, CGA-v8xj-4cj9-3w8f, CGA-v9wx-7fhx-8p2w, CGA-vfwq-mm3m-8fjh, CGA-vjmv-hfp2-jwvv, CGA-vm34-wgwx-px94, CGA-w2jp-2r4w-5r7p, CGA-w8gm-q9xg-rg2j, CGA-w8vq-fw3v-8h2v, CGA-x473-fvx8-xqm3, CGA-xv45-f999-vvxp, CGA-pjmm-f32w-q6qj, CGA-v6f4-4837-34v5, CGA-2363-9j4q-wrq8, CGA-32gq-5h6j-7cmp, CGA-fjph-4rhv-5qhh, CGA-mhcj-47vq-q4x6, CGA-9rg5-gw35-qhjm, CGA-f7g7-cf6j-q9g7, CGA-fj6q-c66f-39hx, CGA-qfxj-cv66-qwxj, CGA-3f7f-9c5h-mjjq, CGA-5wrq-6pwr-x6cx
- Record: https://cvemate.com/vulnerability/CVE-2026-46245 · JSON: https://cvemate.com/vulnerability/CVE-2026-46245/json

## Description

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

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

amdgpu_dm_hpd_init() may see connectors without a valid dc_link.

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

Assign dc_link early and skip connectors where it is NULL.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c:940 amdgpu_dm_hpd_init()
error: we previously assumed 'dc_link' could be null (see line 931)

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.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                 use_polling |=
    928                         amdgpu_dm_connector->dc_link &&
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The patch adds this NULL check but hopefully it can be removed

    929                         dc_connector_supports_analog(amdgpu_dm_connector->dc_link->link_id.id);
    930
    931                 dc_link = amdgpu_dm_connector->dc_link;

dc_link 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; hpd_rx types aren't. IOW, amdgpu_irq_get/put on
    937                  * hpd_rx isn't available. DM currently controls hpd_rx
    938                  * explicitly with dc_interrupt_set()
    939                  */
--> 940                 if (dc_link->irq_source_hpd != DC_IRQ_SOURCE_INVALID) {
                            ^^^^^^^^^^^^^^^^^^^^^^^ If it's NULL then we are trouble because we dereference it here.

    941                         irq_type = dc_link->irq_source_hpd - DC_IRQ_SOURCE_HPD1;
    942                         /*
    943                          * TODO: There's a mismatch between mode_info.num_hpd
    944                          * and what bios reports as the # of connectors with hpd
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.155%, percentile 4.787%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 204)

- chainguard hyperv-daemons-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): All versions (No fix recorded) \| \< 6.18.64-r1
- chainguard linux-aws-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc (Chainguard): All versions (No fix recorded) \| \< 6.18.64-r1
- chainguard linux-aws-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-nestkvm-boot-installed (Chainguard): All versions (No fix recorded) \| \< 6.18.64-r1
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/a490e4d3c9fed1e690c8de348416eea3a9f054ff>
- <https://git.kernel.org/stable/c/226a40c06a183abaeb7529a4f54d6c203bd14407>
- <https://ubuntu.com/security/CVE-2026-46245>
- <https://www.cve.org/CVERecord?id=CVE-2026-46245>
- <https://git.kernel.org/linus/226a40c06a183abaeb7529a4f54d6c203bd14407>
- <https://security-tracker.debian.org/tracker/CVE-2026-46245>
- <https://git.kernel.org/stable/c/1d15503e454bf117a0d0078332d48df86a41c828>
- <https://git.kernel.org/stable/c/d772e8570f19ac05fd9b11c8af86ada98f35f0c8>
- <https://git.kernel.org/stable/c/0965f1e775130e325e74152d867d2e8ce865fa05>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9175-1>
- <https://ubuntu.com/security/notices/USN-9174-1>
- <https://ubuntu.com/security/notices/USN-9183-1>
- <https://ubuntu.com/security/notices/USN-9173-2>
- <https://ubuntu.com/security/notices/USN-9192-1>
- <https://ubuntu.com/security/notices/USN-9173-3>
- <https://ubuntu.com/security/notices/USN-9174-2>
- <https://ubuntu.com/security/notices/USN-9191-1>

---

Data as of 2026-12-06T04:08:39.485Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
