Files
linux/drivers/scsi
Bart Van Assche 90449f2d1e scsi: sg: Do not sleep in atomic context
sg_finish_rem_req() calls blk_rq_unmap_user(). The latter function may
sleep. Hence, call sg_finish_rem_req() with interrupts enabled instead
of disabled.

Reported-by: syzbot+c01f8e6e73f20459912e@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/linux-scsi/691560c4.a70a0220.3124cb.001a.GAE@google.com/
Cc: Hannes Reinecke <hare@suse.de>
Cc: stable@vger.kernel.org
Fixes: 97d27b0dd0 ("scsi: sg: close race condition in sg_remove_sfp_usercontext()")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251113181643.1108973-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-11-19 22:46:36 -05:00
..
2025-06-09 21:30:14 -04:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2024-03-10 18:15:48 -04:00
2024-12-09 21:59:52 -05:00
2025-01-02 13:42:35 -05:00
2024-12-09 21:59:52 -05:00
2025-02-03 18:04:55 -05:00
2024-08-12 22:05:50 -04:00
2024-08-12 22:05:50 -04:00
2024-12-09 21:59:52 -05:00
2024-06-20 15:19:17 -06:00
2025-11-19 22:46:36 -05:00
2025-08-30 21:46:21 -04:00