CVE-2024-56680

Summary

In 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

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxab29a2478e709b8fbb4715c51709275907c185db < ed4524c87249edc3104f6bb28ab11325bed3d536affected
LinuxLinuxab29a2478e709b8fbb4715c51709275907c185db < 57241487a3648515c9aa6fa89e31f2414eccfdbcaffected
LinuxLinuxab29a2478e709b8fbb4715c51709275907c185db < 1429826883bb18847092b2e04c6598ef34bae1d4affected
LinuxLinux6.10affected
LinuxLinux0 < 6.10unaffected
LinuxLinux6.11.11 <= 6.11.*unaffected
LinuxLinux6.12.2 <= 6.12.*unaffected
LinuxLinux6.13 <= *unaffected

Weaknesses

References