# CVE-2026-63806: KVM: Replace guest-triggerable BUG\_ON() in ioeventfd datamatch with get\_unaligned()

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); 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.20% (percentile 5, 2026-11-26)
- **CWE:** CWE-617, CWE-400
- **Published:** 2026-07-19T12:02:10.209Z
- **Modified:** 2026-10-19T20:19:21.063Z

## Who should check

- Anyone running Linux \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 2426c15c1395b7d5ccf1e5025ca898af7f3decb6; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 4186c850789906b875a1d263377a4d37c078e317; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 36ff44fb3d89960391e013fb9d91e23dbc48be47; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 92fc631b69deb1c7d56aec2663003600799dcd75; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< bf89e3738480d33cd515b4a18900e8443d40cd2e; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 5da9b1a87ec7cc3489c27016313524769f12d9e0; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 5c87b47374682f69686068ad0a7779365a527b1c; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< f1edbed787ba67988ed34e0132ca128b052b6ce8
- Anyone running Linux 2.6.32

## Description

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

KVM: Replace guest-triggerable BUG\_ON() in ioeventfd datamatch with get\_unaligned()

Drop a BUG\_ON() that has been reachable since it was first added, way back
in 2009, and instead use get\_unaligned() to perform potentially-unaligned
accesses.

For a given store, KVM x86's emulator tracks the entire value in the
destination operand, x86\_emulate\_ctxt.dst.  If the destination is memory,
and the target splits multiple pages and/or is emulated MMIO, then KVM
handles each fragment independently.  E.g. on a page split starting at page
offset 0xffc, KVM writes 4 bytes to the first page, then the remaining
bytes to the second page, using ctxt-\>dst as the source for both (with
appropriate offsets).

If the destination splits a page \*and\* hits emulated MMIO on the second
page, then KVM will complete the write to the first page, then emulate the
MMIO access to the second page.  If there is a datamatch-enabled ioeventfd
at offset 0 of the second page, then KVM will process the remainder of the
store as a potential ioeventfd signal.

Putting it all together, if the guest emits a store that splits a page
starting at page offset N, and the second page has a datamatch-enabled
ioeventfd at offset 0, then KVM will check for datamatch using
&dst.valptr\[N\] as the source.  Due to dst (and thus dst.valptr) being
32-byte aligned, if N is not aligned to @len, the BUG\_ON() fires.

