# CVE-2024-43899: drm/amd/display: Fix null pointer deref in dcn20\_resource.c

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-26T10:10:57.083Z
- **Modified:** 2026-10-30T13:17:33.950Z

## Who should check

- Anyone running Linux \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< dc4428bf483cb8335bb3377534d19b1b7e62ec5c; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 6940c1d0c84a34d5a2038714c218238101a1db5b; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 974fccd61758599a9716c4b909d9226749efe37e; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< ecbf60782662f0a388493685b85a645a0ba1613c
- Anyone running Linux 4.15

## Description

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

drm/amd/display: Fix null pointer deref in dcn20\_resource.c

Fixes a hang thats triggered when MPV is run on a DCN401 dGPU:

mpv --hwdec=vaapi --vo=gpu --hwdec-codecs=all

and then enabling fullscreen playback (double click on the video)

The following calltrace will be seen:

\[  181.843989\] BUG: kernel NULL pointer dereference, address: 0000000000000000
\[  181.843997\] \#PF: supervisor instruction fetch in kernel mode
\[  181.844003\] \#PF: error\_code(0x0010) - not-present page
\[  181.844009\] PGD 0 P4D 0
\[  181.844020\] Oops: 0010 \[\#1\] PREEMPT SMP NOPTI
\[  181.844028\] CPU: 6 PID: 1892 Comm: gnome-shell Tainted: G        W  OE      6.5.0-41-generic \#41~22.04.2-Ubuntu
\[  181.844038\] Hardware name: System manufacturer System Product Name/CROSSHAIR VI HERO, BIOS 6302 10/23/2018
\[  181.844044\] RIP: 0010:0x0
\[  181.844079\] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
\[  181.844084\] RSP: 0018:ffffb593c2b8f7b0 EFLAGS: 00010246
\[  181.844093\] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
\[  181.844099\] RDX: ffffb593c2b8f804 RSI: ffffb593c2b8f7e0 RDI: ffff9e3c8e758400
\[  181.844105\] RBP: ffffb593c2b8f7b8 R08: ffffb593c2b8f9c8 R09: ffffb593c2b8f96c
\[  181.844110\] R10: 0000000000000000 R11: 0000000000000000 R12: ffffb593c2b8f9c8
\[  181.844115\] R13: 0000000000000001 R14: ffff9e3c88000000 R15: 0000000000000005
\[  181.844121\] FS:  00007c6e323bb5c0(0000) GS:ffff9e3f85f80000(0000) knlGS:0000000000000000
\[  181.844128\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  181.844134\] CR2: ffffffffffffffd6 CR3: 0000000140fbe000 CR4: 00000000003506e0
\[  181.844141\] Call Trace:
\[  181.844146\]  \<TASK\>
\[  181.844153\]  ? show\_regs+0x6d/0x80
\[  181.844167\]  ? \_\_die+0x24/0x80
\[  181.844179\]  ? page\_fault\_oops+0x99/0x1b0
\[  181.844192\]  ? do\_user\_addr\_fault+0x31d/0x6b0
\[  181.844204\]  ? exc\_page\_fault+0x83/0x1b0
\[  181.844216\]  ? asm\_exc\_page\_fault+0x27/0x30
\[  181.844237\]  dcn20\_get\_dcc\_compression\_cap+0x23/0x30 \[amdgpu\]
\[  181.845115\]  amdgpu\_dm\_plane\_validate\_dcc.constprop.0+0xe5/0x180 \[amdgpu\]
\[  181.845985\]  amdgpu\_dm\_plane\_fill\_plane\_buffer\_attributes+0x300/0x580 \[amdgpu\]
\[  181.846848\]  fill\_dc\_plane\_info\_and\_addr+0x258/0x350 \[amdgpu\]
\[  181.847734\]  fill\_dc\_plane\_attributes+0x162/0x350 \[amdgpu\]
\[  181.848748\]  dm\_update\_plane\_state.constprop.0+0x4e3/0x6b0 \[amdgpu\]
\[  181.849791\]  ? dm\_update\_plane\_state.constprop.0+0x4e3/0x6b0 \[amdgpu\]
\[  181.850840\]  amdgpu\_dm\_atomic\_check+0xdfe/0x1760 \[amdgpu\]

## Affected and fixed versions

- Linux: \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< dc4428bf483cb8335bb3377534d19b1b7e62ec5c; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 6940c1d0c84a34d5a2038714c218238101a1db5b; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 974fccd61758599a9716c4b909d9226749efe37e; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< ecbf60782662f0a388493685b85a645a0ba1613c (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-43899.md
Affected: Linux >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < dc4428bf483cb8335bb3377534d19b1b7e62ec5c; >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 6940c1d0c84a34d5a2038714c218238101a1db5b; >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 974fccd61758599a9716c4b909d9226749efe37e; >= 4562236b3bc0a28aeb6ee93…
Fixed in: Linux 6940c1d0c84a34d5a2038714c218238101a1db5b, Linux 974fccd61758599a9716c4b909d9226749efe37e

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-43899 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< dc4428bf483cb8335bb3377534d19b1b7e62ec5c; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 6940c1d0c84a34d5a2038714c218238101a1db5b; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 974fccd61758599a9716c4b909d9226749efe37e; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< ecbf60782662f0a388493685b85a645a0ba1613c; Linux 4.15.

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

Yes. Fixed in Linux 6940c1d0c84a34d5a2038714c218238101a1db5b, Linux 974fccd61758599a9716c4b909d9226749efe37e. No fix listed yet: follow the vendor advisory.

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

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/974fccd61758599a9716c4b909d9226749efe37e>
- patch: <https://git.kernel.org/stable/c/ecbf60782662f0a388493685b85a645a0ba1613c>
- other: <https://git.kernel.org/stable/c/dc4428bf483cb8335bb3377534d19b1b7e62ec5c>
- other: <https://git.kernel.org/stable/c/6940c1d0c84a34d5a2038714c218238101a1db5b>

## 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-43899>

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