CVE-2026-53277: KVM: arm64: Take the SRCU lock for page table walks in fault injection and AT emulation
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Take the SRCU lock for page table walks in fault injection and AT emulation
walk_s1() and kvm_walk_nested_s2() expect to be called while holding kvm->srcu to guard against memslot changes. While this is generally the case, __kvm_at_s12() and __kvm_find_s1_desc_level() call into the respective walkers without taking kvm->srcu.
Fix by acquiring kvm->srcu prior to the table walk in both instances.
The Linux kernel CVE team has assigned CVE-2026-53277 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit be04cebf3e78874627dc1042991d5d504464a5cc and fixed in 6.18.36 with commit 97706097f9b851cfe55c3b00b083dfc2bcf542bc Issue introduced in 6.12 with commit be04cebf3e78874627dc1042991d5d504464a5cc and fixed in 7.0.13 with commit ec42b4ed1b072ea2d03f086061aa67bad6d8de39 Issue introduced in 6.12 with commit be04cebf3e78874627dc1042991d5d504464a5cc and fixed in 7.1 with commit f2ca45b50d4216c9cc7ffabf50d9ad1932209251
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-53277
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/arm64/kvm/at.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/97706097f9b851cfe55c3b00b083dfc2bcf542bc https://git.kernel.org/stable/c/ec42b4ed1b072ea2d03f086061aa67bad6d8de39 https://git.kernel.org/stable/c/f2ca45b50d4216c9cc7ffabf50d9ad1932209251