accel/ivpu: Prevent recovery work from being queued during device removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.466.16.66.17In the Linux kernel, the following vulnerability has been resolved:
accel/ivpu: Prevent recovery work from being queued during device removal
Use disable_work_sync() instead of cancel_work_sync() in ivpu_dev_fini() to ensure that no new recovery work items can be queued after device removal has started. Previously, recovery work could be scheduled even after canceling existing work, potentially leading to use-after-free bugs if recovery accessed freed resources.
Rename ivpu_pm_cancel_recovery() to ivpu_pm_disable_recovery() to better reflect its new behavior.
From the CVE record · Linux
The Linux kernel's accel/ivpu driver could queue recovery work after device removal has started. If that work accesses freed resources, it could cause a use-after-free; the input does not specify an attack path, authentication requirement, or user interaction.
Engineers running Linux kernels with the accel/ivpu driver should check whether their kernel includes the fix; affected versions are not specified.