Skip to content

bsg-lib: fix use-after-free under memory-pressure

Christoph Hellwig linux-block linux-scsi stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 33 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9bsg-lib: fix use-after-free under memory-pressureblock/bsg-lib.c+21 -62 replies
2/9bfa: don't reset max_segments for every bsg requestdrivers/scsi/bfa/bfad_bsg.c+0 -72 replies
3/9libfc: don't assign resid_len in fc_lport_bsg_requestdrivers/scsi/libfc/fc_lport.c+0 -32 replies
4/9qla2xxx: don't break the bsg-lib abstractionsdrivers/scsi/qla2xxx/qla_bsg.c drivers/scsi/qla2xxx/qla_isr.c drivers/scsi/qla2xxx/qla_mr.c+8 -173 replies
5/9scsi_transport_sas: check reply payload length instead of bidi requestdrivers/scsi/scsi_transport_sas.c+1 -12 replies
6/9bsg-lib: introduce a timeout field in struct bsg_jobblock/bsg-lib.c drivers/s390/scsi/zfcp_fc.c include/linux/bsg-lib.h+5 -23 replies
7/9bsg-lib: remove bsg_job.reqblock/bsg-lib.c include/linux/bsg-lib.h+6 -93 replies
8/9block: pass full fmode_t to blk_verify_commandblock/bsg.c block/scsi_ioctl.c drivers/scsi/sg.c +1 more+14 -163 replies
9/9bsg: split handling of SCSI CDBs vs transport requeuesblock/bsg-lib.c block/bsg.c drivers/scsi/scsi_lib.c +4 more+251 -21113 replies

Reviews trailers per patch

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

PatchChristoph HellwigHannes ReineckeJohannes ThumshirnHimanshu MadhaniBenjamin Block
1/9R-b R-b R-b
2/9R-b R-b
3/9R-b R-b
4/9Reviwed-by R-b R-b T-b
5/9R-b R-b
6/9R-b R-b
7/9R-b R-b R-b
8/9R-b R-b R-b
9/9R-b R-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 5 reviewers.

Read the v1 thread