{"id":"CVE-2026-89807","summary":"drm/amdkfd: guard against NULL restore_mqd in CRIU queue restore","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: guard against NULL restore_mqd in CRIU queue restore\n\nBoth create_queue_cpsch() and create_queue_nocpsch() unconditionally\ncall mqd_mgr-\u003erestore_mqd() when a CRIU restore is in progress\n(qd != NULL), with no NULL guard. On any system where restore_mqd is\nnot implemented for the given queue type, a user holding\nCAP_CHECKPOINT_RESTORE can trigger a kernel NULL pointer dereference\nand panic the machine by issuing KFD_IOC_CRIU_OP_RESTORE with a\ncrafted queue restore object. Note that checkpoint_mqd is likewise\nunimplemented on GFX12, so no legitimate CRIU image can reach this\npath — only a hand-crafted restore payload.\n\nAdd a NULL guard for restore_mqd immediately after mqd_mgr is\nresolved, unwinding via the existing error labels and returning\n-EOPNOTSUPP if the callback is not implemented. This mirrors the\nexisting checkpoint_mqd guard in checkpoint_mqd().","modified":"2026-09-18T03:48:32.738075547Z","published":"2026-09-16T10:30:40.572Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89807.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19c73848493ab58e39649700da6de11710a36de1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6aa530642f95d5c48aa336416f94a35e7949b647"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c643c229babe2e8efc5eefe60e19d44868a643ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebffa44e7a21ead59ac4b4264e8fc2cbb44c4a21"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89807.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89807"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"48f0bdf4e38e42b8285622cfcfc7e6e490b1a719"},{"fixed":"19c73848493ab58e39649700da6de11710a36de1"},{"fixed":"ebffa44e7a21ead59ac4b4264e8fc2cbb44c4a21"},{"fixed":"c643c229babe2e8efc5eefe60e19d44868a643ff"},{"fixed":"6aa530642f95d5c48aa336416f94a35e7949b647"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89807.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89807.json"}}],"schema_version":"1.9.0"}