Linux: KVM: SVM: Use the active VMCB's MSR bitmap when checking if MSR is intercepted
What fixes it
- 84da7a0e92207444d9cbfe69965e17db29008f27LinuxCVE List
- 74836ae4785b9754bb36d0b18fcc1dec4e5e98d2LinuxCVE List
- 318ef696fa3c712e46bb62a1a828c3cd62f390c3LinuxCVE List
- 55865b3ae03705aa39198783b9cb1f8b96eb44e4LinuxCVE List
- 9e06bbb9ade7cdf28d4a3b5b14e5812881c8df85LinuxCVE List
- 3.17LinuxCVE List
Show all 7 fixed versions
- 4.5LinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: SVM: Use the active VMCB's MSR bitmap when checking if MSR is intercepted
Use the MSR permission bitmap of the active VMCB instead of assuming that KVM is always using vmcb02's bitmap when L2 is active, as KVM uses msrpm02 if and only if L1 wants to intercept MSR accesses, i.e. if and only if KVM needs to merge msprm01 with msrpm12.
Don't bother tracking the virtual address of the bitmap that's being used, as __va() is cheap on x86, and caching the virtual address would introduce yet another source of potentially stale information.
Text from CVE List
Affected versions 16
- Linuxaffected: b2ac58f90540e39324e7a29a7ad471407ae0bf48 before 84da7a0e92207444d9cbfe69965e17db29008f27CVE List
- Linuxaffected: b2ac58f90540e39324e7a29a7ad471407ae0bf48 before 74836ae4785b9754bb36d0b18fcc1dec4e5e98d2CVE List
- Linuxaffected: b2ac58f90540e39324e7a29a7ad471407ae0bf48 before 318ef696fa3c712e46bb62a1a828c3cd62f390c3CVE List
- Linuxaffected: b2ac58f90540e39324e7a29a7ad471407ae0bf48 before 55865b3ae03705aa39198783b9cb1f8b96eb44e4CVE List
- Linuxaffected: b2ac58f90540e39324e7a29a7ad471407ae0bf48 before 9e06bbb9ade7cdf28d4a3b5b14e5812881c8df85CVE List
- Linuxaffected: f54d0bb8487d2f016fbc4f0e38ef9098f8eb8bd4CVE List
- Linuxaffected: 89be8950bab799ddb9cc3777345e3c21bcb32dbaCVE List
- Linuxaffected: 3.16.57 before 3.17CVE List
- Linuxaffected: 4.4.168 before 4.5CVE List
- Linuxaffected: 4.16CVE List
- Linuxunaffected: all versions before 4.16CVE List
- Linuxunaffected: 6.6.160 through 6.6.*CVE List
- Linuxunaffected: 6.12.113 through 6.12.*CVE List
- Linuxunaffected: 6.18.56 through 6.18.*CVE List
- Linuxunaffected: 7.2.10 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List
References 5
- git.kernel.org/stable/c/84da7a0e92207444d9cbfe69965e17db29008f27Referencevia CVE List
- git.kernel.org/stable/c/74836ae4785b9754bb36d0b18fcc1dec4e5e98d2Referencevia CVE List
- git.kernel.org/stable/c/318ef696fa3c712e46bb62a1a828c3cd62f390c3Referencevia CVE List
- git.kernel.org/stable/c/55865b3ae03705aa39198783b9cb1f8b96eb44e4Referencevia CVE List
- git.kernel.org/stable/c/9e06bbb9ade7cdf28d4a3b5b14e5812881c8df85Referencevia CVE List