VDB

CVE-2026-98468

CVE-2026-98468 PUBLISHED

KVM: arm64: Fix spurious warning for benign stage 2 teardown race

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix spurious warning for benign stage 2 teardown race kvmtool was used to establish an L1 guest with 8 CPUs and 8 GiB of RAM, an L2 guest with 4 CPUs and 4 GiB of RAM and an L3 guest with 2 CPUs and 2 GiB of RAM, all of which was then exited. Under memory pressure in the L0 host warnings were observed due to migration triggered by compaction: WARNING: arch/arm64/kvm/mmu.c:336 at __unmap_stage2_range+0x64/0x80, CPU#5: kcompactd0/66 Which was, in turn, triggered by an MMU notifier for the host invalidation: mmu_notifier_invalidate_range_start() -> ... -> kvm_mmu_notifier_invalidate_range_start() -> kvm_mmu_unmap_gfn_range() -> kvm_unmap_gfn_range() -> kvm_nested_s2_unmap() -> kvm_stage2_unmap_range() -> __unmap_stage2_range() -> stage2_apply_range() <- -EINVAL, triggering a WARN_ON() Racing with L0's teardown of stage 2 page tables: exit_mm() -> mmput() -> __mmput() -> exit_mmap() -> mmu_notifier_release() -> ... -> kvm_mmu_notifier_release() -> kvm_flush_shadow_all() -> kvm_arch_flush_shadow_all() -> kvm_free_stage2_pgd() -> [ acquire kvm->mmu_lock for write ] -> mmu->pgt = NULL [ among other tasks ] -> [ release kvm->mmu_lock for write ] It turns out there is a benign race resulting in a spurious warning: Thread A - notify: migration | Thread B - notify: release -------------------------------|--------------------------------- < kvm->mmu_lock held > | stage2_apply_range() | get mmu->pgt, check !NULL | ... | kvm_arch_flush_shadow_all() cond_resched_rwlock_write(); | < contend, sleep kvm->mmu_lock > < drop kvm->mmu_lock > | < acquire kvm->mmu_lock> | ... | kvm_free_stage2_pgd() | mmu->pgt = NULL | < invalidate MMU > | ... | < release kvm->mmu_lock > [ scheduled ] | stage2_apply_range() | < loop to next > | get, mmu->pgt, check !NULL | is NULL, return -EINVAL | __unmap_stage2_range() | WARN_ON(-EINVAL) <--- entirely spurious - the race was handled correctly. Fix the spurious warning by updating stage2_apply_range() to no longer treat concurrent PGT teardown on lock release as an error - whether the walker is tearing down page tables or doing something else this is a legitimate reason to abort the operation without error. This keeps the warning in place for all other circumstances. In practice only __unmap_stage2_range() actually does anything with the error so this only impacts that.

EPSS 0.21% · 10.6th percentile

Fixed versions

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

PackageEcosystemFixed in
perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-headersAmazon Linux1:6.18.56-125.164.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel-livepatch-6.18.56-125.164Amazon Linux1:1.0-0.amzn2023
kernel6.18-develAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.21%
10.6th percentile

Affected products

VendorProductVersions
LinuxLinuxec14c272408af43d392f65f55e66f3b94fc61921, ec14c272408af43d392f65f55e66f3b94fc61921, ec14c272408af43d392f65f55e66f3b94fc61921
LinuxLinux6.11, 0, 6.12.112
amazon:2023perf6.180
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.120
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023bpftool6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel6.180
linuxlinux_kernel6.11, 6.11, 6.11
amazon:2023kernel6.12-devel0

…and 7 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98468
vulnetix vdb fixes CVE-2026-98468

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-98468/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 ›