{"id":"CVE-2025-40161","aliases":["CVE-2025-40161"],"related":[],"kind":"vulnerability","state":"published","title":"mailbox: zynqmp-ipi: Fix SGI cleanup on unbind","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmailbox: zynqmp-ipi: Corrección de la limpieza de SGI al desvincular\n\nEl 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.\n\nSe 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.","source":"nvd"}],"published":"2025-11-12T10:24:36.696Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6ffb1635341bec50fa9540ae7827d1e5d75ae0b0","fixed":"1ee147efee68be00203b1fee6479911debb1edb2","status":"affected"},{"type":"git","introduced":"6ffb1635341bec50fa9540ae7827d1e5d75ae0b0","fixed":"32bf7c6e01f5ba17a53ba236a770bd0274cefdf4","status":"affected"},{"type":"git","introduced":"6ffb1635341bec50fa9540ae7827d1e5d75ae0b0","fixed":"bb160e791ab15b89188a7a19589b8e11f681bef3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.54","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.4","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1ee147efee68be00203b1fee6479911debb1edb2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32bf7c6e01f5ba17a53ba236a770bd0274cefdf4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb160e791ab15b89188a7a19589b8e11f681bef3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40161","url":"https://www.cve.org/CVERecord?id=CVE-2025-40161","licence":"CVE Terms of Use","modified":"2026-05-11T21:43:55.108Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40161","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40161","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.560Z","epss":{"score":0.00197,"percentile":0.09879,"date":"2026-12-01T12:00:22.000Z"}}