Re: [syzbot] [scsi?] UBSAN: shift-out-of-bounds in sg_build_indirect

From: syzbot

Date: Fri Nov 07 2025 - 13:24:02 EST


Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+270f1c719ee7baab9941@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested-by: syzbot+270f1c719ee7baab9941@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: da32d155 Merge tag 'gpio-fixes-for-v6.18-rc5' of git:/..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15663812580000
kernel config: https://syzkaller.appspot.com/x/.config?x=2c594e02a3d7dc77
dashboard link: https://syzkaller.appspot.com/bug?extid=270f1c719ee7baab9941
compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=17ffca92580000

Note: testing is done by a robot and is best-effort only.