Linux
KVM: nSVM: Always use vmcb01 in VMLOAD/VMSAVE emulation
In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Always use vmcb01 in VMLOAD/VMSAVE emulation Commit cc3ed80ae69f ("KVM: nSVM: always use vmcb01 to for vmsave/vmload of guest state") made KVM always use vmcb01 for the fields controlled by VMSAVE/VMLOAD, but it missed updating the VMLOAD/VMSAVE emulation code to always use vmcb01. As a result, if VMSAVE/VMLOAD is executed by an L2 guest and is not intercepted by L1, KVM will mistakenly use vmcb02. Always use vmcb01 instead of the current VMCB.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < 10063e1251c1485034a018236080792ad083dcc5
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < c3b7015000988ba35ecd5648f4b2283960f00543
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < 3880e331b0b31d0d5d3702b124f6c93539cd478a
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < fce2fd4a2ca05670a91015aacccf96a1c26268fd
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < d464cf1ed900d47c85393d40b00017b6adfc2e6c
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < 0004ecb798b30e90d7ebfe74efae2d9423315a64
- >= cc3ed80ae69f454c3d904af9f65394a540099723, < 127ccae2c185f62e6ecb4bf24f9cb307e9b9c619
Fixed in 10063e1251c1485034a018236080792ad083dcc5, c3b7015000988ba35ecd5648f4b2283960f00543, 3880e331b0b31d0d5d3702b124f6c93539cd478a, fce2fd4a2ca05670a91015aacccf96a1c26268fd, d464cf1ed900d47c85393d40b00017b6adfc2e6c, 0004ecb798b30e90d7ebfe74efae2d9423315a64, 127ccae2c185f62e6ecb4bf24f9cb307e9b9c619
- 5.13
Fixed in 0, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0
Mitigation
Upgrade Linux to 10063e1251c1485034a018236080792ad083dcc5 or c3b7015000988ba35ecd5648f4b2283960f00543 or 3880e331b0b31d0d5d3702b124f6c93539cd478a or fce2fd4a2ca05670a91015aacccf96a1c26268fd or d464cf1ed900d47c85393d40b00017b6adfc2e6c or 0004ecb798b30e90d7ebfe74efae2d9423315a64 or 127ccae2c185f62e6ecb4bf24f9cb307e9b9c619 or later.
Upgrade Linux to 0 or 5.15.202 or 6.1.165 or 6.6.128 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 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.