Skip to content

s390x: even more hardening fixes

Eric Farman qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 7 repliesIn review
  2. v29 patches 6 repliesSuperseded
  3. v19 patches 22 repliesSuperseded

Changes in v3 from the cover letter

- Collect reviews/acks (Thanks Christian, Matt!)
- [CB] Patch 7: Rename realloc variable to new_buf
- [CB] Patch 8: Move check of at_byte before check of command chaining flag

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9virtio-ccw: Limit ISC to MAX_ISChw/s390x/css.c hw/s390x/virtio-ccw.c+12 -10 replies
2/9virtio-ccw: Do not overwrite existing indicatorshw/s390x/virtio-ccw.c+21 -00 replies
3/9virtio-ccw: Fix rc check in read configuration pathhw/s390x/virtio-ccw.c+1 -10 replies
4/9vfio/ap: Clear error object pointer after non-fatal errorshw/vfio/ap.c+4 -00 replies
5/9vfio/ccw: Clear error object pointer after non-fatal errorshw/vfio/ccw.c+2 -00 replies
6/9hw/intc/s390x: Fix payload to KVM_HAS_DEVICE_ATTR ioctlhw/intc/s390_flic_kvm.c+1 -10 replies
7/9hw/intc/s390x: Fix check after g_try_reallochw/intc/s390_flic_kvm.c+4 -20 replies
8/9s390x/css: Use datastream pointer for checking no-data CCWshw/s390x/css.c+14 -71 reply
9/9s390x/sclp: Reject short headers in PV casehw/s390x/sclp.c+6 -04 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchMatthew RosatoChristian BorntraegerAnthony Krowiak
1/9R-b
2/9R-b
3/9R-b
4/9R-b R-b
5/9R-b
6/9R-b R-b
7/9R-b R-b
8/9R-b
9/9R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] s390x: even more hardening fixes

A small pile of additional hardening fixes.

v2->v3:
- Collect reviews/acks (Thanks Christian, Matt!)
- [CB] Patch 7: Rename realloc variable to new_buf
- [CB] Patch 8: Move check of at_byte before check of command chaining flag

v1->v2: https://lore.kernel.org/qemu-devel/[email protected]/
- Collect reviews/acks (Thanks Matt, Christian, Tony!)
- [MR] Add fixes/stable tags to patches 1, 2, 8
- [CB, MR] Drop fixes/stable tags from patches 5, 6
- [CB] Patch 2: Unwind indicators upon re-set, instead of rejecting it
- [MR] Patch 7: Use a temporary variable on g_try_realloc() call
- [MR] Patch 8: Use CCW datastream to increment no-data count

v1: https://lore.kernel.org/qemu-devel/[email protected]/

Eric Farman (9):
virtio-ccw: Limit ISC to MAX_ISC
virtio-ccw: Do not overwrite existing indicators
virtio-ccw: Fix rc check in read configuration path vfio/ap: Clear error object pointer after non-fatal errors vfio/ccw: Clear error object pointer after non-fatal errors hw/intc/s390x: Fix payload to KVM_HAS_DEVICE_ATTR ioctl hw/intc/s390x: Fix check after g_try_realloc s390x/css: Use datastream pointer for checking no-data CCWs s390x/sclp: Reject short headers in PV case

 hw/intc/s390_flic_kvm.c |  8 +++++---
 hw/s390x/css.c          | 28 ++++++++++++++++++++--------
 hw/s390x/sclp.c         |  6 ++++++
 hw/s390x/virtio-ccw.c   | 29 ++++++++++++++++++++++++++++-
 hw/vfio/ap.c            |  4 ++++
 hw/vfio/ccw.c           |  2 ++
 6 files changed, 65 insertions(+), 12 deletions(-)
Signature · 1 line
2.53.0