E.g. with a 16-byte store at page offset 0xffc, to an ioeventfd of len 8,
all initial checks in ioeventfd\_in\_range() will succeed, and the BUG\_ON()
fires due to @val being 4-byte aligned, but not 8-byte aligned.

  ------------\[ cut here \]------------
  kernel BUG at arch/x86/kvm/../../../virt/kvm/eventfd.c:783!
  Oops: invalid opcode: 0000 \[\#1\] SMP
  CPU: 0 UID: 1000 PID: 615 Comm: repro Not tainted 7.1.0-rc2-ff238429d1ea \#365 PREEMPT
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
  RIP: 0010:ioeventfd\_write+0x6c/0x70 \[kvm\]
  Call Trace:
   \<TASK\>
   \_\_kvm\_io\_bus\_write+0x85/0xb0 \[kvm\]
   kvm\_io\_bus\_write+0x53/0x80 \[kvm\]
   vcpu\_mmio\_write+0x66/0xf0 \[kvm\]
   emulator\_read\_write\_onepage+0x12a/0x540 \[kvm\]
   emulator\_read\_write+0x109/0x2b0 \[kvm\]
   x86\_emulate\_insn+0x4f8/0xfb0 \[kvm\]
   x86\_emulate\_instruction+0x181/0x790 \[kvm\]
   kvm\_mmu\_page\_fault+0x313/0x630 \[kvm\]
   vmx\_handle\_exit+0x18a/0x590 \[kvm\_intel\]
   kvm\_arch\_vcpu\_ioctl\_run+0xc81/0x1c90 \[kvm\]
   kvm\_vcpu\_ioctl+0x2d5/0x970 \[kvm\]
   \_\_x64\_sys\_ioctl+0x8a/0xd0
   do\_syscall\_64+0xb7/0x890
   entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
  RIP: 0033:0x7f19c931a9bf
   \</TASK\>
  Modules linked in: kvm\_intel kvm irqbypass
  ---\[ end trace 0000000000000000 \]---

In a perfect world, the fix would be to simply delete the BUG\_ON(), as KVM
x86 doesn't perform alignment checks on "normal" memory accesses at CPL0.
Sadly, C99 ruins all the fun; while the x86 architecture plays nice,
dereferencing an unaligned pointer directly is undefined behavior in C,
e.g. triggers splats when running with CONFIG\_UBSAN\_ALIGNMENT=y.

## Affected and fixed versions

- Linux: \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 2426c15c1395b7d5ccf1e5025ca898af7f3decb6; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 4186c850789906b875a1d263377a4d37c078e317; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 36ff44fb3d89960391e013fb9d91e23dbc48be47; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 92fc631b69deb1c7d56aec2663003600799dcd75; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< bf89e3738480d33cd515b4a18900e8443d40cd2e; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 5da9b1a87ec7cc3489c27016313524769f12d9e0; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 5c87b47374682f69686068ad0a7779365a527b1c; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< f1edbed787ba67988ed34e0132ca128b052b6ce8 (cvelist)
- Linux: 2.6.32 (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-2026-63806. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63806.md
Affected: Linux >= d34e6b175e61821026893ec5298cc8e7558df43a, < 2426c15c1395b7d5ccf1e5025ca898af7f3decb6; >= d34e6b175e61821026893ec5298cc8e7558df43a, < 4186c850789906b875a1d263377a4d37c078e317; >= d34e6b175e61821026893ec5298cc8e7558df43a, < 36ff44fb3d89960391e013fb9d91e23dbc48be47; >= d34e6b175e61821026893ec…
Fixed in: Linux 2426c15c1395b7d5ccf1e5025ca898af7f3decb6, Linux 4186c850789906b875a1d263377a4d37c078e317, Linux 36ff44fb3d89960391e013fb9d91e23dbc48be47, Linux 92fc631b69deb1c7d56aec2663003600799dcd75, Linux 5da9b1a87ec7cc3489c27016313524769f12d9e0, Linux 5c87b47374682f69686068ad0a7779365a527b1c

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-2026-63806 being exploited?

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

### How serious is CVE-2026-63806?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63806?

Linux \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 2426c15c1395b7d5ccf1e5025ca898af7f3decb6; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 4186c850789906b875a1d263377a4d37c078e317; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 36ff44fb3d89960391e013fb9d91e23dbc48be47; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 92fc631b69deb1c7d56aec2663003600799dcd75; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< bf89e3738480d33cd515b4a18900e8443d40cd2e; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 5da9b1a87ec7cc3489c27016313524769f12d9e0; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< 5c87b47374682f69686068ad0a7779365a527b1c; \>= d34e6b175e61821026893ec5298cc8e7558df43a, \< f1edbed787ba67988ed34e0132ca128b052b6ce8; Linux 2.6.32.

### Is there a fix for CVE-2026-63806?

Yes. Fixed in Linux 2426c15c1395b7d5ccf1e5025ca898af7f3decb6, Linux 4186c850789906b875a1d263377a4d37c078e317, Linux 36ff44fb3d89960391e013fb9d91e23dbc48be47, Linux 92fc631b69deb1c7d56aec2663003600799dcd75, Linux 5da9b1a87ec7cc3489c27016313524769f12d9e0, Linux 5c87b47374682f69686068ad0a7779365a527b1c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-63806?

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/2426c15c1395b7d5ccf1e5025ca898af7f3decb6>
- patch: <https://git.kernel.org/stable/c/4186c850789906b875a1d263377a4d37c078e317>
- patch: <https://git.kernel.org/stable/c/36ff44fb3d89960391e013fb9d91e23dbc48be47>
- patch: <https://git.kernel.org/stable/c/92fc631b69deb1c7d56aec2663003600799dcd75>
- patch: <https://git.kernel.org/stable/c/bf89e3738480d33cd515b4a18900e8443d40cd2e>
- patch: <https://git.kernel.org/stable/c/5da9b1a87ec7cc3489c27016313524769f12d9e0>
- patch: <https://git.kernel.org/stable/c/5c87b47374682f69686068ad0a7779365a527b1c>
- patch: <https://git.kernel.org/stable/c/f1edbed787ba67988ed34e0132ca128b052b6ce8>

## 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-2026-63806>

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