CVE-2025-40161
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 versions
Linux kernel versions
6.10
and later are affected. Fixed in
6.12.54,
6.17.4,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40161 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1ee147efee68be00203b1fee6479911debb1edb2
-
PatchKernel patch commithttps://git.kernel.org/stable/c/32bf7c6e01f5ba17a53ba236a770bd0274cefdf4
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bb160e791ab15b89188a7a19589b8e11f681bef3
Frequently asked questions
-
What is CVE-2025-40161?
CVE-2025-40161 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.10 onward and has been patched in 6.12.54, 6.17.4 and 6.18. CVE-2025-40161 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40161?
Yes — CVE-2025-40161 has been patched. Fixed versions include 6.12.54, 6.17.4 and 6.18. If you are running Linux kernel 6.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40161 actively exploited?
No — CVE-2025-40161 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.