syzbot


UBSAN: shift-out-of-bounds in xfrm_set_default
Status: upstream: reported C repro on 2021/07/27 12:47
Reported-by: syzbot+9cd5837a045bbee5b810@syzkaller.appspotmail.com
Fix commit: 5d8dbb7fb82b net: xfrm: fix shift-out-of-bounce
Patched on: [ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-riscv64 ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 55d, last: 41d

Cause bisection: introduced by (bisect log) [merge commit]:
commit f6eb80edb03ef56218e58cf7baa76b37d73c8747
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu Jul 22 23:51:32 2021 +0000

  Merge remote-tracking branch 'asm-generic/master'

Crash: BUG: sleeping function called from invalid context in lock_sock_nested (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2021/07/27 17:30 16m paskripkin@gmail.com patch linux-next OK
2021/07/27 14:43 7m paskripkin@gmail.com patch linux-next error

Sample crash report:

Crashes (79):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/07/23 12:49 linux-next 90d856e71443 bc5f1d88 .config log report syz C UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/06 21:43 linux-next 8d4b477da1a8 f9e341e3 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/06 20:00 linux-next 8d4b477da1a8 f9e341e3 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/06 17:43 linux-next 8d4b477da1a8 f9e341e3 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/06 05:24 linux-next 8d4b477da1a8 d2d6e680 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/05 15:41 linux-next 8d4b477da1a8 7f7bb950 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/05 13:07 linux-next 8d4b477da1a8 7f7bb950 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/05 01:42 linux-next 8d4b477da1a8 b97d64c9 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/04 07:37 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/04 04:12 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/03 14:17 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/03 09:30 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/03 02:58 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/03 00:14 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/02 22:39 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/02 13:43 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/02 05:28 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/02 03:47 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/01 16:45 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/01 15:05 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/01 12:57 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/01 10:03 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/01 05:58 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/08/01 00:25 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 21:57 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 20:34 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 17:13 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 16:52 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 10:35 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 10:30 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 10:12 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/31 04:42 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/30 23:05 linux-next 8d4b477da1a8 6c236867 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/30 11:46 linux-next 4ccc9e2db7ac c585c7b0 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/30 09:00 linux-next 4ccc9e2db7ac c585c7b0 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/29 21:28 linux-next 4ccc9e2db7ac b44001ce .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/29 21:27 linux-next 4ccc9e2db7ac b44001ce .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/29 21:27 linux-next 4ccc9e2db7ac b44001ce .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/29 00:55 linux-next 42d0b5f52c9b 9a4781d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/29 00:19 linux-next 42d0b5f52c9b 9a4781d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/27 16:23 linux-next 2265c5286967 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/27 12:44 linux-next 2265c5286967 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/27 08:21 linux-next 2265c5286967 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/27 02:20 linux-next 2265c5286967 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/27 02:19 linux-next 2265c5286967 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/27 01:55 linux-next 2265c5286967 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/26 19:50 linux-next 90d856e71443 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/26 18:27 linux-next 90d856e71443 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/26 13:33 linux-next 90d856e71443 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/26 10:34 linux-next 90d856e71443 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/26 09:58 linux-next 90d856e71443 fd511809 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/25 05:45 linux-next 90d856e71443 4d1b57d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/25 05:45 linux-next 90d856e71443 4d1b57d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/25 05:44 linux-next 90d856e71443 4d1b57d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 20:35 linux-next 90d856e71443 4d1b57d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 20:35 linux-next 90d856e71443 4d1b57d4 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 07:55 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 05:12 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 01:13 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 01:12 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/24 00:53 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/23 22:07 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/23 19:23 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/23 14:52 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/07/23 12:36 linux-next 90d856e71443 bc5f1d88 .config log report info UBSAN: shift-out-of-bounds in xfrm_set_default