Re: [syzbot] UBSAN: shift-out-of-bounds in xfrm_set_default

From: syzbot
Date: Tue Jul 27 2021 - 20:13:16 EST


Hello,

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

Reported-and-tested-by: syzbot+9cd5837a045bbee5b810@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 42d0b5f5 Add linux-next specific files for 20210727
git tree: linux-next
kernel config: https://syzkaller.appspot.com/x/.config?x=e5bd567a6f50f462
dashboard link: https://syzkaller.appspot.com/bug?extid=9cd5837a045bbee5b810
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1
patch: https://syzkaller.appspot.com/x/patch.diff?x=1204e0dc300000

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