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

From: syzbot

Date: Mon Oct 06 2025 - 09:56:05 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: fd94619c Merge tag 'zonefs-6.18-rc1' of git://git.kern..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11f8f942580000
kernel config: https://syzkaller.appspot.com/x/.config?x=666754c6a9e50ba0
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=147bd092580000

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