CVE-2026-89919: KVM: s390: keyop: use mmu_lock to read gmap->asce
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: keyop: use mmu_lock to read gmap->asce
Every other dat_* consumer in this file (kvm_s390_get_skeys, set_skeys, get_cmma_bits, set_cmma_bits, MEM_CLR_CMMA, kvm_s390_fixup_prefix, kvm_test_age_gfn, kvm_age_gfn) reads kvm->arch.gmap->asce *inside* the mmu_lock read-side. keyop is the only outlier.
gmap->asce is mutated under write_lock(mmu_lock) by gmap_set_limit() and keyop might use a stale asce value for walking as KVM_S390_KEYOP and KVM_S390_VM_MEM_LIMIT_SIZE can run concurrently. This can result in memory corruption.
The Linux kernel CVE team has assigned CVE-2026-89919 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.0 with commit 0ee4ddc1647b8b3b9e7a94d798a1774a764428c1 and fixed in 7.2.5 with commit ae452b990e0544425f77045351c56e77158858e7 Issue introduced in 7.0 with commit 0ee4ddc1647b8b3b9e7a94d798a1774a764428c1 and fixed in 7.3-rc1 with commit da07a751efa4583385f9f0f47113549fe8871242
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89919
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/s390/kvm/kvm-s390.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/ae452b990e0544425f77045351c56e77158858e7 https://git.kernel.org/stable/c/da07a751efa4583385f9f0f47113549fe8871242