CVE-2025-40160
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel-livepatch-6.12.55-74.119 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| Linux | Linux | f81db055a793eca9d05f79658ff62adafb41d664, a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa, 7e19b3643855d4b63442bd20e8bb811e1a75998e, 612ef6056855c0aacb9b25d1d853c435754483f7, 3.2, 07ce121d93a5e5fb2440a24da3dbf408fcee978e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 62cc5fc7b2e0218144e162afb8191db9b924b5e6, 62cc5fc7b2e0218144e162afb8191db9b924b5e6, 62cc5fc7b2e0218144e162afb8191db9b924b5e6 |
| Linux | Linux | 3.2, 0, 6.1.191 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.55-74.119 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| Linux | Linux | 62cc5fc7b2e0218144e162afb8191db9b924b5e6, 3.2, 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| linux | linux_kernel | 3.2, 3.2, 3.2 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
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