KVM: s390: Fix _gaccess_shadow_fault()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: Fix _gaccess_shadow_fault()
In some circumstances, it is possible that the page of nested guest memory that is being shadowed is not present at all in the parent guest gmap. dat_entry_walk() will not find any leaf entry and return with -ENOENT, which will erroneously be propagated all the way to userspace.
Fix by manually calling gmap_link() on the memory of the nested guest that is being shadowed if the mapping was not already present.
From the CVE record · Linux
The Linux kernel’s KVM s390 shadow fault handling can incorrectly return -ENOENT to userspace when a nested guest memory page is absent from the parent guest mapping. The input does not describe an attacker action or specify network access, authentication requirements, or user interaction.
Engineers running the Linux kernel with KVM on s390 should check their systems; affected versions are not specified.