sanitize sg
Status from this message: Applied to 4.12/scsi-queue.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 1 replyApplied
- v36 patches 7 repliesSuperseded
- v26 patches 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 12 replies | Superseded |
Changes to v1 from the cover letter
- Include reviews from Christoph
- Add patch to close race condition in sg_remove_sfp_usercontext()
- Remove stale variable 'save_scat_len'
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sg: disable SET_FORCE_LOW_DMAdrivers/ include/ | +9 | 0 replies | |
| 2/6 | sg: remove 'save_scat_len'drivers/ | +0 | 0 replies | |
| 3/6 | sg: protect accesses to 'reserved' page arraydrivers/ | +25 | 0 replies | |
| 4/6 | sg: check for valid direction before starting the requestdrivers/ | +34 | 0 replies | |
| 5/6 | sg: use standard lists for sg_requestsdrivers/ | +61 | 0 replies | |
| 6/6 | sg: close race condition in sg_remove_sfp_usercontext()drivers/ | +10 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Christoph Hellwig |
|---|---|---|
| 1/6 | R-b T-b | R-b |
| 2/6 | R-b T-b | R-b |
| 3/6 | R-b T-b | |
| 4/6 | T-b | |
| 5/6 | R-b T-b | |
| 6/6 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv4 0/6] sanitize sg
Hi all,
the infamous syzkaller incovered some more issues in the sg driver. This patchset fixes those two issues (and adds a fix for yet another potential issue; checking for a NULL dxferp when dxfer_len is not 0). It also removes handling of the SET_FORCE_LOW_DMA ioctl, which never worked since the initial git checkin. And does some code cleanup by removing the private list implementation, using standard lists instead.
As usual, comments and reviews are welcome.
Changes to v1:
- Include reviews from Christoph
- Add patch to close race condition in sg_remove_sfp_usercontext()
- Remove stale variable 'save_scat_len'
Changes to v2:
- Move misplaced hunk
- Add Reviewed-by: and Tested-by: tags
Changes to v3:
- Review locking in 'sg: protect accesses ...'
- Reshuffle hunks to keep kbuild robot happy
Hannes Reinecke (5):
sg: disable SET_FORCE_LOW_DMA
sg: remove 'save_scat_len'
sg: protect accesses to 'reserved' page array
sg: use standard lists for sg_requests
sg: close race condition in sg_remove_sfp_usercontext()
Johannes Thumshirn (1):
sg: check for valid direction before starting the request
drivers/scsi/sg.c | 282 +++++++++++++++++++++++++++--------------------------- include/scsi/sg.h | 1 - 2 files changed, 139 insertions(+), 144 deletions(-)
Signature · 1 line
1.8.5.6