CVE-2025-40160 Details
Description
In the Linux kernel, the following vulnerability has been resolved: xen/events: Return -EEXIST for bound VIRQs Change find_virq() to return -EEXIST when a VIRQ is bound to a different CPU than the one passed in. With that, remove the BUG_ON() from bind_virq_to_irq() to propogate the error upwards. Some VIRQs are per-cpu, but others are per-domain or global. Those must be bound to CPU0 and can then migrate elsewhere. The lookup for per-domain and global will probably fail when migrated off CPU 0, especially when the current CPU is tracked. This now returns -EEXIST instead of BUG_ON(). A second call to bind a per-domain or global VIRQ is not expected, but make it non-fatal to avoid trying to look up the irq, since we don't know which per_cpu(virq_to_irq) it will be in.
A vulnerability in the Linux kernel's handling of Virtual Interrupt Requests (VIRQs) within the Xen event system has been addressed. The issue arose because the function 'find_virq()' did not properly account for VIRQs bound to CPUs other than the one specified, particularly for per-domain or global VIRQs that must initially be bound to CPU0. This could lead to errors when these interrupts migrated off CPU0. The vulnerability has been resolved by modifying 'find_virq()' to return an error code when a VIRQ is incorrectly bound, thereby preventing potential mishandling of interrupts. The fix also involved removing a previous error trigger that could cause system instability.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/07ce121d93a5e5fb2440a24da3dbf408fcee978e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/612ef6056855c0aacb9b25d1d853c435754483f7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7e19b3643855d4b63442bd20e8bb811e1a75998e | kernel.org | |
| https://git.kernel.org/stable/c/a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f81db055a793eca9d05f79658ff62adafb41d664 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion