KVM: s390: pv: fix index value of replaced ASCE
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
b5477f53e1d4de6191f50748a027251b14952eeb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: pv: fix index value of replaced ASCE
The index field of the struct page corresponding to a guest ASCE should be 0. When replacing the ASCE in s390_replace_asce(), the index of the new ASCE should also be set to 0.
Having the wrong index might lead to the wrong addresses being passed around when notifying pte invalidations, and eventually to validity intercepts (VM crash) if the prefix gets unmapped and the notifier gets called with the wrong address.
From the CVE record · Linux
The Linux kernel's KVM s390 protected-virtualization code can leave an incorrect index on a replaced guest ASCE. This can pass the wrong address during page-table invalidation and eventually crash a VM if the prefix is unmapped. The input does not specify an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with KVM s390 protected virtualization should check their installations; affected versions are not specified.