{"id":"CVE-2025-40161","summary":"mailbox: zynqmp-ipi: Fix SGI cleanup on unbind","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: zynqmp-ipi: Fix SGI cleanup on unbind\n\nThe driver incorrectly determines SGI vs SPI interrupts by checking IRQ\nnumber \u003c 16, which fails with dynamic IRQ allocation. During unbind,\nthis causes improper SGI cleanup leading to kernel crash.\n\nAdd explicit irq_type field to pdata for reliable identification of SGI\ninterrupts (type-2) and only clean up SGI resources when appropriate.","modified":"2026-03-20T12:43:12.385232Z","published":"2025-11-12T10:24:36.696Z","related":["SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","openSUSE-SU-2025:20172-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40161.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1ee147efee68be00203b1fee6479911debb1edb2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32bf7c6e01f5ba17a53ba236a770bd0274cefdf4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb160e791ab15b89188a7a19589b8e11f681bef3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40161.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40161"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6ffb1635341bec50fa9540ae7827d1e5d75ae0b0"},{"fixed":"1ee147efee68be00203b1fee6479911debb1edb2"},{"fixed":"32bf7c6e01f5ba17a53ba236a770bd0274cefdf4"},{"fixed":"bb160e791ab15b89188a7a19589b8e11f681bef3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40161.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40161.json"}}],"schema_version":"1.7.5"}