syzbot


WARNING: kmalloc bug in hash_net_create
Status: upstream: reported C repro on 2021/09/03 23:50
Reported-by: syzbot+2b8443c35458a617c904@syzkaller.appspotmail.com
Fix commit: 7bbc3d385bd8 netfilter: ipset: Fix oversized kvmalloc() calls
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 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-qemu2-arm32 ci-qemu2-riscv64 ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 48d, last: 21d

Cause bisection: introduced by (bisect log) :
commit e6e7471706dc42cbe0e01278540c0730138d43e5
Author: Christoph Hellwig <hch@lst.de>
Date: Tue Jul 27 05:56:34 2021 +0000

  bvec: add a bvec_kmap_local helper

Crash: BUG: sleeping function called from invalid context in lock_sock_nested (log)
Repro: C syz .config
duplicates (9):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING: kmalloc bug in hash_netnet_create 2 21d 40d 0/22 closed as dup on 2021/09/15 05:09
WARNING: kmalloc bug in hash_ipmac_create C unreliable 5 20d 48d 0/22 closed as dup on 2021/09/15 05:16
WARNING: kmalloc bug in hash_ipportnet_create C unreliable 7 23d 47d 0/22 closed as dup on 2021/09/15 05:13
WARNING: kmalloc bug in hash_ipmark_create C unreliable 31 20d 48d 0/22 closed as dup on 2021/09/15 05:14
WARNING: kmalloc bug in hash_netiface_create 2 38d 47d 0/22 closed as dup on 2021/09/15 05:10
WARNING: kmalloc bug in hash_netport_create C done 3 24d 48d 0/22 closed as dup on 2021/09/15 05:14
WARNING: kmalloc bug in hash_netportnet_create C unreliable 8 23d 22d 0/22 closed as dup on 2021/09/30 00:37
WARNING: kmalloc bug in hash_ipportip_create C done 31 23d 38d 0/22 closed as dup on 2021/09/15 05:11
WARNING: kmalloc bug in hash_ipport_create C done 10 26d 42d 0/22 closed as dup on 2021/09/15 05:12

Sample crash report:

Crashes (283):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/09/03 20:27 upstream a9c9a6f741cd f62a5829 .config log report syz C WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/03 20:25 upstream a9c9a6f741cd f62a5829 .config log report syz C WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/03 20:14 upstream a9c9a6f741cd f62a5829 .config log report syz C WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/03 20:11 upstream a9c9a6f741cd f62a5829 .config log report syz C WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/30 17:51 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/30 16:29 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/30 13:03 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/30 03:41 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/30 02:43 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/29 21:01 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/29 03:55 upstream d33bec7b3dfa d82cb927 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/25 18:18 upstream 7d42e9818258 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/24 23:27 upstream 4c4f0c2bf341 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/24 22:07 upstream 4c4f0c2bf341 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/24 05:23 upstream f9e36107ec70 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/22 23:40 upstream cf1d2c3e7e2f 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/22 21:19 upstream cf1d2c3e7e2f 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/22 11:53 upstream 92477dd1faa6 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/22 07:46 upstream 92477dd1faa6 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/22 07:46 upstream 92477dd1faa6 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/21 20:16 upstream d9fb678414c0 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/20 23:53 upstream e4e737bb5c17 af796c18 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/20 22:21 upstream e4e737bb5c17 af796c18 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/20 12:18 upstream bc1abb9e55ce 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/20 09:35 upstream 20621d2f27a0 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/20 09:28 upstream e4e737bb5c17 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/19 17:26 upstream d4d016caa4b8 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/18 07:11 upstream ddf21bd8ab98 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/18 07:11 upstream ddf21bd8ab98 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-selinux-root 2021/09/14 11:10 upstream d0ee23f9d78b 58d09404 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-root 2021/09/14 10:24 upstream d0ee23f9d78b 58d09404 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/14 04:45 upstream d0ee23f9d78b 58d09404 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/14 03:15 upstream d0ee23f9d78b 58d09404 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-smack-root 2021/09/12 11:59 upstream 78e709522d2c 5ae8508a .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce 2021/09/03 19:56 upstream a9c9a6f741cd f62a5829 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/30 06:06 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/30 05:01 upstream 02d5e016800d be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/28 12:36 upstream 0513e464f900 78494d16 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/24 14:29 upstream f9e36107ec70 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/23 10:22 upstream cf1d2c3e7e2f 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/22 22:19 upstream cf1d2c3e7e2f 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/22 16:36 upstream 92477dd1faa6 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/21 21:31 upstream d9fb678414c0 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-kasan-gce-386 2021/09/18 08:28 upstream ddf21bd8ab98 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-this-kasan-gce 2021/09/22 15:30 net b3f98404bd62 169724fe .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-this-kasan-gce 2021/09/18 03:03 net 02319bf15acf 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-this-kasan-gce 2021/09/17 15:09 net fc0c0548c1a2 5b989942 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/30 16:36 net-next ef91abfb20c7 be530f6c .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/29 03:45 net-next b69c99463d41 d82cb927 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/24 20:43 net-next acde891c243c 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/24 04:17 net-next 2fcd14d0f780 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/22 19:35 net-next 428168f99517 8cac236e .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/20 01:04 net-next 9eb7b5e7cb50 70b76c1d .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-net-kasan-gce 2021/09/14 01:33 net-next 13bb8429ca98 58d09404 .config log report info WARNING: kmalloc bug in hash_net_create
ci-upstream-linux-next-kasan-gce-root 2021/09/11 12:20 linux-next aa14a3016182 5ae8508a .config log report info WARNING: kmalloc bug in hash_net_create