Re: [PATCH] scsi: sg: Fix mismatch in sg_get_rq_mark

2017-05-16 Thread Andrey Konovalov
On Tue, May 16, 2017 at 4:52 PM, wrote: > From: Firo Yang > > This bug was reported by Andrey Konovalov with syzkaller: > > Call Trace: > sg_finish_rem_req+0x2a6/0x320 drivers/scsi/sg.c:1839 > sg_new_read+0x3c/0x430 drivers/scsi/sg.c:567 >

[PATCH] scsi: sg: Fix mismatch in sg_get_rq_mark

2017-05-16 Thread firogm
From: Firo Yang This bug was reported by Andrey Konovalov with syzkaller: Call Trace: sg_finish_rem_req+0x2a6/0x320 drivers/scsi/sg.c:1839 sg_new_read+0x3c/0x430 drivers/scsi/sg.c:567 sg_read+0x866/0x1830 drivers/scsi/sg.c:455 __vfs_read+0x5c3/0x750 fs/read_write.c:450