On 10/6/25 11:46 AM, Kshitij Paranjape wrote:
Cc: stable@vger.kernel.org Reported-by: syzbot+270f1c719ee7baab9941@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=270f1c719ee7baab9941 Signed-off-by: Kshitij Paranjape kshitijvparanjape@gmail.com
drivers/scsi/sg.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index effb7e768165..9ae41bb256d7 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -1888,6 +1888,7 @@ sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) if (num < PAGE_SIZE) { scatter_elem_sz = PAGE_SIZE; scatter_elem_sz_prev = PAGE_SIZE;
} else scatter_elem_sz_prev = num; }num = scatter_elem_sz;
Please add a one line summary above your commit log to avoid the issue Vivek pointed out. One line summary will become the subject line for your patch email.
-- Khalid