RISC-V: KVM: Write hgatp register with valid mode bits
- 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.6.160, 6.12.114, 6.17.3
- 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: RISC-V: KVM: Write hgatp register with valid mode bits According to the RISC-V Privileged Architecture Spec, when MODE=Bare is selected,software must write zero to the remaining fields of hgatp. We have detected the valid mode supported by the HW before, So using a valid mode to detect how many vmid bits are supported.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From fd7bb4a251dfc1da3496bf59a4793937c13e8c1f · fixed in 8b6e327736db013b9e385c3f6f9f0b04ddf26e43; From fd7bb4a251dfc1da3496bf59a4793937c13e8c1f · fixed in 5cba8ae00279296a586d0596443109d601b1d116; From fd7bb4a251dfc1da3496bf59a4793937c13e8c1f · fixed in d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357; From fd7bb4a251dfc1da3496bf59a4793937c13e8c1f · fixed in 2b351e3d04be9e1533f26c3464f1e44a5beace30
- Linux Linux
5.16
- KernelLinux
From 5.16.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.17.3