---
id: CVE-2026-68428
title: 'KVM: x86/mmu: Fix use-after-free on vendor module reload'
summary: |-
  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 unchange…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    034b7fa1f5846d69eb51f12ce6d1c71871e83c2d
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    42272b0f239f3a89f9c26a01cc37aee06138b1b7
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    940950d5cd86f250dca578279ad5ca63b4e0986b
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    6f4be73880302d5642c83a0813fdfe1f5fd4b6e3
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    32b9f89ed9e6d7a45075d64089c254a7f6e13695
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    ec9daa8fd1b6f45545c9839dca55bd867fad9e13
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    43cfb20d62ffe49626d62beecfc32eb6f262191c
  - >-
    Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 <
    52f2f7c30126037975389aa04d24c506a5177c35
  - Linux 2.6.25
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T16:49:15.500528Z'
published: '2026-08-10'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T16:55:16.427Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-68428'
references:
  - url: 'https://git.kernel.org/stable/c/034b7fa1f5846d69eb51f12ce6d1c71871e83c2d'
  - url: 'https://git.kernel.org/stable/c/42272b0f239f3a89f9c26a01cc37aee06138b1b7'
  - url: 'https://git.kernel.org/stable/c/940950d5cd86f250dca578279ad5ca63b4e0986b'
  - url: 'https://git.kernel.org/stable/c/6f4be73880302d5642c83a0813fdfe1f5fd4b6e3'
  - url: 'https://git.kernel.org/stable/c/32b9f89ed9e6d7a45075d64089c254a7f6e13695'
  - url: 'https://git.kernel.org/stable/c/ec9daa8fd1b6f45545c9839dca55bd867fad9e13'
  - url: 'https://git.kernel.org/stable/c/43cfb20d62ffe49626d62beecfc32eb6f262191c'
  - url: 'https://git.kernel.org/stable/c/52f2f7c30126037975389aa04d24c506a5177c35'
tags:
  - cve.org
epss: 0.00165
epssPercentile: 0.05703
ingestedAt: '2026-11-06T18:00:12.604Z'
---

## Overview

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.

## Affected

- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 034b7fa1f5846d69eb51f12ce6d1c71871e83c2d`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 42272b0f239f3a89f9c26a01cc37aee06138b1b7`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 940950d5cd86f250dca578279ad5ca63b4e0986b`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 6f4be73880302d5642c83a0813fdfe1f5fd4b6e3`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 32b9f89ed9e6d7a45075d64089c254a7f6e13695`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < ec9daa8fd1b6f45545c9839dca55bd867fad9e13`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 43cfb20d62ffe49626d62beecfc32eb6f262191c`
- `Linux >= cb498ea2ce1d3f3c0bc0a2522241dca10263e437 < 52f2f7c30126037975389aa04d24c506a5177c35`
- `Linux 2.6.25`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
