CVE-2024-57921
drm/amdgpu: Add a lock when accessing the buddy trim function
Mitigation
- Upgrade Linux to 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a or later.
Who should check
- Anyone running Linux >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 758e3c3054b65336cf0c5f240221f63b4fb98478; >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a
- Anyone running Linux 6.11
Vulnerability facts
- Affected
- Linux >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 758e3c3054b65336cf0c5f240221f63b4fb98478; >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a; Linux 6.11
- Fixed in
- Linux 758e3c3054b65336cf0c5f240221f63b4fb98478, Linux 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Add a lock when accessing the buddy trim function When running YouTube videos and Steam games simultaneously, the tester found a system hang / race condition issue with the multi-display configuration setting. Adding a lock to the buddy allocator's trim function would be the solution. <log snip> [ 7197.250436] general protection fault, probably for non-canonical address 0xdead000000000108 [ 7197.250447] RIP: 0010:__alloc_range+0x8b/0x340 [amddrm_buddy] [ 7197.250470] Call Trace: [ 7197.250472] <TASK> [ 7197.250475] ? show_regs+0x6d/0x80 [ 7197.250481] ? die_addr+0x37/0xa0 [ 7197.250483] ? exc_general_protection+0x1db/0x480 [ 7197.250488] ? drm_suballoc_new+0x13c/0x93d [drm_suballoc_helper] [ 7197.250493] ? asm_exc_general_protection+0x27/0x30 [ 7197.250498] ? __alloc_range+0x8b/0x340 [amddrm_buddy] [ 7197.250501] ? __alloc_range+0x109/0x340 [amddrm_buddy] [ 7197.250506] amddrm_buddy_block_trim+0x1b5/0x260 [amddrm_buddy] [ 7197.250511] amdgpu_vram_mgr_new+0x4f5/0x590 [amdgpu] [ 7197.250682] amdttm_resource_alloc+0x46/0xb0 [amdttm] [ 7197.250689] ttm_bo_alloc_resource+0xe4/0x370 [amdttm] [ 7197.250696] amdttm_bo_validate+0x9d/0x180 [amdttm] [ 7197.250701] amdgpu_bo_pin+0x15a/0x2f0 [amdgpu] [ 7197.250831] amdgpu_dm_plane_helper_prepare_fb+0xb2/0x360 [amdgpu] [ 7197.251025] ? try_wait_for_completion+0x59/0x70 [ 7197.251030] drm_atomic_helper_prepare_planes.part.0+0x2f/0x1e0 [ 7197.251035] drm_atomic_helper_prepare_planes+0x5d/0x70 [ 7197.251037] drm_atomic_helper_commit+0x84/0x160 [ 7197.251040] drm_atomic_nonblocking_commit+0x59/0x70 [ 7197.251043] drm_mode_atomic_ioctl+0x720/0x850 [ 7197.251047] ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 [ 7197.251049] drm_ioctl_kernel+0xb9/0x120 [ 7197.251053] ? srso_alias_return_thunk+0x5/0xfbef5 [ 7197.251056] drm_ioctl+0x2d4/0x550 [ 7197.251058] ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 [ 7197.251063] amdgpu_drm_ioctl+0x4e/0x90 [amdgpu] [ 7197.251186] __x64_sys_ioctl+0xa0/0xf0 [ 7197.251190] x64_sys_call+0x143b/0x25c0 [ 7197.251193] do_syscall_64+0x7f/0x180 [ 7197.251197] ? srso_alias_return_thunk+0x5/0xfbef5 [ 7197.251199] ? amdgpu_display_user_framebuffer_create+0x215/0x320 [amdgpu] [ 7197.251329] ? drm_internal_framebuffer_create+0xb7/0x1a0 [ 7197.251332] ? srso_alias_return_thunk+0x5/0xfbef5 (cherry picked from commit 3318ba94e56b9183d0304577c74b33b6b01ce516)
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57921. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57921.md Affected: Linux >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 758e3c3054b65336cf0c5f240221f63b4fb98478; >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a; Linux 6.11 Fixed in: Linux 758e3c3054b65336cf0c5f240221f63b4fb98478, Linux 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a 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.
References
FAQ
Is CVE-2024-57921 being exploited?
There is no confirmed exploitation: CVE-2024-57921 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57921?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57921?
Linux >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 758e3c3054b65336cf0c5f240221f63b4fb98478; >= 4a5ad08f537703c35cf7cc29845381805c891d9b, < 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a; Linux 6.11.
Is there a fix for CVE-2024-57921?
Yes. Fixed in Linux 758e3c3054b65336cf0c5f240221f63b4fb98478, Linux 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a. Upgrade Linux to 75c8b703e5bded1e33b08fb09b829e7c2c1ed50a or later.
How do I check if I'm affected by CVE-2024-57921?
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.