CVE-2025-40160
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
12/11/2025
Last modified:
12/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
xen/events: Return -EEXIST for bound VIRQs<br />
<br />
Change find_virq() to return -EEXIST when a VIRQ is bound to a<br />
different CPU than the one passed in. With that, remove the BUG_ON()<br />
from bind_virq_to_irq() to propogate the error upwards.<br />
<br />
Some VIRQs are per-cpu, but others are per-domain or global. Those must<br />
be bound to CPU0 and can then migrate elsewhere. The lookup for<br />
per-domain and global will probably fail when migrated off CPU 0,<br />
especially when the current CPU is tracked. This now returns -EEXIST<br />
instead of BUG_ON().<br />
<br />
A second call to bind a per-domain or global VIRQ is not expected, but<br />
make it non-fatal to avoid trying to look up the irq, since we don&#39;t<br />
know which per_cpu(virq_to_irq) it will be in.



