diff options
| author | Christoph Schlameuss <[email protected]> | 2024-11-07 14:10:22 +0000 |
|---|---|---|
| committer | Janosch Frank <[email protected]> | 2024-11-11 12:06:07 +0000 |
| commit | 89be2544579932a7d5cdb5e534dfd00624c5f39f (patch) | |
| tree | 7a873c22c3d62cb3826a2d369710d3541d4fc10c /rust/helpers/helpers.c | |
| parent | KVM: s390: selftests: Add uc_skey VM test case (diff) | |
| download | kernel-89be2544579932a7d5cdb5e534dfd00624c5f39f.tar.gz kernel-89be2544579932a7d5cdb5e534dfd00624c5f39f.zip | |
KVM: s390: selftests: Verify reject memory region operations for ucontrol VMs
Add a test case verifying KVM_SET_USER_MEMORY_REGION and
KVM_SET_USER_MEMORY_REGION2 cannot be executed on ucontrol VMs.
Executing this test case on not patched kernels will cause a null
pointer dereference in the host kernel.
This is fixed with commit:
commit 7816e58967d0 ("kvm: s390: Reject memory region operations for ucontrol VMs")
Signed-off-by: Christoph Schlameuss <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: Fixed patch prefix]
Signed-off-by: Janosch Frank <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
