accel/ivpu: Fix deadlock in context_xa
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.6.286.8.76.9In the Linux kernel, the following vulnerability has been resolved:
accel/ivpu: Fix deadlock in context_xa
ivpu_device->context_xa is locked both in kernel thread and IRQ context. It requires XA_FLAGS_LOCK_IRQ flag to be passed during initialization otherwise the lock could be acquired from a thread and interrupted by an IRQ that locks it for the second time causing the deadlock.
This deadlock was reported by lockdep and observed in internal tests.
From the CVE record · Linux
The Linux kernel’s accel/ivpu driver can deadlock if an IRQ interrupts a thread holding the context_xa lock and tries to acquire it again. The deadlock was observed in internal tests; the input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running the Linux kernel should check whether their kernel includes the accel/ivpu fix; affected versions were not specified.