# CVE-2026-89807: drm/amdkfd: guard against NULL restore_mqd in CRIU queue restore

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-16T10:30:40.572Z
- Modified: 2026-10-19T09:18:24.527Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: guard against NULL restore_mqd in CRIU queue restore

Both create_queue_cpsch() and create_queue_nocpsch() unconditionally
call mqd_mgr->restore_mqd() when a CRIU restore is in progress
(qd != NULL), with no NULL guard. On any system where restore_mqd is
not implemented for the given queue type, a user holding
CAP_CHECKPOINT_RESTORE can trigger a kernel NULL pointer dereference
and panic the machine by issuing KFD_IOC_CRIU_OP_RESTORE with a
crafted queue restore object. Note that checkpoint_mqd is likewise
unimplemented on GFX12, so no legitimate CRIU image can reach this
path — only a hand-crafted restore payload.

Add a NULL guard for restore_mqd immediately after mqd_mgr is
resolved, unwinding via the existing error labels and returning
-EOPNOTSUPP if the callback is not implemented. This mirrors the
existing checkpoint_mqd guard in checkpoint_mqd().

(As written by CVE List.)

## Affected

- Linux Linux: from 48f0bdf4e38e42b8285622cfcfc7e6e490b1a719 before 19c73848493ab58e39649700da6de11710a36de1; from 48f0bdf4e38e42b8285622cfcfc7e6e490b1a719 before ebffa44e7a21ead59ac4b4264e8fc2cbb44c4a21; from 48f0bdf4e38e42b8285622cfcfc7e6e490b1a719 before c643c229babe2e8efc5eefe60e19d44868a643ff; from 48f0bdf4e38e42b8285622cfcfc7e6e490b1a719 before 6aa530642f95d5c48aa336416f94a35e7949b647; 6.11 (not affected: before 6.11; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/19c73848493ab58e39649700da6de11710a36de1>
- <https://git.kernel.org/stable/c/ebffa44e7a21ead59ac4b4264e8fc2cbb44c4a21>
- <https://git.kernel.org/stable/c/c643c229babe2e8efc5eefe60e19d44868a643ff>
- <https://git.kernel.org/stable/c/6aa530642f95d5c48aa336416f94a35e7949b647>

## Sources

- CVE List: [CVE-2026-89807](https://www.cve.org/CVERecord?id=CVE-2026-89807), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89807](https://nvd.nist.gov/vuln/detail/CVE-2026-89807), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89807 · Whole record: https://cve.day/CVE-2026-89807.json · Rebuilt by cve.day 2026-11-25T22:59:38.943Z
