mailbox: zynqmp-ipi: Fix SGI cleanup on unbind
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.546.17.46.18In the Linux kernel, the following vulnerability has been resolved:
mailbox: zynqmp-ipi: Fix SGI cleanup on unbind
The driver incorrectly determines SGI vs SPI interrupts by checking IRQ number < 16, which fails with dynamic IRQ allocation. During unbind, this causes improper SGI cleanup leading to kernel crash.
Add explicit irq_type field to pdata for reliable identification of SGI interrupts (type-2) and only clean up SGI resources when appropriate.
From the CVE record · Linux
The Linux kernel’s zynqmp-ipi mailbox driver can misidentify interrupts when IRQs are allocated dynamically. Unbinding the driver can then clean up SGI resources incorrectly and crash the kernel. The input does not specify an attacker, authentication requirement, or user-interaction requirement.
Engineers running Linux kernels that use the zynqmp-ipi mailbox driver should check whether their kernel includes the fix; affected versions are not specified.