{"id":"CVE-2026-89807","aliases":["CVE-2026-89807"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: guard against NULL restore_mqd in CRIU queue restore","summary":"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->restore_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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->restore_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().","source":"cvelist"}],"published":"2026-09-16T10:30:40.572Z","modified":"2026-10-19T09:18:24.527Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"48f0bdf4e38e42b8285622cfcfc7e6e490b1a719","fixed":"19c73848493ab58e39649700da6de11710a36de1","status":"affected"},{"type":"git","introduced":"48f0bdf4e38e42b8285622cfcfc7e6e490b1a719","fixed":"ebffa44e7a21ead59ac4b4264e8fc2cbb44c4a21","status":"affected"},{"type":"git","introduced":"48f0bdf4e38e42b8285622cfcfc7e6e490b1a719","fixed":"c643c229babe2e8efc5eefe60e19d44868a643ff","status":"affected"},{"type":"git","introduced":"48f0bdf4e38e42b8285622cfcfc7e6e490b1a719","fixed":"6aa530642f95d5c48aa336416f94a35e7949b647","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/19c73848493ab58e39649700da6de11710a36de1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebffa44e7a21ead59ac4b4264e8fc2cbb44c4a21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c643c229babe2e8efc5eefe60e19d44868a643ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6aa530642f95d5c48aa336416f94a35e7949b647","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89807","url":"https://www.cve.org/CVERecord?id=CVE-2026-89807","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:01.788Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89807","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89807","licence":"Public domain","modified":"2026-10-19T09:18:24.527Z"}],"updatedAt":"2026-11-25T22:59:38.943Z","epss":{"score":0.002,"percentile":0.10332,"date":"2026-12-01T12:00:22.000Z"}}