Skip to content

sg: fix infoleak when using SG_GET_REQUEST_TABLE

Hannes Reinecke linux-scsi 1 version Applied

Status from this message: Applied to 4.14/scsi-fixes. Thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2sg: factor out sg_fill_request_table()drivers/scsi/sg.c+36 -264 replies
2/2sg: fixup infoleak when using SG_GET_REQUEST_TABLEdrivers/scsi/sg.c+2 -36 replies

Reviews trailers per patch

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

PatchBart Van AsscheChristoph HellwigEric DumazetDouglas Gilbert
1/2R-b R-b A-b
2/2R-b R-b R-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 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] sg: fix infoleak when using SG_GET_REQUEST_TABLE

KMSAN detected a possible infoleak when using SG_GET_REQUEST_TABLE ioctl. This patchset fixes it.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
sg: factor out sg_fill_request_table()
sg: fixup infoleak when using SG_GET_REQUEST_TABLE

 drivers/scsi/sg.c | 65 +++++++++++++++++++++++++++++++------------------------
 1 file changed, 37 insertions(+), 28 deletions(-)
Signature · 1 line
1.8.5.6