drm/panthor: Always use the IRQ-safe variant when acquiring the fence lock
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: Always use the IRQ-safe variant when acquiring the fence lock
Since dma_fence objects can be shared with other subsystems, they may be accessed from hardirq context in those drivers, and we have to take that into account by also using the IRQ-safe variant when acquiring the lock.
While at it, switch to the guard model.
From the CVE record · Linux
The Linux kernel’s drm/panthor driver acquired a shared dma_fence lock without using the IRQ-safe variant, even though other subsystems may access the fence from hardirq context. The input does not specify an attacker action, required access, or user interaction.
Engineers running Linux kernels with the drm/panthor driver should check their versions; no affected versions are specified.