# CVE-2022-48943: KVM: x86/mmu: make apf token non-zero to fix bug

> 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.34% (percentile 20, 2026-11-26)
- **Published:** 2024-08-22T03:30:14.027Z
- **Modified:** 2026-08-05T08:53:03.401Z

## Who should check

- Anyone running Linux \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 72fdfc75d4217b32363cc80def3de2cb3fef3f02; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 4c3644b6c96c5daa5149e5abddc07234eea47c7c; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 62040f5cd7d937de547836e747b6aa8212fec573; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79
- Anyone running Linux 5.8

## Description

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

KVM: x86/mmu: make apf token non-zero to fix bug

In current async pagefault logic, when a page is ready, KVM relies on
kvm\_arch\_can\_dequeue\_async\_page\_present() to determine whether to deliver
a READY event to the Guest. This function test token value of struct
kvm\_vcpu\_pv\_apf\_data, which must be reset to zero by Guest kernel when a
READY event is finished by Guest. If value is zero meaning that a READY
event is done, so the KVM can deliver another.
But the kvm\_arch\_setup\_async\_pf() may produce a valid token with zero
value, which is confused with previous mention and may lead the loss of
this READY event.

This bug may cause task blocked forever in Guest:
 INFO: task stress:7532 blocked for more than 1254 seconds.
       Not tainted 5.10.0 \#16
 "echo 0 \> /proc/sys/kernel/hung\_task\_timeout\_secs" disables this message.
 task:stress          state:D stack:    0 pid: 7532 ppid:  1409
 flags:0x00000080
 Call Trace:
  \_\_schedule+0x1e7/0x650
  schedule+0x46/0xb0
  kvm\_async\_pf\_task\_wait\_schedule+0xad/0xe0
  ? exit\_to\_user\_mode\_prepare+0x60/0x70
  \_\_kvm\_handle\_async\_pf+0x4f/0xb0
  ? asm\_exc\_page\_fault+0x8/0x30
  exc\_page\_fault+0x6f/0x110
  ? asm\_exc\_page\_fault+0x8/0x30
  asm\_exc\_page\_fault+0x1e/0x30
 RIP: 0033:0x402d00
 RSP: 002b:00007ffd31912500 EFLAGS: 00010206
 RAX: 0000000000071000 RBX: ffffffffffffffff RCX: 00000000021a32b0
 RDX: 000000000007d011 RSI: 000000000007d000 RDI: 00000000021262b0
 RBP: 00000000021262b0 R08: 0000000000000003 R09: 0000000000000086
 R10: 00000000000000eb R11: 00007fefbdf2baa0 R12: 0000000000000000
 R13: 0000000000000002 R14: 000000000007d000 R15: 0000000000001000

## Affected and fixed versions

- Linux: \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 72fdfc75d4217b32363cc80def3de2cb3fef3f02; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 4c3644b6c96c5daa5149e5abddc07234eea47c7c; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 62040f5cd7d937de547836e747b6aa8212fec573; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79 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-48943. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48943.md
Affected: Linux >= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, < 72fdfc75d4217b32363cc80def3de2cb3fef3f02; >= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, < 4c3644b6c96c5daa5149e5abddc07234eea47c7c; >= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, < 62040f5cd7d937de547836e747b6aa8212fec573; >= 2635b5c4a0e407b84f68e18…
Fixed in: Linux 72fdfc75d4217b32363cc80def3de2cb3fef3f02, Linux 4c3644b6c96c5daa5149e5abddc07234eea47c7c, Linux 62040f5cd7d937de547836e747b6aa8212fec573, Linux 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79

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-48943 being exploited?

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

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

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

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

Linux \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 72fdfc75d4217b32363cc80def3de2cb3fef3f02; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 4c3644b6c96c5daa5149e5abddc07234eea47c7c; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 62040f5cd7d937de547836e747b6aa8212fec573; \>= 2635b5c4a0e407b84f68e188c719f28ba0e9ae1b, \< 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79; Linux 5.8.

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

Yes. Fixed in Linux 72fdfc75d4217b32363cc80def3de2cb3fef3f02, Linux 4c3644b6c96c5daa5149e5abddc07234eea47c7c, Linux 62040f5cd7d937de547836e747b6aa8212fec573, Linux 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79. Upgrade Linux to 6f3c1fc53d86d580d8d6d749c4af23705e4f6f79 or later.

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

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/72fdfc75d4217b32363cc80def3de2cb3fef3f02>
- patch: <https://git.kernel.org/stable/c/4c3644b6c96c5daa5149e5abddc07234eea47c7c>
- patch: <https://git.kernel.org/stable/c/62040f5cd7d937de547836e747b6aa8212fec573>
- patch: <https://git.kernel.org/stable/c/6f3c1fc53d86d580d8d6d749c4af23705e4f6f79>

## 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-48943>

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