{"id":"CVE-2026-89828","revision":"8675b91258464e7dbf6d33922c117fea","records":[{"revision":"8675b91258464e7dbf6d33922c117fea","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-89828","aliases":[],"title":"drm/amdgpu: Fix init ordering in amdgpu_vram_mgr_init()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix init ordering in amdgpu_vram_mgr_init()\n\ndrmm_cgroup_register_region() is called before INIT_LIST_HEAD() and\ngpu_buddy_init() in amdgpu_vram_mgr_init(). If it fails, the function\nreturns early and bypasses those initializations.\n\nSince adev->mman.initialized is set to true before amdgpu_vram_mgr_init()\nis called, a failure triggers amdgpu_ttm_fini(), which calls\namdgpu_vram_mgr_fini(), which then:\n\n - Calls list_for_each_entry_safe() on reservations_pending and\n   reserved_pages, whose list_head::next pointers are zero-initialized\n   (NULL). The loop does not recognize them as empty and dereferences NULL.\n\n - Calls gpu_buddy_fini(), which iterates free_trees[] unconditionally\n   via for_each_free_tree(). Since mm->free_trees is NULL\n   (never allocated), this dereferences NULL.\n\nBoth result in a kernel panic on the module load error path.\n\nFix by moving drmm_cgroup_register_region() to after the list and buddy\nallocator are fully initialized, so the teardown path is safe to run.","state":0,"publishedAt":"2026-09-16T10:31:00.827+00:00","modifiedAt":"2026-10-19T08:53:21.989+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2b624a2c18656ea32e0849e7bc0018ba3c97ca64\",\n                            \"lessThan\": \"e184e46ca1ba652ab8053a10a51b39aad06d3f5c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2b624a2c18656ea32e0849e7bc0018ba3c97ca64\",\n                            \"lessThan\": \"3e234c6face8651045f46895dfe9c086ea64f03b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2b624a2c18656ea32e0849e7bc0018ba3c97ca64\",\n                            \"lessThan\": \"e773798e14ac0aea54ca9676083b91f445e5bc59\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.51\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.5\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/e184e46ca1ba652ab8053a10a51b39aad06d3f5c","https://git.kernel.org/stable/c/3e234c6face8651045f46895dfe9c086ea64f03b","https://git.kernel.org/stable/c/e773798e14ac0aea54ca9676083b91f445e5bc59"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89828","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-89828","identifiers":["CVE-2026-89828"]},"retained":false,"historicalAffected":[]}],"coverage":[]}