UBUNTU-CVE-2022-48943
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
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | linux-riscv-5.11 | 5.11.0-1015.16~20.04.1, 5.11.0-1017.18~20.04.1, 5.11.0-1018.19~20.04.2 |
| Ubuntu:Pro:18.04:LTS | linux-gcp-4.15 | 4.15.0-1143.159, 4.15.0-1145.161, 4.15.0-1146.162 |
| Ubuntu:18.04:LTS | linux-hwe | 4.18.0-13.14~18.04.1, 0, 4.18.0-14.15~18.04.1 |
| Ubuntu:Pro:14.04:LTS | linux-aws | 4.4.0-1103.108, 4.4.0-1104.109, 4.4.0-1107.113 |
| Ubuntu:Pro:18.04:LTS | linux-gcp-5.4 | 5.4.0-1121.130~18.04.1, 0, 5.4.0-1019.19~18.04.2 |
| Ubuntu:Pro:16.04:LTS | linux-aws | 4.4.0-1100.111, 4.4.0-1098.109, 4.4.0-1096.107 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 0, 6.2.0-1006.7~22.04.1, 6.2.0-1007.8~22.04.1 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-18.18~22.04.1, 6.5.0-21.21~22.04.1, 6.5.0-25.25~22.04.1 |
| Ubuntu:20.04:LTS | linux-raspi2 | 5.3.0-1017.19, 5.4.0-1004.4, 5.4.0-1006.6 |
| Ubuntu:20.04:LTS | linux-xilinx-zynqmp | 5.4.0-1053.57, 5.4.0-1054.58, 0 |
| Ubuntu:Pro:FIPS-updates:20.04:LTS | linux-aws-fips | 5.4.0-1105.113+fips1, 5.4.0-1103.111+fips1, 5.4.0-1130.140+fips1 |
| Ubuntu:20.04:LTS | linux-aws-5.8 | 5.8.0-1035.37~20.04.1, 0, 5.8.0-1042.44~20.04.1 |
| Ubuntu:20.04:LTS | linux-gke-5.15 | 5.15.0-1011.14~20.04.1, 5.15.0-1015.18~20.04.1, 5.15.0-1023.28~20.04.2 |
| Ubuntu:20.04:LTS | linux-azure-5.11 | 5.11.0-1017.18~20.04.1, 5.11.0-1019.20~20.04.1, 5.11.0-1020.21~20.04.1 |
| Ubuntu:Pro:FIPS-updates:18.04:LTS | linux-fips | 4.15.0-1090.100, 4.15.0-1128.139, 4.15.0-1127.138 |
| Ubuntu:Pro:18.04:LTS | linux-aws | 4.15.0-1137.148, 4.15.0-1139.150, 4.15.0-1140.151 |
| Ubuntu:18.04:LTS | linux-gkeop-5.4 | 0, 5.4.0-1001.1, 5.4.0-1003.3 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | 0, 5.19.0-1007.7~22.04.1, 5.19.0-1009.9~22.04.1 |
| Ubuntu:20.04:LTS | linux-aws-5.13 | 5.13.0-1028.31~20.04.1, 5.13.0-1031.35~20.04.1, 5.13.0-1029.32~20.04.1 |
| Ubuntu:20.04:LTS | linux-oem-5.6 | 5.6.0-1010.10, 5.6.0-1008.8, 5.6.0-1007.7 |
…and 112 more
Timeline
- Aug 22, 2024 CVE Published
- Oct 26, 2026 CVE Updated
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Distribution Patch
References
- https://ubuntu.com/security/CVE-2022-48943 report
- https://www.cve.org/CVERecord?id=CVE-2022-48943 report
- https://git.kernel.org/linus/6f3c1fc53d86d580d8d6d749c4af23705e4f6f79 report
- https://git.kernel.org/stable/c/72fdfc75d4217b32363cc80def3de2cb3fef3f02 report
- https://git.kernel.org/stable/c/4c3644b6c96c5daa5149e5abddc07234eea47c7c report
- https://git.kernel.org/stable/c/62040f5cd7d937de547836e747b6aa8212fec573 report
- https://git.kernel.org/stable/c/6f3c1fc53d86d580d8d6d749c4af23705e4f6f79 report
- https://ubuntu.com/security/notices/USN-7122-1 advisory
- https://ubuntu.com/security/notices/USN-7121-1 advisory
- https://ubuntu.com/security/notices/USN-7121-2 advisory
- https://ubuntu.com/security/notices/USN-7121-3 advisory
- https://ubuntu.com/security/notices/USN-7148-1 advisory
- https://ubuntu.com/security/notices/USN-7159-1 advisory
- https://ubuntu.com/security/notices/USN-7159-2 advisory
- https://ubuntu.com/security/notices/USN-7159-3 advisory
- https://ubuntu.com/security/notices/USN-7159-4 advisory
- https://ubuntu.com/security/notices/USN-7159-5 advisory
- https://ubuntu.com/security/notices/USN-7195-1 advisory
- https://ubuntu.com/security/notices/USN-7195-2 advisory