5.5medium
drm/panthor: Recover from panthor_gpu_flush_caches() failures
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Recover from panthor_gpu_flush_caches() failures We have seen a few cases where the whole memory subsystem is blocked and flush operations never complete. When that happens, we want to: - schedule a reset, so we can recover from this situation - in the reset path, we need to reset the pending_reqs so we can send new commands after the reset - if more panthor_gpu_flush_caches() operations are queued after the timeout, we skip them and return -EIO directly to avoid needless waits (the memory block won't miraculously work again) Note that we drop the WARN_ON()s because these hangs can be triggered with buggy GPU jobs created by the UMD, and there's no way we can prevent it. We do keep the error messages though. v2: - New patch v3: - Collect R-b - Explicitly mention the fact we dropped the WARN_ON()s in the commit message v4: - No changes
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5cd894e258c4b0b92b9b475309cea244e590d194 before 8ec4f1b14a6147db07d6e51aa1d6bcc799649847, from 5cd894e258c4b0b92b9b475309cea244e590d194 before 57753f2c64c033a21a7400b3a2192db1cd6c890e, from 5cd894e258c4b0b92b9b475309cea244e590d194 before 2c899c6026fc9d39286735b30c4d8550d4ea075b, from 5cd894e258c4b0b92b9b475309cea244e590d194 before 3c0a60195b37af83bbbaf223cd3a78945bace49e, 6.10 Not affected: before 6.10, from 6.12.75 up to 6.12.*, from 6.18.14 up to 6.18.*, from 6.19.4 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.10 before 6.12.75, from 6.13 before 6.18.14, from 6.19 before 6.19.4 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Recover from panthor_gpu_flush_caches() failures We have seen a few cases where the whole memory subsystem is blocked and flush operations never complete. When that happens, we want to: - schedule a reset, so we can recover from this situation - in the reset path, we need to reset the pending_reqs so we can send new commands after the reset - if more panthor_gpu_flush_caches() operations are queued after the timeout, we skip them and return -EIO directly to avoid needless waits (the memory block won't miraculously work again) Note that we drop the WARN_ON()s because these hangs can be triggered with buggy GPU jobs created by the UMD, and there's no way we can prevent it. We do keep the error messages though. v2: - New patch v3: - Collect R-b - Explicitly mention the fact we dropped the WARN_ON()s in the commit message v4: - No changes
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/panthor: Recuperarse de fallos de panthor_gpu_flush_caches() Hemos visto algunos casos donde todo el subsistema de memoria está bloqueado y las operaciones de vaciado nunca se completan. Cuando eso sucede, queremos: - programar un reinicio, para que podamos recuperarnos de esta situación - en la ruta de reinicio, necesitamos reiniciar los pending_reqs para que podamos enviar nuevos comandos después del reinicio - si más operaciones de panthor_gpu_flush_caches() se ponen en cola después del tiempo de espera, las omitimos y devolvemos -EIO directamente para evitar esperas innecesarias (el bloque de memoria no volverá a funcionar milagrosamente) Tenga en cuenta que eliminamos los WARN_ON() porque estos bloqueos pueden ser provocados con trabajos de GPU defectuosos creados por el UMD, y no hay forma de que podamos evitarlo. Sí mantenemos los mensajes de error, sin embargo. v2: - Nuevo parche v3: - Recopilar R-b - Mencionar explícitamente el hecho de que eliminamos los WARN_ON() en el mensaje de commit v4: - Sin cambios
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71314 changed 2026-06-03 | CVE Terms of Use |
| NVD | CVE-2025-71314 changed 2026-07-22 | Public domain |