drm/amdgpu: fix gpu page fault after hibernation on PF passthrough
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.60, 6.17.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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)
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 955220b04d42c41050158fec0f53957f320b96f9 · fixed in f0ee42f47cc1b0a95d2d22ba352ff89fc0cd13d4; From 955220b04d42c41050158fec0f53957f320b96f9 · fixed in a45d6359eefb41e08d374a3260b10bff5626823b; From 955220b04d42c41050158fec0f53957f320b96f9 · fixed in eef72d856f978955e633c270abb1f7ec7b61c6d2; From 955220b04d42c41050158fec0f53957f320b96f9 · fixed in eb6e7f520d6efa4d4ebf1671455abe4a681f7a05
- Linux Linux
6.5
- KernelLinux
From 6.5.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.60; From 6.13.0 · fixed in 6.17.10