5.5medium
accel/amdxdna: Fix dead lock for suspend and resume
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.10% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix dead lock for suspend and resume When an application issues a query IOCTL while auto suspend is running, a deadlock can occur. The query path holds dev_lock and then calls pm_runtime_resume_and_get(), which waits for the ongoing suspend to complete. Meanwhile, the suspend callback attempts to acquire dev_lock and blocks, resulting in a deadlock. Fix this by releasing dev_lock before calling pm_runtime_resume_and_get() and reacquiring it after the call completes. Also acquire dev_lock in the resume callback to keep the locking consistent.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 063db451832b8849faf1b0b8404b3a6a39995b29 before ac24537478dd8eb2fd3984b4652bb19461e5e74c, from 063db451832b8849faf1b0b8404b3a6a39995b29 before 1aa82181a3c285c7351523d587f7981ae4c015c8, 3bdd26582d026bdd86aa76f03989a1137b2490a0, from 6.18.57 before 6.19, 6.19 Not affected: before 6.19, from 6.19.7 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19 before 6.19.7, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix dead lock for suspend and resume When an application issues a query IOCTL while auto suspend is running, a deadlock can occur. The query path holds dev_lock and then calls pm_runtime_resume_and_get(), which waits for the ongoing suspend to complete. Meanwhile, the suspend callback attempts to acquire dev_lock and blocks, resulting in a deadlock. Fix this by releasing dev_lock before calling pm_runtime_resume_and_get() and reacquiring it after the call completes. Also acquire dev_lock in the resume callback to keep the locking consistent.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: accel/amdxdna: Solución para el interbloqueo en suspensión y reanudación Cuando una aplicación emite una consulta IOCTL mientras la suspensión automática está en ejecución, puede producirse un interbloqueo. La ruta de consulta mantiene dev_lock y luego llama a pm_runtime_resume_and_get(), que espera a que la suspensión en curso finalice. Mientras tanto, la devolución de llamada de suspensión intenta adquirir dev_lock y se bloquea, lo que resulta en un interbloqueo. Esto se soluciona liberando dev_lock antes de llamar a pm_runtime_resume_and_get() y volviéndolo a adquirir después de que la llamada finalice. También se adquiere dev_lock en la devolución de llamada de reanudación para mantener la consistencia del bloqueo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23295 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2026-23295 changed 2026-10-15 | Public domain |