Skip to content

s390/dasd: fixes for RCD retry and BIODASDCHECKFMT

Stefan Haberland linux-block linux-s390 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4s390/dasd: Fix typo 'immediatly' -> 'immediately'drivers/s390/block/dasd.c drivers/s390/block/dasd_alias.c drivers/s390/block/dasd_eckd.c +1 more+11 -110 replies
2/4s390/dasd: Re-initialize RCD buffer with "V1.0" before every startdrivers/s390/block/dasd.c drivers/s390/block/dasd_eckd.c drivers/s390/block/dasd_int.h+34 -340 replies
3/4s390/dasd: Fix wrong free and refcount leak in build_check_tcw error pathdrivers/s390/block/dasd_eckd.c+2 -10 replies
4/4s390/dasd: Don't trust userspace-supplied result field in format checkdrivers/s390/block/dasd_ioctl.c+3 -10 replies

Reviews trailers per patch

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

PatchJan Höppner
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] s390/dasd: fixes for RCD retry and BIODASDCHECKFMT

Hi Jens,

please apply the following DASD fixes.

- Re-initialize the RCD buffer magic "V1.0" before every start of the request to fix a condition where z/VM omitted the UIT and the paths were wrongly reported as leading to different devices.
- Two fixes for the BIODASDCHECKFMT ioctl, both reported by Sashiko:
a wrong free plus a refcount leak in the dasd_eckd_build_check_tcw() error path, and an info leak caused by trusting the userspace-supplied result field.
- A typo fix in a function name, dasd_sleep_on_immediatly(). It is a prerequisite for the RCD patch.

Thanks,
Stefan

Stefan Haberland (4):
s390/dasd: Fix typo 'immediatly' -> 'immediately' s390/dasd: Re-initialize RCD buffer with "V1.0" before every start s390/dasd: Fix wrong free and refcount leak in build_check_tcw error
path
s390/dasd: Don't trust userspace-supplied result field in format check

 drivers/s390/block/dasd.c       |  5 ++-
 drivers/s390/block/dasd_alias.c |  2 +-
 drivers/s390/block/dasd_eckd.c  | 69 +++++++++++++--------------------
 drivers/s390/block/dasd_int.h   | 17 +++++++-
 drivers/s390/block/dasd_ioctl.c |  4 +-
 5 files changed, 50 insertions(+), 47 deletions(-)
Signature · 1 line
2.53.0