selftests: kvm: s390: Reject invalid ioctls on ucontrol VMs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 10 repliesIn review
- v16 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- added documentation changes
- simplify uc_flic_attrs; remove .getrc and .setrc from uc_flic_attrs (Thanks Claudio)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | kvm: s390: Reject setting flic pfault attributes on ucontrol VMsDocumentation/ arch/ | +8 | 1 reply | |
| 2/6 | selftests: kvm: s390: Add ucontrol flic attr selfteststools/ | +148 | 2 replies | |
| 3/6 | kvm: s390: Reject KVM_SET_GSI_ROUTING on ucontrol VMsDocumentation/ arch/ | +5 | 2 replies | |
| 4/6 | selftests: kvm: s390: Add ucontrol gis routing testtools/ | +19 | 2 replies | |
| 5/6 | selftests: kvm: s390: Streamline uc_skey test to issue iske after ssketools/ | +5 | 1 reply | |
| 6/6 | selftests: kvm: s390: Add has device attr check to uc_attr_mem_limit selftesttools/ | +4 | 1 reply |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Claudio Imbrenda | Hariharan Mari |
|---|---|---|
| Series | R-b | |
| 1/6 | R-b | |
| 2/6 | T-b R-b | |
| 3/6 | T-b R-b | |
| 4/6 | T-b R-b | |
| 5/6 | T-b | |
| 6/6 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] selftests: kvm: s390: Reject invalid ioctls on ucontrol VMs
This patch series adds more test case issuing ioctls to ucontrol VMs and its floating interrupt controller.
The test cases trigger three possible null pointer dereferences within the handling of the KVM_DEV_FLIC_APF_ENABLE, KVM_DEV_FLIC_APF_DISABLE_WAIT and KVM_SET_GSI_ROUTING ioctl.
All of these issues do only exist on ucontrol VMs. Fixes for the issues are included within the patch series.
v2:
- added documentation changes
- simplify uc_flic_attrs; remove .getrc and .setrc from uc_flic_attrs (Thanks Claudio)
Christoph Schlameuss (6):
kvm: s390: Reject setting flic pfault attributes on ucontrol VMs
selftests: kvm: s390: Add ucontrol flic attr selftests
kvm: s390: Reject KVM_SET_GSI_ROUTING on ucontrol VMs
selftests: kvm: s390: Add ucontrol gis routing test
selftests: kvm: s390: Streamline uc_skey test to issue iske after sske
selftests: kvm: s390: Add has device attr check to uc_attr_mem_limit
selftest
Documentation/virt/kvm/api.rst | 3 + Documentation/virt/kvm/devices/s390_flic.rst | 4 + arch/s390/kvm/interrupt.c | 6 + .../selftests/kvm/s390x/ucontrol_test.c | 194 ++++++++++++++++-- 4 files changed, 189 insertions(+), 18 deletions(-)
Signature · 1 line
2.47.1