media: intel/ipu6: do not handle interrupts when device is disabled
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.11.116.12.26.13In the Linux kernel, the following vulnerability has been resolved:
media: intel/ipu6: do not handle interrupts when device is disabled
Some IPU6 devices have shared interrupts. We need to handle properly case when interrupt is triggered from other device on shared irq line and IPU6 itself disabled. In such case we get 0xffffffff from ISR_STATUS register and handle all irq's cases, for what we are not not prepared and usually hang the whole system.
To avoid the issue use pm_runtime_get_if_active() to check if the device is enabled and prevent suspending it when we handle irq until the end of irq. Additionally use synchronize_irq() in suspend
From the CVE record · Linux
The Linux kernel's intel/ipu6 driver can mishandle a shared interrupt when the IPU6 device is disabled, usually hanging the whole system. The input does not describe an attacker-controlled trigger or specify network access, authentication, or user interaction requirements.
Engineers running Linux systems with IPU6 devices should check their kernel; affected versions are not specified.