# CVE-2024-26728: drm/amd/display: fix null-pointer dereference on edid reading

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-04-03T17:00:16.776Z
- **Modified:** 2026-08-05T11:26:51.802Z

## Who should check

- Anyone running Linux \>= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, \< 2d392f7268a1a9bfbd98c831f0f4c964e59aa145; \>= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, \< 9671761792156f2339627918bafcd713a8a6f777
- Anyone running Linux 6.7

## Description

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

drm/amd/display: fix null-pointer dereference on edid reading

Use i2c adapter when there isn't aux\_mode in dc\_link to fix a
null-pointer derefence that happens when running
igt@kms\_force\_connector\_basic in a system with DCN2.1 and HDMI connector
detected as below:

\[  +0.178146\] BUG: kernel NULL pointer dereference, address: 00000000000004c0
\[  +0.000010\] \#PF: supervisor read access in kernel mode
\[  +0.000005\] \#PF: error\_code(0x0000) - not-present page
\[  +0.000004\] PGD 0 P4D 0
\[  +0.000006\] Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
\[  +0.000006\] CPU: 15 PID: 2368 Comm: kms\_force\_conne Not tainted 6.5.0-asdn+ \#152
\[  +0.000005\] Hardware name: HP HP ENVY x360 Convertible 13-ay1xxx/8929, BIOS F.01 07/14/2021
\[  +0.000004\] RIP: 0010:i2c\_transfer+0xd/0x100
\[  +0.000011\] Code: ea fc ff ff 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 41 54 55 53 \<48\> 8b 47 10 48 89 fb 48 83 38 00 0f 84 b3 00 00 00 83 3d 2f 80 16
\[  +0.000004\] RSP: 0018:ffff9c4f89c0fad0 EFLAGS: 00010246
\[  +0.000005\] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000080
\[  +0.000003\] RDX: 0000000000000002 RSI: ffff9c4f89c0fb20 RDI: 00000000000004b0
\[  +0.000003\] RBP: ffff9c4f89c0fb80 R08: 0000000000000080 R09: ffff8d8e0b15b980
\[  +0.000003\] R10: 00000000000380e0 R11: 0000000000000000 R12: 0000000000000080
\[  +0.000002\] R13: 0000000000000002 R14: ffff9c4f89c0fb0e R15: ffff9c4f89c0fb0f
\[  +0.000004\] FS:  00007f9ad2176c40(0000) GS:ffff8d90fe9c0000(0000) knlGS:0000000000000000
\[  +0.000003\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  +0.000004\] CR2: 00000000000004c0 CR3: 0000000121bc4000 CR4: 0000000000750ee0
\[  +0.000003\] PKRU: 55555554
\[  +0.000003\] Call Trace:
\[  +0.000006\]  \<TASK\>
\[  +0.000006\]  ? \_\_die+0x23/0x70
\[  +0.000011\]  ? page\_fault\_oops+0x17d/0x4c0
\[  +0.000008\]  ? preempt\_count\_add+0x6e/0xa0
\[  +0.000008\]  ? srso\_alias\_return\_thunk+0x5/0x7f
\[  +0.000011\]  ? exc\_page\_fault+0x7f/0x180
\[  +0.000009\]  ? asm\_exc\_page\_fault+0x26/0x30
\[  +0.000013\]  ? i2c\_transfer+0xd/0x100
\[  +0.000010\]  drm\_do\_probe\_ddc\_edid+0xc2/0x140 \[drm\]
\[  +0.000067\]  ? srso\_alias\_return\_thunk+0x5/0x7f
\[  +0.000006\]  ? \_drm\_do\_get\_edid+0x97/0x3c0 \[drm\]
\[  +0.000043\]  ? \_\_pfx\_drm\_do\_probe\_ddc\_edid+0x10/0x10 \[drm\]
\[  +0.000042\]  edid\_block\_read+0x3b/0xd0 \[drm\]
\[  +0.000043\]  \_drm\_do\_get\_edid+0xb6/0x3c0 \[drm\]
\[  +0.000041\]  ? \_\_pfx\_drm\_do\_probe\_ddc\_edid+0x10/0x10 \[drm\]
\[  +0.000043\]  drm\_edid\_read\_custom+0x37/0xd0 \[drm\]
\[  +0.000044\]  amdgpu\_dm\_connector\_mode\_valid+0x129/0x1d0 \[amdgpu\]
\[  +0.000153\]  drm\_connector\_mode\_valid+0x3b/0x60 \[drm\_kms\_helper\]
\[  +0.000000\]  \_\_drm\_helper\_update\_and\_validate+0xfe/0x3c0 \[drm\_kms\_helper\]
\[  +0.000000\]  ? amdgpu\_dm\_connector\_get\_modes+0xb6/0x520 \[amdgpu\]
\[  +0.000000\]  ? srso\_alias\_return\_thunk+0x5/0x7f
\[  +0.000000\]  drm\_helper\_probe\_single\_connector\_modes+0x2ab/0x540 \[drm\_kms\_helper\]
\[  +0.000000\]  status\_store+0xb2/0x1f0 \[drm\]
\[  +0.000000\]  kernfs\_fop\_write\_iter+0x136/0x1d0
\[  +0.000000\]  vfs\_write+0x24d/0x440
\[  +0.000000\]  ksys\_write+0x6f/0xf0
\[  +0.000000\]  do\_syscall\_64+0x60/0xc0
\[  +0.000000\]  ? srso\_alias\_return\_thunk+0x5/0x7f
\[  +0.000000\]  ? syscall\_exit\_to\_user\_mode+0x2b/0x40
\[  +0.000000\]  ? srso\_alias\_return\_thunk+0x5/0x7f
\[  +0.000000\]  ? do\_syscall\_64+0x6c/0xc0
\[  +0.000000\]  ? do\_syscall\_64+0x6c/0xc0
\[  +0.000000\]  entry\_SYSCALL\_64\_after\_hwframe+0x6e/0xd8
\[  +0.000000\] RIP: 0033:0x7f9ad46b4b00
\[  +0.000000\] Code: 40 00 48 8b 15 19 b3 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d e1 3a 0e 00 00 74 17 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
\[  +0.000000\] RSP: 002b:00007ffcbd3bd6d8 EFLAGS: 00000202 ORIG\_RAX: 0000000000000001
\[  +0.000000\] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9ad46b4b00
\[  +0.000000\] RDX: 0000000000000002 RSI: 00007f9ad48a7417 RDI: 0000000000000009
\[  +0.000000\] RBP: 0000000000000002 R08
---truncated---

