CVE-2026-89828
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amdgpu: Fix init ordering in amdgpu_vram_mgr_init()<br />
<br />
drmm_cgroup_register_region() is called before INIT_LIST_HEAD() and<br />
gpu_buddy_init() in amdgpu_vram_mgr_init(). If it fails, the function<br />
returns early and bypasses those initializations.<br />
<br />
Since adev->mman.initialized is set to true before amdgpu_vram_mgr_init()<br />
is called, a failure triggers amdgpu_ttm_fini(), which calls<br />
amdgpu_vram_mgr_fini(), which then:<br />
<br />
- Calls list_for_each_entry_safe() on reservations_pending and<br />
reserved_pages, whose list_head::next pointers are zero-initialized<br />
(NULL). The loop does not recognize them as empty and dereferences NULL.<br />
<br />
- Calls gpu_buddy_fini(), which iterates free_trees[] unconditionally<br />
via for_each_free_tree(). Since mm->free_trees is NULL<br />
(never allocated), this dereferences NULL.<br />
<br />
Both result in a kernel panic on the module load error path.<br />
<br />
Fix by moving drmm_cgroup_register_region() to after the list and buddy<br />
allocator are fully initialized, so the teardown path is safe to run.


