KVM: arm64: Apply the fine-grained UNDEFs without FEAT_FGT
- 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.113, 6.18.56, 7.2.10
- 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: Apply the fine-grained UNDEFs without FEAT_FGT FGUs don't actually require hardware support, so don't gate fgt trap config insertion on FGT. This is the only action required to allow FGUs always, as kvm_calculate_traps() already computes the FGU bits with or without FEAT_FGT. This also fixes a spurious WARN when a TLBI OS is run on a guest in vEL1 without FEAT_TLBIOS on non FEAT_FGT hardware. In this configuration the course-grained HCR_EL2.TTLBOS trap reaches the handler handle_tlbi_el1(), which expects an EL1 TLBI only from vEL2. With FGUs enabled the UNDEF will be injected without needing the specific handler. [oliver: Take Wei-Lin's suggested changelog]
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f · fixed in 2f4a15c52a552c5244ec27f4ca8bda855594f918; From f5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f · fixed in 1113374a17d7f7d16b02ee0bbd9b1e7a60cbb087; From f5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f · fixed in af3300b3a6bace925a496f3520e171c07b999c72; From f5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f · fixed in 4bdd2b3a708c1feb701cb8b62feb8ad2fd77bb07
- Linux Linux
6.9
- KernelLinux
From 6.9.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10