CVE-2025-40160

xen/events: Return -EEXIST for bound VIRQs

No CVSS score yet EPSS 0.20%

Published 12 Nov 2025 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2025-40160

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40160 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.6% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 62cc5fc7b2e0218144e162afb8191db9b924b5e6, before 7e19b3643855d4b63442bd20e8bb811e1a75998e
affected from 62cc5fc7b2e0218144e162afb8191db9b924b5e6, before 612ef6056855c0aacb9b25d1d853c435754483f7
affected from 62cc5fc7b2e0218144e162afb8191db9b924b5e6, before a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa
affected from 62cc5fc7b2e0218144e162afb8191db9b924b5e6, before f81db055a793eca9d05f79658ff62adafb41d664
affected from 62cc5fc7b2e0218144e162afb8191db9b924b5e6, before 07ce121d93a5e5fb2440a24da3dbf408fcee978e
Other versions: unaffected
Linux
affected 3.2
unaffected before 3.2
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.113 up to and including 6.6.*
unaffected from 6.12.54 up to and including 6.12.*
unaffected from 6.17.4 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40160 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40160

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40160
trivy image --scanners vuln IMAGE | grep CVE-2025-40160

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40160 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.