## Affected and fixed versions

- Linux: \>= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, \< 2d392f7268a1a9bfbd98c831f0f4c964e59aa145; \>= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, \< 9671761792156f2339627918bafcd713a8a6f777 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 9671761792156f2339627918bafcd713a8a6f777 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26728. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26728.md
Affected: Linux >= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, < 2d392f7268a1a9bfbd98c831f0f4c964e59aa145; >= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, < 9671761792156f2339627918bafcd713a8a6f777; Linux 6.7
Fixed in: Linux 2d392f7268a1a9bfbd98c831f0f4c964e59aa145, Linux 9671761792156f2339627918bafcd713a8a6f777

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26728 being exploited?

There is no confirmed exploitation: CVE-2024-26728 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26728?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26728?

Linux \>= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, \< 2d392f7268a1a9bfbd98c831f0f4c964e59aa145; \>= 0e859faf8670a78ce206977dcf1a31a0231e9ca5, \< 9671761792156f2339627918bafcd713a8a6f777; Linux 6.7.

### Is there a fix for CVE-2024-26728?

Yes. Fixed in Linux 2d392f7268a1a9bfbd98c831f0f4c964e59aa145, Linux 9671761792156f2339627918bafcd713a8a6f777. Upgrade Linux to 9671761792156f2339627918bafcd713a8a6f777 or later.

### How do I check if I'm affected by CVE-2024-26728?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2d392f7268a1a9bfbd98c831f0f4c964e59aa145>
- patch: <https://git.kernel.org/stable/c/9671761792156f2339627918bafcd713a8a6f777>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26728>

HTML: <https://flawdb.com/CVE-2024-26728> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26728>
