VDB

CVE-2026-68428

CVE-2026-68428 PUBLISHED

KVM: x86/mmu: Fix use-after-free on vendor module reload

Reported by linux · Published August 10, 2026

In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Fix use-after-free on vendor module reload mmu_destroy_caches() destroys pte_list_desc_cache and mmu_page_header_cache, but leaves both pointers unchanged. The pointers live in kvm.ko, and therefore survive when a vendor module is unloaded while kvm.ko remains loaded. If creation of pte_list_desc_cache fails during a subsequent vendor module load, its assignment sets pte_list_desc_cache to NULL and the error path calls mmu_destroy_caches(). mmu_page_header_cache still points to the cache destroyed during the preceding vendor module unload. Passing that stale pointer to kmem_cache_destroy() causes a slab use-after-free. Reproduce the issue on a v7.1.3 kernel with CONFIG_KASAN=y, CONFIG_KASAN_GENERIC=y, CONFIG_KVM=m, and CONFIG_KVM_INTEL=m. A one-shot test hook forces pte_list_desc_cache to NULL on the second invocation of kvm_mmu_vendor_module_init(): 1. Load kvm.ko and kvm-intel.ko, creating both caches. 2. Unload only kvm_intel, leaving kvm.ko loaded. 3. Reload kvm_intel and force initialization through the -ENOMEM path. KASAN reports: BUG: KASAN: slab-use-after-free in kvm_mmu_vendor_module_init+0x5b/0x170 [kvm] ... kmem_cache_destroy+0x21/0x1d0 kvm_mmu_vendor_module_init+0x5b/0x170 [kvm] ... Allocated by task 16817: __kmem_cache_create_args+0x12c/0x3b0 __kmem_cache_create.constprop.0+0xb6/0xf0 [kvm] kvm_mmu_vendor_module_init+0x13b/0x170 [kvm] ... Freed by task 16820: kmem_cache_destroy+0x117/0x1d0 kvm_mmu_vendor_module_exit+0x21/0x30 [kvm] Clear both pointers immediately after destroying their caches so that the stored state reflects the caches' lifetime and repeated cleanup is safe. With the fix applied, the same injected vendor module reload fails with -ENOMEM as expected and produces no KASAN report.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
kernelAmazon Linux1:6.1.186-228.374.amzn2023
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
kernel-livepatch-6.1.186-228.374Amazon Linux1:1.0-0.amzn2023
kernel-modules-extraAmazon Linux1:6.1.186-228.374.amzn2023

Affected products

VendorProductVersions
LinuxLinuxcb498ea2ce1d3f3c0bc0a2522241dca10263e437, cb498ea2ce1d3f3c0bc0a2522241dca10263e437, cb498ea2ce1d3f3c0bc0a2522241dca10263e437
LinuxLinux2.6.25, 0, 5.10.265
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel-modules-extra0
linuxlinux_kernel2.6.25, 2.6.25, 2.6.25
amazon:2023bpftool6.180
amazon:2023kernel-modules-extra-common0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel6.18-devel0

…and 18 more

Timeline

  • Aug 10, 2026 Coalition ESS Score
  • Aug 10, 2026 CVE Published
  • Aug 16, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68428
vulnetix vdb fixes CVE-2026-68428

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68428/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›