7.8high
drm/panthor: Fix UAF race between device unplug and FW event processing
- Severity
- 7.8high CVSS:3.1 by Linux
- 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: Fix UAF race between device unplug and FW event processing The function panthor_fw_unplug() will free the FW memory sections. The problem is that there could still be pending FW events which are yet not handled at this point. process_fw_events_work() can in this case try to access said freed memory. Simply call disable_work_sync() to both drain and prevent future invocation of process_fw_events_work().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from de85488138247d034eb3241840424a54d660926b before 31db188355a49337e3e8ec98b99377e482eab22c, from de85488138247d034eb3241840424a54d660926b before 5e3ff56d4cb591daea70786d07dc21d06dc34108, from de85488138247d034eb3241840424a54d660926b before 6c1da9ae2c123a9ffda5375e64cc81f9ed3cc04a, from de85488138247d034eb3241840424a54d660926b before 7051f6ba968fa69918d72cc26de4d6cf7ea05b90, 6.10 Not affected: before 6.10, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.*, from 6.18.2 up to 6.18.*, from 6.19 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix UAF race between device unplug and FW event processing The function panthor_fw_unplug() will free the FW memory sections. The problem is that there could still be pending FW events which are yet not handled at this point. process_fw_events_work() can in this case try to access said freed memory. Simply call disable_work_sync() to both drain and prevent future invocation of process_fw_events_work().
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/panthor: Corrección de la condición de carrera UAF entre la desconexión del dispositivo y el procesamiento de eventos de FW La función panthor_fw_unplug() liberará las secciones de memoria de FW. El problema es que aún podría haber eventos de FW pendientes que aún no se han manejado en este punto. process_fw_events_work() puede en este caso intentar acceder a dicha memoria liberada. Simplemente se llama a disable_work_sync() para tanto vaciar como prevenir futuras invocaciones de process_fw_events_work().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68748 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-68748 changed 2026-10-13 | Public domain |