Linux
drm/panthor: Fix UAF race between device unplug and FW event processing
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= de85488138247d034eb3241840424a54d660926b, < 31db188355a49337e3e8ec98b99377e482eab22c
- >= de85488138247d034eb3241840424a54d660926b, < 5e3ff56d4cb591daea70786d07dc21d06dc34108
- >= de85488138247d034eb3241840424a54d660926b, < 6c1da9ae2c123a9ffda5375e64cc81f9ed3cc04a
- >= de85488138247d034eb3241840424a54d660926b, < 7051f6ba968fa69918d72cc26de4d6cf7ea05b90
Fixed in 31db188355a49337e3e8ec98b99377e482eab22c, 5e3ff56d4cb591daea70786d07dc21d06dc34108, 6c1da9ae2c123a9ffda5375e64cc81f9ed3cc04a, 7051f6ba968fa69918d72cc26de4d6cf7ea05b90
- 6.10
Fixed in 0, 6.12.63, 6.17.13, 6.18.2, 6.19
Mitigation
Upgrade Linux to 31db188355a49337e3e8ec98b99377e482eab22c or 5e3ff56d4cb591daea70786d07dc21d06dc34108 or 6c1da9ae2c123a9ffda5375e64cc81f9ed3cc04a or 7051f6ba968fa69918d72cc26de4d6cf7ea05b90 or later.
Upgrade Linux to 0 or 6.12.63 or 6.17.13 or 6.18.2 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.