Linux
KVM: arm64: Take the SRCU lock for page table walks in fault injection and AT emulation
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= be04cebf3e78874627dc1042991d5d504464a5cc, < 0648b375aa951cc15d9e90f9ac4de71e0b51fa45
- >= be04cebf3e78874627dc1042991d5d504464a5cc, < 97706097f9b851cfe55c3b00b083dfc2bcf542bc
- >= be04cebf3e78874627dc1042991d5d504464a5cc, < ec42b4ed1b072ea2d03f086061aa67bad6d8de39
- >= be04cebf3e78874627dc1042991d5d504464a5cc, < f2ca45b50d4216c9cc7ffabf50d9ad1932209251
Fixed in 0648b375aa951cc15d9e90f9ac4de71e0b51fa45, 97706097f9b851cfe55c3b00b083dfc2bcf542bc, ec42b4ed1b072ea2d03f086061aa67bad6d8de39, f2ca45b50d4216c9cc7ffabf50d9ad1932209251
- 6.12
Fixed in 0, 6.12.114, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 0648b375aa951cc15d9e90f9ac4de71e0b51fa45 or 97706097f9b851cfe55c3b00b083dfc2bcf542bc or ec42b4ed1b072ea2d03f086061aa67bad6d8de39 or f2ca45b50d4216c9cc7ffabf50d9ad1932209251 or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.