# CVE-2025-21779: KVM: x86: Reject Hyper-V's SEND\_IPI hypercalls if local APIC isn't in-kernel

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-27T02:18:23.001Z
- **Modified:** 2026-11-05T21:17:43.010Z

## Who should check

- Anyone running Linux \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 61224533f2b61e252b03e214195d27d64b22989a; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 45fa526b0f5a34492ed0536c3cdf88b78380e4de; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 5393cf22312418262679eaadb130d608c75fe690; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 874ff13c73c45ecb38cb82191e8c1d523f0dc81b; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< aca8be4403fb90db7adaf63830e27ebe787a76e8; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< ca29f58ca374c40a0e69c5306fc5c940a0069074; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< a8de7f100bb5989d9c3627d3a223ee1c863f3b69
- Anyone running Linux 4.20

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86: Reject Hyper-V's SEND\_IPI hypercalls if local APIC isn't in-kernel

Advertise support for Hyper-V's SEND\_IPI and SEND\_IPI\_EX hypercalls if and
only if the local API is emulated/virtualized by KVM, and explicitly reject
said hypercalls if the local APIC is emulated in userspace, i.e. don't rely
on userspace to opt-in to KVM\_CAP\_HYPERV\_ENFORCE\_CPUID.

Rejecting SEND\_IPI and SEND\_IPI\_EX fixes a NULL-pointer dereference if
Hyper-V enlightenments are exposed to the guest without an in-kernel local
APIC:

  dump\_stack+0xbe/0xfd
  \_\_kasan\_report.cold+0x34/0x84
  kasan\_report+0x3a/0x50
  \_\_apic\_accept\_irq+0x3a/0x5c0
  kvm\_hv\_send\_ipi.isra.0+0x34e/0x820
  kvm\_hv\_hypercall+0x8d9/0x9d0
  kvm\_emulate\_hypercall+0x506/0x7e0
  \_\_vmx\_handle\_exit+0x283/0xb60
  vmx\_handle\_exit+0x1d/0xd0
  vcpu\_enter\_guest+0x16b0/0x24c0
  vcpu\_run+0xc0/0x550
  kvm\_arch\_vcpu\_ioctl\_run+0x170/0x6d0
  kvm\_vcpu\_ioctl+0x413/0xb20
  \_\_se\_sys\_ioctl+0x111/0x160
  do\_syscal1\_64+0x30/0x40
  entry\_SYSCALL\_64\_after\_hwframe+0x67/0xd1

Note, checking the sending vCPU is sufficient, as the per-VM irqchip\_mode
can't be modified after vCPUs are created, i.e. if one vCPU has an
in-kernel local APIC, then all vCPUs have an in-kernel local APIC.

## Affected and fixed versions

- Linux: \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 61224533f2b61e252b03e214195d27d64b22989a; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 45fa526b0f5a34492ed0536c3cdf88b78380e4de; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 5393cf22312418262679eaadb130d608c75fe690; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 874ff13c73c45ecb38cb82191e8c1d523f0dc81b; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< aca8be4403fb90db7adaf63830e27ebe787a76e8; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< ca29f58ca374c40a0e69c5306fc5c940a0069074; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< a8de7f100bb5989d9c3627d3a223ee1c863f3b69 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21779. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21779.md
Affected: Linux >= 214ff83d4473a7757fa18a64dc7efe3b0e158486, < 61224533f2b61e252b03e214195d27d64b22989a; >= 214ff83d4473a7757fa18a64dc7efe3b0e158486, < 45fa526b0f5a34492ed0536c3cdf88b78380e4de; >= 214ff83d4473a7757fa18a64dc7efe3b0e158486, < 5393cf22312418262679eaadb130d608c75fe690; >= 214ff83d4473a7757fa18a6…
Fixed in: Linux 61224533f2b61e252b03e214195d27d64b22989a, Linux 45fa526b0f5a34492ed0536c3cdf88b78380e4de, Linux 5393cf22312418262679eaadb130d608c75fe690, Linux 874ff13c73c45ecb38cb82191e8c1d523f0dc81b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21779 being exploited?

There is no confirmed exploitation: CVE-2025-21779 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21779?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21779?

Linux \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 61224533f2b61e252b03e214195d27d64b22989a; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 45fa526b0f5a34492ed0536c3cdf88b78380e4de; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 5393cf22312418262679eaadb130d608c75fe690; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< 874ff13c73c45ecb38cb82191e8c1d523f0dc81b; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< aca8be4403fb90db7adaf63830e27ebe787a76e8; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< ca29f58ca374c40a0e69c5306fc5c940a0069074; \>= 214ff83d4473a7757fa18a64dc7efe3b0e158486, \< a8de7f100bb5989d9c3627d3a223ee1c863f3b69; Linux 4.20.

### Is there a fix for CVE-2025-21779?

Yes. Fixed in Linux 61224533f2b61e252b03e214195d27d64b22989a, Linux 45fa526b0f5a34492ed0536c3cdf88b78380e4de, Linux 5393cf22312418262679eaadb130d608c75fe690, Linux 874ff13c73c45ecb38cb82191e8c1d523f0dc81b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-21779?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5393cf22312418262679eaadb130d608c75fe690>
- patch: <https://git.kernel.org/stable/c/874ff13c73c45ecb38cb82191e8c1d523f0dc81b>
- patch: <https://git.kernel.org/stable/c/aca8be4403fb90db7adaf63830e27ebe787a76e8>
- patch: <https://git.kernel.org/stable/c/ca29f58ca374c40a0e69c5306fc5c940a0069074>
- patch: <https://git.kernel.org/stable/c/a8de7f100bb5989d9c3627d3a223ee1c863f3b69>
- other: <https://git.kernel.org/stable/c/61224533f2b61e252b03e214195d27d64b22989a>
- other: <https://git.kernel.org/stable/c/45fa526b0f5a34492ed0536c3cdf88b78380e4de>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21779>

HTML: <https://flawdb.com/CVE-2025-21779> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21779>
