{"id":"CVE-2026-89815","revision":"d0c4e99abac7436abca15a1cde751f5e","records":[{"revision":"d0c4e99abac7436abca15a1cde751f5e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-89815","aliases":[],"title":"drm/ttm: Drop tt->restore after successful restore","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: Drop tt->restore after successful restore\n\nttm_pool_restore_and_alloc() can successfully complete the restore\nprocess via ttm_pool_restore_commit(), but tt->restore is not dropped\nafterward. As a result, subsequent backup/restore flows observe what\nappears to be a completed restore, while in reality shmem handles are\nstill installed in tt->pages, leading to the stack trace below.\n\nFix this by freeing and dropping tt->restore in\nttm_pool_restore_and_alloc() upon successful completion of the restore.\n\n20545 [\u00A0 309.784531] RIP: 0010:sg_alloc_append_table_from_pages+0x38c/0x490\n20547 [\u00A0 309.809570] RSP: 0018:ffffc9000623b838 EFLAGS: 00010206\n20548 [\u00A0 309.814827] RAX: 0000000000001000 RBX: ffff88816e42a160 RCX: 0000000000000000\n20549 [\u00A0 309.821986] RDX: 0000000000002000 RSI: 0000000000000003 RDI: 0000000000001000\n20550 [\u00A0 309.829147] RBP: ffff88816e42a168 R08: 0000000000000002 R09: 000000007ffff000\n20551 [\u00A0 309.836310] R10: ffffc9000623b928 R11: 0000000000000000 R12: 000000007ffff000\n20552 [\u00A0 309.843471] R13: ffff88815ba5a100 R14: 0000000000000000 R15: 0000000000000001\n20553 [\u00A0 309.850634] FS:\u00A0 00007f9ff305e700(0000) GS:ffff888276c94000(0000) knlGS:0000000000000000\n20554 [\u00A0 309.858749] CS:\u00A0 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n20555 [\u00A0 309.864519] CR2: 00007f9fca701000 CR3: 00000001565e2005 CR4: 0000000008f70ef0\n20556 [\u00A0 309.871678] PKRU: 55555558\n20557 [\u00A0 309.874403] Call Trace:\n20558 [\u00A0 309.876866]\u00A0 <TASK>\n20559 [\u00A0 309.878988]\u00A0 sg_alloc_table_from_pages_segment+0x60/0x100\n20560 [\u00A0 309.884415]\u00A0 ? ttm_resource_manager_usage+0x36/0x60 [ttm]\n20561 [\u00A0 309.889845]\u00A0 ? xe_tt_map_sg+0x7d/0xd0 [xe]\n20562 [\u00A0 309.894045]\u00A0 xe_tt_map_sg+0x7d/0xd0 [xe]\n20563 [\u00A0 309.898037]\u00A0 xe_bo_move+0x927/0xaa0 [xe]\n20564 [\u00A0 309.902029]\u00A0 ttm_bo_handle_move_mem+0xba/0x170 [ttm]\n20565 [\u00A0 309.907022]\u00A0 ttm_bo_validate+0xbe/0x190 [ttm]\n20566 [\u00A0 309.911405]\u00A0 xe_bo_validate+0x9a/0x120 [xe]\n20567 [\u00A0 309.915663]\u00A0 xe_gpuvm_validate+0xd9/0x140 [xe]\n20568 [\u00A0 309.920206]\u00A0 drm_gpuvm_validate+0x2f0/0x5b0 [drm_gpuvm]\n20569 [\u00A0 309.925459]\u00A0 ? drm_exec_lock_obj+0x63/0x210 [drm_exec]\n20570 [\u00A0 309.930627]\u00A0 xe_vm_validate_rebind+0x46/0xb0 [xe]\n20571 [\u00A0 309.935428]\u00A0 xe_exec_fn+0x20/0x40 [xe]\n20572 [\u00A0 309.939249]\u00A0 drm_gpuvm_exec_lock+0x78/0xc0 [drm_gpuvm]\n20573 [\u00A0 309.944410]\u00A0 xe_validation_exec_lock+0x5a/0xa0 [xe]\n20574 [\u00A0 309.949385]\u00A0 xe_exec_ioctl+0x806/0xc30 [xe]\n20575 [\u00A0 309.953639]\u00A0 ? ttwu_queue_wakelist+0xd9/0xf0\n20576 [\u00A0 309.957935]\u00A0 ? __pfx_xe_exec_fn+0x10/0x10 [xe]\n20577 [\u00A0 309.962449]\u00A0 ? __wake_up_common+0x73/0xa0\n20578 [\u00A0 309.966482]\u00A0 ? __pfx_xe_exec_ioctl+0x10/0x10 [xe]\n20579 [\u00A0 309.971263]\u00A0 drm_ioctl_kernel+0xa3/0x100\n20580 [\u00A0 309.975209]\u00A0 drm_ioctl+0x213/0x440\n20581 [\u00A0 309.978637]\u00A0 ? __pfx_xe_exec_ioctl+0x10/0x10 [xe]\n20582 [\u00A0 309.983415]\u00A0 xe_drm_ioctl+0x67/0xd0 [xe]\n20583 [\u00A0 309.987408]\u00A0 __x64_sys_ioctl+0x7f/0xd0","state":0,"publishedAt":"2026-09-16T10:30:48.133+00:00","modifiedAt":"2026-10-19T08:53:09.454+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/ttm/ttm_pool.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"b63d715b8090aed48bdef5930625946fa4c0d324\",\n                            \"lessThan\": \"329ddc5d438f991f49e4fd24c704d1c7288d5e03\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b63d715b8090aed48bdef5930625946fa4c0d324\",\n                            \"lessThan\": \"a46ab76b6cf5478e2ac7b942a377c7a1827b436a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b63d715b8090aed48bdef5930625946fa4c0d324\",\n                            \"lessThan\": \"941ac10529b3be5965a88d432a161ab459672ba8\",\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/ttm/ttm_pool.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\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":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/329ddc5d438f991f49e4fd24c704d1c7288d5e03","https://git.kernel.org/stable/c/a46ab76b6cf5478e2ac7b942a377c7a1827b436a","https://git.kernel.org/stable/c/941ac10529b3be5965a88d432a161ab459672ba8"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89815","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-89815","identifiers":["CVE-2026-89815"]},"retained":false,"historicalAffected":[]}],"coverage":[]}