syzbot


WARNING: kmalloc bug in hash_mac_create
Status: upstream: reported C repro on 2021/09/05 20:22
Reported-by: syzbot+ee5cb15f4a0e85e0d54e@syzkaller.appspotmail.com
Fix commit: 7bbc3d385bd8 netfilter: ipset: Fix oversized kvmalloc() calls
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 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-kmsan-gce ci-upstream-kmsan-gce-386 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-riscv64]
First crash: 87d, last: 82d

Cause bisection: introduced by (bisect log) :
commit 7661809d493b426e979f39ab512e3adf41fbcc69
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Jul 14 16:45:49 2021 +0000

  mm: don't allow oversized kvmalloc() calls

Crash: WARNING: kmalloc bug in hash_mac_create (log)
Repro: C syz .config

Sample crash report:

Crashes (11):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/09/04 19:38 upstream f1583cb1be35 d236a457 .config log report syz C WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce 2021/09/04 19:34 upstream f1583cb1be35 d236a457 .config log report syz C WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce-smack-root 2021/09/04 19:31 upstream f1583cb1be35 d236a457 .config log report syz C WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce-root 2021/09/04 19:24 upstream f1583cb1be35 d236a457 .config log report syz C WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce-smack-root 2021/09/04 19:19 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce 2021/09/04 19:12 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce-selinux-root 2021/09/04 19:11 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce-root 2021/09/04 19:10 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in hash_mac_create
ci-upstream-kasan-gce-386 2021/09/04 19:25 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in hash_mac_create
ci-upstream-net-kasan-gce 2021/09/10 08:00 net-next 626bf91a292e e2776ee4 .config log report info WARNING: kmalloc bug in hash_mac_create
ci-upstream-net-kasan-gce 2021/09/08 23:06 net-next 626bf91a292e e2776ee4 .config log report info WARNING: kmalloc bug in hash_mac_create