diff options
| author | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2025-11-04 18:40:48 +0300 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-12-08 15:06:14 +0300 |
| commit | 2f393c228cc519ddf19b8c6c05bf15723241aa96 (patch) | |
| tree | 278c0cb064cab8d205d86c78e3120f8de7164e9b /drivers/platform/surface/aggregator/ssh_request_layer.c | |
| parent | f770950a4709af290f314e691897ec0003fbd8ae (diff) | |
| download | linux-2f393c228cc519ddf19b8c6c05bf15723241aa96.tar.xz | |
KVM: s390: Fix gmap_helper_zap_one_page() again
A few checks were missing in gmap_helper_zap_one_page(), which can lead
to memory corruption in the guest under specific circumstances.
Add the missing checks.
Fixes: 5deafa27d9ae ("KVM: s390: Fix to clear PTE when discarding a swapped page")
Cc: stable@vger.kernel.org
Reported-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Tested-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions
