# CVE-2022-49559: KVM: x86: Drop WARNs that assert a triple fault never "escapes" from L2

> 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.30% (percentile 15, 2026-11-26)
- **Published:** 2025-02-26T02:14:05.059Z
- **Modified:** 2026-06-17T05:18:26.850Z

## Who should check

- Anyone running Linux \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< f476a59d5c86c02a79eef893c6da86735f2977ac; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 7de373c9b48229e428ecdb8fbde269c5a8617fd2; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 45846661d10422ce9e22da21f8277540b29eca22
- Anyone running Linux 5.13

## Description

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

KVM: x86: Drop WARNs that assert a triple fault never "escapes" from L2

Remove WARNs that sanity check that KVM never lets a triple fault for L2
escape and incorrectly end up in L1.  In normal operation, the sanity
check is perfectly valid, but it incorrectly assumes that it's impossible
for userspace to induce KVM\_REQ\_TRIPLE\_FAULT without bouncing through
KVM\_RUN (which guarantees kvm\_check\_nested\_state() will see and handle
the triple fault).

The WARN can currently be triggered if userspace injects a machine check
while L2 is active and CR4.MCE=0.  And a future fix to allow save/restore
of KVM\_REQ\_TRIPLE\_FAULT, e.g. so that a synthesized triple fault isn't
lost on migration, will make it trivially easy for userspace to trigger
the WARN.

Clearing KVM\_REQ\_TRIPLE\_FAULT when forcibly leaving guest mode is
tempting, but wrong, especially if/when the request is saved/restored,
e.g. if userspace restores events (including a triple fault) and then
restores nested state (which may forcibly leave guest mode).  Ignoring
the fact that KVM doesn't currently provide the necessary APIs, it's
userspace's responsibility to manage pending events during save/restore.

  ------------\[ cut here \]------------
  WARNING: CPU: 7 PID: 1399 at arch/x86/kvm/vmx/nested.c:4522 nested\_vmx\_vmexit+0x7fe/0xd90 \[kvm\_intel\]
  Modules linked in: kvm\_intel kvm irqbypass
  CPU: 7 PID: 1399 Comm: state\_test Not tainted 5.17.0-rc3+ \#808
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
  RIP: 0010:nested\_vmx\_vmexit+0x7fe/0xd90 \[kvm\_intel\]
  Call Trace:
   \<TASK\>
   vmx\_leave\_nested+0x30/0x40 \[kvm\_intel\]
   vmx\_set\_nested\_state+0xca/0x3e0 \[kvm\_intel\]
   kvm\_arch\_vcpu\_ioctl+0xf49/0x13e0 \[kvm\]
   kvm\_vcpu\_ioctl+0x4b9/0x660 \[kvm\]
   \_\_x64\_sys\_ioctl+0x83/0xb0
   do\_syscall\_64+0x3b/0xc0
   entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
   \</TASK\>
  ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< f476a59d5c86c02a79eef893c6da86735f2977ac; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 7de373c9b48229e428ecdb8fbde269c5a8617fd2; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 45846661d10422ce9e22da21f8277540b29eca22 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 45846661d10422ce9e22da21f8277540b29eca22 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49559.md
Affected: Linux >= cb6a32c2b8777ad31a02e585584d869251a790e3, < 8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d; >= cb6a32c2b8777ad31a02e585584d869251a790e3, < f476a59d5c86c02a79eef893c6da86735f2977ac; >= cb6a32c2b8777ad31a02e585584d869251a790e3, < 7de373c9b48229e428ecdb8fbde269c5a8617fd2; >= cb6a32c2b8777ad31a02e58…
Fixed in: Linux 8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d, Linux 7de373c9b48229e428ecdb8fbde269c5a8617fd2, Linux 45846661d10422ce9e22da21f8277540b29eca22

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-2022-49559 being exploited?

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

### How serious is CVE-2022-49559?

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

### Which versions are affected by CVE-2022-49559?

Linux \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< f476a59d5c86c02a79eef893c6da86735f2977ac; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 7de373c9b48229e428ecdb8fbde269c5a8617fd2; \>= cb6a32c2b8777ad31a02e585584d869251a790e3, \< 45846661d10422ce9e22da21f8277540b29eca22; Linux 5.13.

### Is there a fix for CVE-2022-49559?

Yes. Fixed in Linux 8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d, Linux 7de373c9b48229e428ecdb8fbde269c5a8617fd2, Linux 45846661d10422ce9e22da21f8277540b29eca22. Upgrade Linux to 45846661d10422ce9e22da21f8277540b29eca22 or later.

### How do I check if I'm affected by CVE-2022-49559?

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/8d3a2aa0976f57320ba89baf9d57fb158dd0cd0d>
- patch: <https://git.kernel.org/stable/c/f476a59d5c86c02a79eef893c6da86735f2977ac>
- patch: <https://git.kernel.org/stable/c/7de373c9b48229e428ecdb8fbde269c5a8617fd2>
- patch: <https://git.kernel.org/stable/c/45846661d10422ce9e22da21f8277540b29eca22>

## 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-2022-49559>

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