# CVE-2025-68230: drm/amdgpu: fix gpu page fault after hibernation on PF passthrough

- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-12-16T13:57:22.787Z
- Modified: 2026-10-21T13:18:21.477Z
- Assigned by: Linux

## Description

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

drm/amdgpu: fix gpu page fault after hibernation on PF passthrough

On PF passthrough environment, after hibernate and then resume, coralgemm
will cause gpu page fault.

Mode1 reset happens during hibernate, but partition mode is not restored
on resume, register mmCP_HYP_XCP_CTL and mmCP_PSP_XCP_CTL is not right
after resume. When CP access the MQD BO, wrong stride size is used,
this will cause out of bound access on the MQD BO, resulting page fault.

The fix is to ensure gfx_v9_4_3_switch_compute_partition() is called
when resume from a hibernation.
KFD resume is called separately during a reset recovery or resume from
suspend sequence. Hence it's not required to be called as part of
partition switch.

(cherry picked from commit 5d1b32cfe4a676fe552416cb5ae847b215463a1a)

(As written by CVE List.)

## Affected

- Linux Linux: from 955220b04d42c41050158fec0f53957f320b96f9 before f0ee42f47cc1b0a95d2d22ba352ff89fc0cd13d4; from 955220b04d42c41050158fec0f53957f320b96f9 before a45d6359eefb41e08d374a3260b10bff5626823b; from 955220b04d42c41050158fec0f53957f320b96f9 before eef72d856f978955e633c270abb1f7ec7b61c6d2; from 955220b04d42c41050158fec0f53957f320b96f9 before eb6e7f520d6efa4d4ebf1671455abe4a681f7a05; 6.5 (not affected: before 6.5; from 6.6.160 up to 6.6.*; from 6.12.60 up to 6.12.*; from 6.17.10 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/f0ee42f47cc1b0a95d2d22ba352ff89fc0cd13d4>
- <https://git.kernel.org/stable/c/a45d6359eefb41e08d374a3260b10bff5626823b>
- <https://git.kernel.org/stable/c/eef72d856f978955e633c270abb1f7ec7b61c6d2>
- <https://git.kernel.org/stable/c/eb6e7f520d6efa4d4ebf1671455abe4a681f7a05>

## Sources

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

---

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