drm/amdgpu: fix gpu page fault after hibernation on PF passthrough
Summary
| CVE | CVE-2025-68230 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-16 14:15:57 UTC |
| Updated | 2026-10-21 13:18:21 UTC |
| 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) |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 955220b04d42c41050158fec0f53957f320b96f9 f0ee42f47cc1b0a95d2d22ba352ff89fc0cd13d4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 955220b04d42c41050158fec0f53957f320b96f9 a45d6359eefb41e08d374a3260b10bff5626823b git |
Not specified |
| CNA |
Linux |
Linux |
affected 955220b04d42c41050158fec0f53957f320b96f9 eef72d856f978955e633c270abb1f7ec7b61c6d2 git |
Not specified |
| CNA |
Linux |
Linux |
affected 955220b04d42c41050158fec0f53957f320b96f9 eb6e7f520d6efa4d4ebf1671455abe4a681f7a05 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.5 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.5 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.160 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.60 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.17.10 6.17.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/eb6e7f520d6efa4d4ebf1671455abe4a681f7a05 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a45d6359eefb41e08d374a3260b10bff5626823b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/eef72d856f978955e633c270abb1f7ec7b61c6d2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f0ee42f47cc1b0a95d2d22ba352ff89fc0cd13d4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.