{"schema_version":"1.7.5","id":"CVE-2025-40161","published":"2025-11-12T10:24:36.696Z","modified":"2026-07-15T01:48:55.446756508Z","related":["SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","SUSE-SU-2026:20562-1","openSUSE-SU-2025:20172-1"],"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 < 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.","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/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/cve-osv-conversion/osv-output/CVE-2025-40161.json"}}],"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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40161.json"}}