CVE-2025-40160
xen/events: Return -EEXIST for bound VIRQs
Mitigation
- Upgrade Linux to 07ce121d93a5e5fb2440a24da3dbf408fcee978e or later.
Who should check
- Anyone running Linux >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 7e19b3643855d4b63442bd20e8bb811e1a75998e; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 612ef6056855c0aacb9b25d1d853c435754483f7; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < f81db055a793eca9d05f79658ff62adafb41d664; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 07ce121d93a5e5fb2440a24da3dbf408fcee978e
- Anyone running Linux 3.2
Vulnerability facts
- Affected
- Linux >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 7e19b3643855d4b63442bd20e8bb811e1a75998e; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 612ef6056855c0aacb9b25d1d853c435754483f7; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < f81db055a793eca9d05f79658ff62adafb41d664; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 07ce121d93a5e5fb2440a24da3dbf408fcee978e; Linux 3.2
- Fixed in
- Linux 7e19b3643855d4b63442bd20e8bb811e1a75998e, Linux 612ef6056855c0aacb9b25d1d853c435754483f7, Linux 07ce121d93a5e5fb2440a24da3dbf408fcee978e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 7e19b3643855d4b63442bd20e8bb811e1a75998e; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 612ef6056855c0aacb9b25d1d853c435754483f7; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < f81db055a793eca9d05f79658ff62adafb41d664; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 07ce121d93a5e5fb2440a24da3dbf408fcee978e | — | cvelist |
| Linux | 3.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40160. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40160.md Affected: Linux >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 7e19b3643855d4b63442bd20e8bb811e1a75998e; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 612ef6056855c0aacb9b25d1d853c435754483f7; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa; >= 62cc5fc7b2e0218144e162a… Fixed in: Linux 7e19b3643855d4b63442bd20e8bb811e1a75998e, Linux 612ef6056855c0aacb9b25d1d853c435754483f7, Linux 07ce121d93a5e5fb2440a24da3dbf408fcee978e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/7e19b3643855d4b63442bd20e8bb811e1a75998e
- https://git.kernel.org/stable/c/612ef6056855c0aacb9b25d1d853c435754483f7
- https://git.kernel.org/stable/c/a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa
- https://git.kernel.org/stable/c/f81db055a793eca9d05f79658ff62adafb41d664
- https://git.kernel.org/stable/c/07ce121d93a5e5fb2440a24da3dbf408fcee978e
FAQ
Is CVE-2025-40160 being exploited?
There is no confirmed exploitation: CVE-2025-40160 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40160?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40160?
Linux >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 7e19b3643855d4b63442bd20e8bb811e1a75998e; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 612ef6056855c0aacb9b25d1d853c435754483f7; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < f81db055a793eca9d05f79658ff62adafb41d664; >= 62cc5fc7b2e0218144e162afb8191db9b924b5e6, < 07ce121d93a5e5fb2440a24da3dbf408fcee978e; Linux 3.2.
Is there a fix for CVE-2025-40160?
Yes. Fixed in Linux 7e19b3643855d4b63442bd20e8bb811e1a75998e, Linux 612ef6056855c0aacb9b25d1d853c435754483f7, Linux 07ce121d93a5e5fb2440a24da3dbf408fcee978e. Upgrade Linux to 07ce121d93a5e5fb2440a24da3dbf408fcee978e or later.
How do I check if I'm affected by CVE-2025-40160?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.