Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Avoid clearing VMCB_LBR in vmcb12 svm_copy_lbrs() always marks VMCB_LBR dirty in the destination VMCB. However, nested_svm_vmexit() uses it to copy LBRs to vmcb12, and clearing clean bits in vmcb12 is not architecturally defined. Move vmcb_mark_dirty() to callers and drop it for vmcb12. This also facilitates incoming refactoring that does not pass the entire VMCB to svm_copy_lbrs().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d20c796ca3709801f8a7fa36e8770a3dd8ebd34e before 165b08d2d1346dce5ed43db65e10f3194b9ae2fe; affected d20c796ca3709801f8a7fa36e8770a3dd8ebd34e before 11d347b7edf5093d69aca72317300798a32bfd6b; affected d20c796ca3709801f8a7fa36e8770a3dd8ebd34e before a3f0981a5a0e0bd51ad74cc7d9eed32294b24002; affected d20c796ca3709801f8a7fa36e8770a3dd8ebd34e before 9efe23568806d1cd06f7d146f9b3037b8d585a9f; affected d20c796ca3709801f8a7fa36e8770a3dd8ebd34e before b53ab5167a81537777ac780bbd93d32613aa3bda |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/165b08d2d1346dce5ed43db65e10f3194b9ae2fe
- https://git.kernel.org/stable/c/11d347b7edf5093d69aca72317300798a32bfd6b
- https://git.kernel.org/stable/c/a3f0981a5a0e0bd51ad74cc7d9eed32294b24002
- https://git.kernel.org/stable/c/9efe23568806d1cd06f7d146f9b3037b8d585a9f
- https://git.kernel.org/stable/c/b53ab5167a81537777ac780bbd93d32613aa3bda