syzbot


BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
Status: upstream: reported C repro on 2021/05/03 17:10
Reported-by: syzbot+7d941e89dd48bcf42573@syzkaller.appspotmail.com
Fix commit: rtnetlink: avoid RCU read lock when holding RTNL
Patched on: [ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 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-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 11d, last: 2d00h

Cause bisection: introduced by (bisect log) :
commit f185de28d9ae6c978135993769352e523ee8df06
Author: Taehee Yoo <ap420073@gmail.com>
Date: Thu Mar 25 16:16:56 2021 +0000

  mld: add new workqueues for process mld events

Crash: WARNING: suspicious RCU usage in igmp6_group_dropped (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2021/05/06 19:41 20m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net OK
2021/05/05 21:21 19m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net OK
2021/05/05 20:29 20m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net OK
2021/05/05 20:00 10m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net error

Sample crash report:

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2021/05/03 11:44 net-next 95aafe91 77e2b668 .config log report syz C BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
ci-upstream-net-kasan-gce 2021/05/03 04:58 net-next 95aafe91 77e2b668 .config log report syz C BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
ci-upstream-kasan-gce-selinux-root 2021/05/11 22:13 upstream 88b06399 b3c3bb8e .config log report info BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
ci-upstream-net-this-kasan-gce 2021/05/09 12:14 net b7415964 bc5434be .config log report info BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
ci-upstream-net-kasan-gce 2021/05/11 00:42 net-next 48de7c0c ca873091 .config log report info BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
ci-upstream-net-kasan-gce 2021/05/02 21:43 net-next 95aafe91 77e2b668 .config log report info BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec
ci-upstream-linux-next-kasan-gce-root 2021/05/10 14:06 linux-next e6f67ebd ca873091 .config log report info BUG: sleeping function called from invalid context in __ipv6_dev_mc_dec