CVE-2025-40161
JSON

Not scored

mailbox: zynqmp-ipi: Fix SGI cleanup on unbind

Severity
Not scored
Exploit likelihood
0.20% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In 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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6ffb1635341bec50fa9540ae7827d1e5d75ae0b0 before 1ee147efee68be00203b1fee6479911debb1edb2, from 6ffb1635341bec50fa9540ae7827d1e5d75ae0b0 before 32bf7c6e01f5ba17a53ba236a770bd0274cefdf4, from 6ffb1635341bec50fa9540ae7827d1e5d75ae0b0 before bb160e791ab15b89188a7a19589b8e11f681bef3, 6.10
Not affected: before 6.10, from 6.12.54 up to 6.12.*, from 6.17.4 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In 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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mailbox: zynqmp-ipi: Corrección de la limpieza de SGI al desvincular El controlador determina incorrectamente las interrupciones SGI frente a SPI al comprobar que el número de IRQ es inferior a 16, lo que falla con la asignación dinámica de IRQ. Durante la desvinculación, esto provoca una limpieza incorrecta de SGI, provocando un fallo del kernel. Se añade un campo “irq_type” explícito a “pdata” para la identificación fiable de las interrupciones SGI (tipo 2) y solo se limpian los recursos SGI cuando es apropiado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40161 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40161 changed 2026-10-19Public domain