VDB

CVE-2025-40160

CVE-2025-40160 PUBLISHED

xen/events: Return -EEXIST for bound VIRQs

Reported by linux · Published November 12, 2025

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.

EPSS 0.20% · 10.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-libbpf-staticAmazon Linux1:6.12.55-74.119.amzn2023
perf6.12Amazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-headersAmazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-develAmazon Linux1:6.12.55-74.119.amzn2023
kernel-livepatch-6.12.55-74.119Amazon Linux1:1.0-0.amzn2023
kernel6.12Amazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.55-74.119.amzn2023
LinuxLinuxf81db055a793eca9d05f79658ff62adafb41d664, a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa, 7e19b3643855d4b63442bd20e8bb811e1a75998e, 612ef6056855c0aacb9b25d1d853c435754483f7, 3.2, 07ce121d93a5e5fb2440a24da3dbf408fcee978e

Risk scores

EPSS Score
0.20%
10.1th percentile

Affected products

VendorProductVersions
LinuxLinux62cc5fc7b2e0218144e162afb8191db9b924b5e6, 62cc5fc7b2e0218144e162afb8191db9b924b5e6, 62cc5fc7b2e0218144e162afb8191db9b924b5e6
LinuxLinux3.2, 0, 6.1.191
amazon:2023kernel6.12-libbpf-static0
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.55-74.1190
amazon:2023kernel6.120
amazon:2023kernel6.12-libbpf-devel0
LinuxLinux62cc5fc7b2e0218144e162afb8191db9b924b5e6, 3.2, 0
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023python3-perf6.120
linuxlinux_kernel3.2, 3.2, 3.2
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-modules-extra-common0

Timeline

  • Nov 11, 2025 CVE Published
  • Nov 12, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (187 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (193 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40160
vulnetix vdb fixes CVE-2025-40160

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40160/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›