# CVE-2024-56551: drm/amdgpu: fix usage slab after free

> 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.31% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-12-27T14:22:53.318Z
- **Modified:** 2026-08-05T11:44:59.557Z

## Who should check

- Anyone running Linux \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 3cc1116de10953f0265a05d9f351b02a9ec3b497; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 05b1b33936b71e5f189a813a517f72e8a27fcb2f; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 3990ef742c064e22189b954522930db04fc6b1a7; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 6383199ada42d30562b4249c393592a2a9c38165; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b61badd20b443eabe132314669bb51a263982e5c
- Anyone running Linux 4.2

## Description

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

drm/amdgpu: fix usage slab after free

\[  +0.000021\] BUG: KASAN: slab-use-after-free in drm\_sched\_entity\_flush+0x6cb/0x7a0 \[gpu\_sched\]
\[  +0.000027\] Read of size 8 at addr ffff8881b8605f88 by task amd\_pci\_unplug/2147

\[  +0.000023\] CPU: 6 PID: 2147 Comm: amd\_pci\_unplug Not tainted 6.10.0+ \#1
\[  +0.000016\] Hardware name: ASUS System Product Name/ROG STRIX B550-F GAMING (WI-FI), BIOS 1401 12/03/2020
\[  +0.000016\] Call Trace:
\[  +0.000008\]  \<TASK\>
\[  +0.000009\]  dump\_stack\_lvl+0x76/0xa0
\[  +0.000017\]  print\_report+0xce/0x5f0
\[  +0.000017\]  ? drm\_sched\_entity\_flush+0x6cb/0x7a0 \[gpu\_sched\]
\[  +0.000019\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000015\]  ? kasan\_complete\_mode\_report\_info+0x72/0x200
\[  +0.000016\]  ? drm\_sched\_entity\_flush+0x6cb/0x7a0 \[gpu\_sched\]
\[  +0.000019\]  kasan\_report+0xbe/0x110
\[  +0.000015\]  ? drm\_sched\_entity\_flush+0x6cb/0x7a0 \[gpu\_sched\]
\[  +0.000023\]  \_\_asan\_report\_load8\_noabort+0x14/0x30
\[  +0.000014\]  drm\_sched\_entity\_flush+0x6cb/0x7a0 \[gpu\_sched\]
\[  +0.000020\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000013\]  ? \_\_kasan\_check\_write+0x14/0x30
\[  +0.000016\]  ? \_\_pfx\_drm\_sched\_entity\_flush+0x10/0x10 \[gpu\_sched\]
\[  +0.000020\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000013\]  ? \_\_kasan\_check\_write+0x14/0x30
\[  +0.000013\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000013\]  ? enable\_work+0x124/0x220
\[  +0.000015\]  ? \_\_pfx\_enable\_work+0x10/0x10
\[  +0.000013\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000014\]  ? free\_large\_kmalloc+0x85/0xf0
\[  +0.000016\]  drm\_sched\_entity\_destroy+0x18/0x30 \[gpu\_sched\]
\[  +0.000020\]  amdgpu\_vce\_sw\_fini+0x55/0x170 \[amdgpu\]
\[  +0.000735\]  ? \_\_kasan\_check\_read+0x11/0x20
\[  +0.000016\]  vce\_v4\_0\_sw\_fini+0x80/0x110 \[amdgpu\]
\[  +0.000726\]  amdgpu\_device\_fini\_sw+0x331/0xfc0 \[amdgpu\]
\[  +0.000679\]  ? mutex\_unlock+0x80/0xe0
\[  +0.000017\]  ? \_\_pfx\_amdgpu\_device\_fini\_sw+0x10/0x10 \[amdgpu\]
\[  +0.000662\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000014\]  ? \_\_kasan\_check\_write+0x14/0x30
\[  +0.000013\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000013\]  ? mutex\_unlock+0x80/0xe0
\[  +0.000016\]  amdgpu\_driver\_release\_kms+0x16/0x80 \[amdgpu\]
\[  +0.000663\]  drm\_minor\_release+0xc9/0x140 \[drm\]
\[  +0.000081\]  drm\_release+0x1fd/0x390 \[drm\]
\[  +0.000082\]  \_\_fput+0x36c/0xad0
\[  +0.000018\]  \_\_fput\_sync+0x3c/0x50
\[  +0.000014\]  \_\_x64\_sys\_close+0x7d/0xe0
\[  +0.000014\]  x64\_sys\_call+0x1bc6/0x2680
\[  +0.000014\]  do\_syscall\_64+0x70/0x130
\[  +0.000014\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000014\]  ? irqentry\_exit\_to\_user\_mode+0x60/0x190
\[  +0.000015\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000014\]  ? irqentry\_exit+0x43/0x50
\[  +0.000012\]  ? srso\_return\_thunk+0x5/0x5f
\[  +0.000013\]  ? exc\_page\_fault+0x7c/0x110
\[  +0.000015\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
\[  +0.000014\] RIP: 0033:0x7ffff7b14f67
\[  +0.000013\] Code: ff e8 0d 16 02 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 03 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 41 c3 48 83 ec 18 89 7c 24 0c e8 73 ba f7 ff
\[  +0.000026\] RSP: 002b:00007fffffffe378 EFLAGS: 00000246 ORIG\_RAX: 0000000000000003
\[  +0.000019\] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ffff7b14f67
\[  +0.000014\] RDX: 0000000000000000 RSI: 00007ffff7f6f47a RDI: 0000000000000003
\[  +0.000014\] RBP: 00007fffffffe3a0 R08: 0000555555569890 R09: 0000000000000000
\[  +0.000014\] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffffffe5c8
\[  +0.000013\] R13: 00005555555552a9 R14: 0000555555557d48 R15: 00007ffff7ffd040
\[  +0.000020\]  \</TASK\>

\[  +0.000016\] Allocated by task 383 on cpu 7 at 26.880319s:
\[  +0.000014\]  kasan\_save\_stack+0x28/0x60
\[  +0.000008\]  kasan\_save\_track+0x18/0x70
\[  +0.000007\]  kasan\_save\_alloc\_info+0x38/0x60
\[  +0.000007\]  \_\_kasan\_kmalloc+0xc1/0xd0
\[  +0.000007\]  kmalloc\_trace\_noprof+0x180/0x380
\[  +0.000007\]  drm\_sched\_init+0x411/0xec0 \[gpu\_sched\]
\[  +0.000012\]  amdgpu\_device\_init+0x695f/0xa610 \[amdgpu\]
\[  +0.000658\]  amdgpu\_driver\_load\_kms+0x1a/0x120 \[amdgpu\]
\[  +0.000662\]  amdgpu\_pci\_p
---truncated---

## Affected and fixed versions

- Linux: \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 3cc1116de10953f0265a05d9f351b02a9ec3b497; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 05b1b33936b71e5f189a813a517f72e8a27fcb2f; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 3990ef742c064e22189b954522930db04fc6b1a7; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 6383199ada42d30562b4249c393592a2a9c38165; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b61badd20b443eabe132314669bb51a263982e5c (cvelist)
- Linux: 4.2 (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-56551. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56551.md
Affected: Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3cc1116de10953f0265a05d9f351b02a9ec3b497; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 05b1b33936b71e5f189a813a517f72e8a27fcb2f; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3990ef742c064e22189b954522930db04fc6b1a7; >= d38ceaf99ed015f2a0b9af3…
Fixed in: Linux 3cc1116de10953f0265a05d9f351b02a9ec3b497, Linux 05b1b33936b71e5f189a813a517f72e8a27fcb2f, Linux 3990ef742c064e22189b954522930db04fc6b1a7, Linux 6383199ada42d30562b4249c393592a2a9c38165

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

There is no confirmed exploitation: CVE-2024-56551 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-56551?

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

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

Linux \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 3cc1116de10953f0265a05d9f351b02a9ec3b497; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 05b1b33936b71e5f189a813a517f72e8a27fcb2f; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 3990ef742c064e22189b954522930db04fc6b1a7; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 6383199ada42d30562b4249c393592a2a9c38165; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b61badd20b443eabe132314669bb51a263982e5c; Linux 4.2.

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

Yes. Fixed in Linux 3cc1116de10953f0265a05d9f351b02a9ec3b497, Linux 05b1b33936b71e5f189a813a517f72e8a27fcb2f, Linux 3990ef742c064e22189b954522930db04fc6b1a7, Linux 6383199ada42d30562b4249c393592a2a9c38165. No fix listed yet: follow the vendor advisory.

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

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/3990ef742c064e22189b954522930db04fc6b1a7>
- patch: <https://git.kernel.org/stable/c/6383199ada42d30562b4249c393592a2a9c38165>
- patch: <https://git.kernel.org/stable/c/b61badd20b443eabe132314669bb51a263982e5c>
- other: <https://git.kernel.org/stable/c/3cc1116de10953f0265a05d9f351b02a9ec3b497>
- other: <https://git.kernel.org/stable/c/05b1b33936b71e5f189a813a517f72e8a27fcb2f>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

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

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