KVM: arm64: Take the SRCU lock for page table walks in fault injection and AT emulation
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.18.36, 7.0.13
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From be04cebf3e78874627dc1042991d5d504464a5cc · fixed in 0648b375aa951cc15d9e90f9ac4de71e0b51fa45; From be04cebf3e78874627dc1042991d5d504464a5cc · fixed in 97706097f9b851cfe55c3b00b083dfc2bcf542bc; From be04cebf3e78874627dc1042991d5d504464a5cc · fixed in ec42b4ed1b072ea2d03f086061aa67bad6d8de39; From be04cebf3e78874627dc1042991d5d504464a5cc · fixed in f2ca45b50d4216c9cc7ffabf50d9ad1932209251
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.36; From 6.19.0 · fixed in 7.0.13