Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-68230

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

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)

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 955220b04d42c41050158fec0f53957f320b96f9 to < f0ee42f47cc1b0a95d2d22ba352ff89fc0cd13d4affected
  • 955220b04d42c41050158fec0f53957f320b96f9 to < a45d6359eefb41e08d374a3260b10bff5626823baffected
  • 955220b04d42c41050158fec0f53957f320b96f9 to < eef72d856f978955e633c270abb1f7ec7b61c6d2affected
  • 955220b04d42c41050158fec0f53957f320b96f9 to < eb6e7f520d6efa4d4ebf1671455abe4a681f7a05affected

Linux Linux

Default version status: affected

  • 6.5affected
  • 0 to < 6.5unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.60 to ≤ 6.12.*unaffected
  • 6.17.10 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References