syzbot


UBSAN: shift-out-of-bounds in hash_mac_create
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+d66bfadebca46cf61a2b@syzkaller.appspotmail.com
Fix commit: 5c8193f568ae netfilter: ipset: fix shift-out-of-bounds in htable_bits()
First crash: 360d, last: 336d

Cause bisection: introduced by (bisect log) [release commit]:
commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Sep 15 21:19:32 2019 +0000

  Linux 5.3

Crash: UBSAN: undefined-behaviour in hash_mac_create (log)
Repro: C syz .config
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
UBSAN: shift-out-of-bounds in hash_ipmark_create C unreliable 19 333d 354d 0/22 closed as dup on 2020/12/15 16:06
Patch testing requests:
Created Duration User Patch Repo Result
2020/12/17 10:18 16m vvs@virtuozzo.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git master OK
2020/12/17 06:02 0m vvs@virtuozzo.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git master error
2020/12/16 07:24 16m vvs@virtuozzo.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git master OK

Sample crash report:

Crashes (29):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2020/12/10 02:32 linux-next a9e26cb5f261 c090b4da .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/12/27 01:21 upstream 40f78232f973 821e0b09 .config log report info
ci-upstream-kasan-gce 2020/12/27 00:13 upstream 40f78232f973 821e0b09 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/26 04:19 upstream 5814bc2d4cc2 821e0b09 .config log report info
ci-upstream-kasan-gce 2020/12/25 23:44 upstream 71c5f03154ac b982b3ea .config log report info
ci-upstream-kasan-gce 2020/12/25 15:49 upstream 71c5f03154ac b982b3ea .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/22 21:48 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce 2020/12/22 21:40 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce 2020/12/22 21:40 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/22 15:47 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce 2020/12/22 14:37 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/18 23:34 upstream a409ed156a90 04201c06 .config log report info
ci-upstream-kasan-gce 2020/12/18 23:33 upstream a409ed156a90 04201c06 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/16 19:43 upstream 5e60366d56c6 04201c06 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/16 16:55 upstream 5e60366d56c6 f213e07e .config log report info
ci-upstream-kasan-gce-386 2020/12/26 05:34 upstream 5814bc2d4cc2 821e0b09 .config log report info
ci-upstream-kasan-gce-386 2020/12/25 08:00 upstream 3913d00ac51a c2c1d1dd .config log report info
ci-upstream-kasan-gce-386 2020/12/22 21:49 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce-386 2020/12/22 21:44 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce-386 2020/12/22 15:25 upstream 8653b778e454 04201c06 .config log report info
ci-upstream-kasan-gce-386 2020/12/19 00:26 upstream a409ed156a90 04201c06 .config log report info
ci-upstream-kasan-gce-386 2020/12/16 22:42 upstream 5e60366d56c6 04201c06 .config log report info
ci-upstream-kasan-gce-386 2020/12/16 19:34 upstream 5e60366d56c6 04201c06 .config log report info
ci-upstream-net-this-kasan-gce 2020/12/18 17:29 net d64c6f96ba86 04201c06 .config log report info
ci-upstream-net-this-kasan-gce 2020/12/18 16:54 net d64c6f96ba86 04201c06 .config log report info
ci-upstream-net-kasan-gce 2021/01/02 09:08 net-next 3db1a3fa9880 79264ae3 .config log report info
ci-upstream-net-kasan-gce 2020/12/27 14:54 net-next 3db1a3fa9880 2242f77f .config log report info
ci-upstream-net-kasan-gce 2020/12/27 13:50 net-next 3db1a3fa9880 2242f77f .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/12/09 22:08 linux-next a9e26cb5f261 c090b4da .config log report info