CVE-2025-68230
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
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)

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List

What each source says

CVE List

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)

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amdgpu: corrige el fallo de página de la GPU después de la hibernación en el passthrough de PF En un entorno de passthrough de PF, después de hibernar y luego reanudar, coralgemm causará un fallo de página de la GPU. El reinicio de Modo1 ocurre durante la hibernación, pero el modo de partición no se restaura al reanudar, y el registro mmCP_HYP_XCP_CTL y mmCP_PSP_XCP_CTL no es correcto después de la reanudación. Cuando la CP accede al MQD BO, se utiliza un tamaño de paso incorrecto, lo que causará un acceso fuera de límites en el MQD BO, resultando en un fallo de página. La solución es asegurar que gfx_v9_4_3_switch_compute_partition() sea llamada al reanudar desde una hibernación. La reanudación de KFD se llama por separado durante una recuperación de reinicio o una secuencia de reanudación desde suspensión. Por lo tanto, no es necesario que sea llamada como parte de la conmutación de partición. (seleccionado de la confirmación 5d1b32cfe4a676fe552416cb5ae847b215463a1a)

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68230 changed 2026-10-21CVE Terms of Use
NVDCVE-2025-68230 changed 2026-10-21Public domain