Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26976

published high CVSS 3.1 · 7.8

KVM: Always flush async #PF workqueue when vCPU is being destroyed

Published
01 May 2024, 05:20:24 UTC
Updated
05 Aug 2026, 11:28:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxaf585b921e5d1e919947c4b1164b59507fe7cd7b to < ab2c2f5d9576112ad22cfd3798071cb74693b1f5 · af585b921e5d1e919947c4b1164b59507fe7cd7b to < 82e25cc1c2e93c3023da98be282322fc08b61ffb · af585b921e5d1e919947c4b1164b59507fe7cd7b to < f8730d6335e5f43d09151fca1f0f41922209a264 · af585b921e5d1e919947c4b1164b59507fe7cd7b to < 83d3c5e309611ef593e2fcb78444fc8ceedf9bac · af585b921e5d1e919947c4b1164b59507fe7cd7b to < b54478d20375874aeee257744dedfd3e413432ff · af585b921e5d1e919947c4b1164b59507fe7cd7b to < a75afe480d4349c524d9c659b1a5a544dbc39a98 · af585b921e5d1e919947c4b1164b59507fe7cd7b to < 4f3a3bce428fb439c66a578adc447afce7b4a750 · af585b921e5d1e919947c4b1164b59507fe7cd7b to < caa9af2e27c275e089d702cfbaaece3b42bca31b · af585b921e5d1e919947c4b1164b59507fe7cd7b to < 3d75b8aa5c29058a512db29da7cbee8052724157 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.38 (affected) · 0 to < 2.6.38 (unaffected · semver) · 4.19.312 through 4.19.* (unaffected · semver) · 5.4.274 through 5.4.* (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.154 through 5.15.* (unaffected · semver) · 6.1.84 through 6.1.* (unaffected · semver) · 6.6.24 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8.3 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
linux — linux_kernelaf585b921e5d to < ab2c2f5d9576 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < 82e25cc1c2e9 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluationALAS2-2024-2615 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-068 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian bullseye linux Advisory build 5.10.216-1 DSA-5681-1
Show 119 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
linux — linux_kernelaf585b921e5d to < 8730d6335e5 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < 83d3c5e30961 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < b54478d20375 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < a75afe480d43 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < 4f3a3bce428f · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < caa9af2e27c2 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernelaf585b921e5d to < 3d75b8aa5c29 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel2.6.38 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel0 to < 2.6.38 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel4.19.312 through 4.20 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.4.274 through 5.5 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.10.215 through 5.11 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel5.15.154 through 5.16 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel6.1.84 through 6.2 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel6.6.24 through 6.7 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel6.7.12 through 6.8 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel6.8.3 through 6.9 · Other versions: unknown Unaffected Not stated CISA-ADP
linux — linux_kernel6.9 · Other versions: unknown Unaffected Not stated CISA-ADP
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-049 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-079 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-696 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
AlmaLinux 8 kernel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian buster linux Advisory build 4.19.316-1 DLA-3840-1
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: Always flush async #PF workqueue when vCPU is being destroyed Always flush the per-vCPU async #PF workqueue when a vCPU is clearing its completion queue, e.g. when a VM and all its vCPUs is being destroyed. KVM must ensure that none of its workqueue callbacks is running when the last reference to the KVM _module_ is put. Gifting a reference to the associated VM prevents the workqueue callback from dereferencing freed vCPU/VM memory, but does not prevent the KVM module from being unloaded before the callback completes. Drop the misguided VM refcount gifting, as calling kvm_put_kvm() from async_pf_execute() if kvm_put_kvm() flushes the async #PF workqueue will result in deadlock. async_pf_execute() can't return until kvm_put_kvm() finishes, and kvm_put_kvm() can't return until async_pf_execute() finishes: WARNING: CPU: 8 PID: 251 at virt/kvm/kvm_main.c:1435 kvm_put_kvm+0x2d/0x320 [kvm] Modules linked in: vhost_net vhost vhost_iotlb tap kvm_intel kvm irqbypass CPU: 8 PID: 251 Comm: kworker/8:1 Tainted: G W 6.6.0-rc1-e7af8d17224a-x86/gmem-vm #119 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 Workqueue: events async_pf_execute [kvm] RIP: 0010:kvm_put_kvm+0x2d/0x320 [kvm] Call Trace: <TASK> async_pf_execute+0x198/0x260 [kvm] process_one_work+0x145/0x2d0 worker_thread+0x27e/0x3a0 kthread+0xba/0xe0 ret_from_fork+0x2d/0x50 ret_from_fork_asm+0x11/0x20 </TASK> ---[ end trace 0000000000000000 ]--- INFO: task kworker/8:1:251 blocked for more than 120 seconds. Tainted: G W 6.6.0-rc1-e7af8d17224a-x86/gmem-vm #119 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/8:1 state:D stack:0 pid:251 ppid:2 flags:0x00004000 Workqueue: events async_pf_execute [kvm] Call Trace: <TASK> __schedule+0x33f/0xa40 schedule+0x53/0xc0 schedule_timeout+0x12a/0x140 __wait_for_common+0x8d/0x1d0 __flush_work.isra.0+0x19f/0x2c0 kvm_clear_async_pf_completion_queue+0x129/0x190 [kvm] kvm_arch_destroy_vm+0x78/0x1b0 [kvm] kvm_put_kvm+0x1c1/0x320 [kvm] async_pf_execute+0x198/0x260 [kvm] process_one_work+0x145/0x2d0 worker_thread+0x27e/0x3a0 kthread+0xba/0xe0 ret_from_fork+0x2d/0x50 ret_from_fork_asm+0x11/0x20 </TASK> If kvm_clear_async_pf_completion_queue() actually flushes the workqueue, then there's no need to gift async_pf_execute() a reference because all invocations of async_pf_execute() will be forced to complete before the vCPU and its VM are destroyed/freed. And that in turn fixes the module unloading bug as __fput() won't do module_put() on the last vCPU reference until the vCPU has been freed, e.g. if closing the vCPU file also puts the last reference to the KVM module. Note that kvm_check_async_pf_completion() may also take the work item off the completion queue and so also needs to flush the work queue, as the work will not be seen by kvm_clear_async_pf_completion_queue(). Waiting on the workqueue could theoretically delay a vCPU due to waiting for the work to complete, but that's a very, very small chance, and likely a very small delay. kvm_arch_async_page_present_queued() unconditionally makes a new request, i.e. will effectively delay entering the guest, so the remaining work is really just: trace_kvm_async_pf_completed(addr, cr2_or_gpa); __kvm_vcpu_wake_up(vcpu); mmput(mm); and mmput() can't drop the last reference to the page tables if the vCPU is still alive, i.e. the vCPU won't get stuck tearing down page tables. Add a helper to do the flushing, specifically to deal with "wakeup all" work items, as they aren't actually work items, i.e. are never placed in a workqueue. Trying to flush a bogus workqueue entry rightly makes __flush_work() complain (kudos to whoever added that sanity check). Note, commit 5f6de5cbebee ("KVM: Prevent module exit until al ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

63

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached exclusively through `/dev/kvm` ioctls (`KVM_CREATE_VM`/`KVM_CREATE_VCPU`/`KVM_SET_USER_MEMORY_REGION`/`KVM _RUN`) plus `close()` of the vCPU fd, all of which require an account on the host; there is no network, adjacent-network, or remote-peer data path into `virt/kvm/async_pf.c`. AC:L - The attacker controls both sides of the window — `madvise(MADV_PAGEOUT)` on its own guest memslot guarantees `__gfn_to_pfn_memslot()` returns async, queueing up to `ASYNC_PF_PER_VCPU` (64) work items per vCPU that each sleep in `get_user_pages_remote()` for the whole swap-in latency, while `close()` of the vCPU fd drives `__fput()`→`module_put()` at a moment of the attacker's choosing. Nothing depends on a memory layout or system state the attacker cannot influence, and the flaw is unconditional on x86 since `CONFIG_KVM_ASYNC_PF` is `select`ed by `CONFIG_KVM`. PR:L - No capability check exists anywhere on the path — `kvm_dev_ioctl(KVM_CREATE_VM)`, `kvm_setup_async_pf()`, and vCPU teardown are all reachable by any user holding an open `/dev/kvm`, which distros grant to the ordinary `kvm` group and container/CI images commonly expose world-writable. The entire unsafe state that constitutes the bug — KVM module code still executing after the last `module_put()` — is created with zero privileges, so PR:L is selected as the higher-severity option over PR:H. UI:N - No victim action such as mounting a filesystem, opening a device, or plugging in hardware is required; `kvm_clear_async_pf_completion_queue()` and the premature `module_put()` run automatically from `__fput()`/`kvm_destroy_vm()` when the attacker's own process exits. S:U - The stale work callback and the freed module text/`async_pf_cache` slab are both host-kernel resources, so the flaw and its impact stay within a single security authority — this is a host-internal module-lifetime bug, not a guest-to-host or IOMMU boundary escape. C:H - This is a use-after-free in which `process_one_work()` dispatches `worker->current_func()` into a freed vmalloc module region and `async_pf_execute()` continues touching `struct kvm_async_pf` after `kmem_cache_destroy()` has released the slab; controlling the reallocated module-alloc/vmalloc contents yields kernel-mode execution and thus arbitrary kernel memory disclosure. I:H - The stale callback writes through the freed object (`list_add_tail(&apf->link, ...)`, `apf->vcpu = NULL`) into slab pages already returned to the allocator and reissued to other consumers, and executing a freed function pointer as kernel text is a direct control-flow hijack primitive — both are arbitrary-write class outcomes. A:H - Jumping into unmapped or repurposed vmalloc memory produces an immediate oops/panic, `kmem_cache_destroy()` on the still-populated `async_pf_cache` corrupts allocator state, and the same path drives full `kvm_destroy_vm()` teardown from a shared `system_wq` worker, which the commit's own trace shows wedging a kworker for more than 120 seconds.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.0 high CISA-ADP · adp CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux af585b921e5d1e919947c4b1164b59507fe7cd7b to < ab2c2f5d9576112ad22cfd3798071cb74693b1f5 (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < 82e25cc1c2e93c3023da98be282322fc08b61ffb (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < f8730d6335e5f43d09151fca1f0f41922209a264 (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < 83d3c5e309611ef593e2fcb78444fc8ceedf9bac (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < b54478d20375874aeee257744dedfd3e413432ff (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < a75afe480d4349c524d9c659b1a5a544dbc39a98 (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < 4f3a3bce428fb439c66a578adc447afce7b4a750 (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < caa9af2e27c275e089d702cfbaaece3b42bca31b (affected · git)af585b921e5d1e919947c4b1164b59507fe7cd7b to < 3d75b8aa5c29058a512db29da7cbee8052724157 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.38 (affected)0 to < 2.6.38 (unaffected · semver)4.19.312 through 4.19.* (unaffected · semver)5.4.274 through 5.4.* (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.154 through 5.15.* (unaffected · semver)6.1.84 through 6.1.* (unaffected · semver)6.6.24 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8.3 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel af585b921e5d to < ab2c2f5d9576 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < 82e25cc1c2e9 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < 8730d6335e5 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < 83d3c5e30961 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < b54478d20375 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < a75afe480d43 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < 4f3a3bce428f (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < caa9af2e27c2 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel af585b921e5d to < 3d75b8aa5c29 (affected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 2.6.38 (affected)Default: unknown CISA-ADP · adp
linux linux_kernel 0 to < 2.6.38 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 4.19.312 through 4.20 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.4.274 through 5.5 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.10.215 through 5.11 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 5.15.154 through 5.16 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 6.1.84 through 6.2 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 6.6.24 through 6.7 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 6.7.12 through 6.8 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 6.8.3 through 6.9 (unaffected · custom)Default: unknown CISA-ADP · adp
linux linux_kernel 6.9 (unaffected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-400 CWE-400 Uncontrolled Resource Consumption (CISA-ADP · adp)

References

11

Provider assertions

3

Linux · cna

KVM: Always flush async #PF workqueue when vCPU is being destroyed

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
025f769db11fafb95d9cb3ed5d58ba804469ab9e29f37785c9d4183c3e4de5b9
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected