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

Published Aug 22, 2024
·
Updated

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 kvmarchcandequeueasyncpagepresent() to determine whether to deliver a READY event to the Guest. This function test token value of struct kvmvcpupvapfdata, 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 kvmarchsetupasyncpf() 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/hungtasktimeoutsecs" disables this message. task:stress state:D stack: 0 pid: 7532 ppid: 1409 flags:0x00000080 Call Trace: schedule+0x1e7/0x650 schedule+0x46/0xb0 kvmasyncpftaskwaitschedule+0xad/0xe0 ? exittousermodeprepare+0x60/0x70 kvmhandleasyncpf+0x4f/0xb0 ? asmexcpagefault+0x8/0x30 excpagefault+0x6f/0x110 ? asmexcpagefault+0x8/0x30 asmexcpagefault+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

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel<5.10.103
Linux Linux kernel>=5.11<5.15.26
Linux Linux kernel>=5.16<5.16.12
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.10.0 #16Patch KVM: x86/mmu: make apf token non-zero to fix bug

Event History

Aug 22, 2024
CVE Published
via MITRE·03:30 AM
Data Sourced
via MITRE·03:30 AM
DescriptionSeverity
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityAffected Software
Dec 14, 2024
Data Sourced
via Launchpad·12:27 AM
Description
May 12, 2025
Data Sourced
via Ubuntu·11:52 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48943?

CVE-2022-48943 is categorized as a medium-severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2022-48943?

To fix CVE-2022-48943, update the Linux kernel to a version that includes the patch, such as 5.10.223-1 or newer.

3

Which versions of Linux are affected by CVE-2022-48943?

CVE-2022-48943 affects various versions of the Linux kernel, specifically those below 5.10.223 and certain other ranges.

4

What component is impacted by CVE-2022-48943?

CVE-2022-48943 impacts the KVM (Kernel-based Virtual Machine) module in the Linux kernel.

5

Is an exploit available for CVE-2022-48943?

As of now, there is no public information indicating an active exploit for CVE-2022-48943.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203