cbcvebase.
CVE-2025-40160
published 2025-11-12

CVE-2025-40160: 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…

PriorityP418high7.8
EPSS
0.19%
8.4th percentile
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

16 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.17.6-1 (forky)linux 6.17.6-1 (forky)
linuxlinux
linuxlinux>= 62cc5fc7b2e0218144e162afb8191db9b924b5e6 < 612ef6056855c0aacb9b25d1d853c435754483f7612ef6056855c0aacb9b25d1d853c435754483f7
linuxlinux>= 62cc5fc7b2e0218144e162afb8191db9b924b5e6 < a1e7f07ae6b594f1ba5be46c6125b43bc505c5aaa1e7f07ae6b594f1ba5be46c6125b43bc505c5aa
linuxlinux>= 62cc5fc7b2e0218144e162afb8191db9b924b5e6 < f81db055a793eca9d05f79658ff62adafb41d664f81db055a793eca9d05f79658ff62adafb41d664
linuxlinux>= 62cc5fc7b2e0218144e162afb8191db9b924b5e6 < 07ce121d93a5e5fb2440a24da3dbf408fcee978e07ce121d93a5e5fb2440a24da3dbf408fcee978e
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 3.2.0 < 6.6.1136.6.113
linuxlinux_kernel>= 6.13.0 < 6.17.46.17.4
linuxlinux_kernel>= 6.7.0 < 6.12.546.12.54
ubuntulinux-aws
ubuntulinux-oracle
ubuntulinux-xilinx

CVSS provenance

vendor_ubuntu7.8HIGH
osv3.2LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.