syzbot


WARNING in macvlan_process_broadcast

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: dd4fa1dae9f4 macvlan: macvlan_count_rx() needs to be aware of preemption
First crash: 697d, last: 452d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3308 at include/linux/seqlock.h:271 __seqprop_assert include/linux/seqlock.h:271 [inline]
WARNING: CPU: 1 PID: 3308 at include/linux/seqlock.h:271 __seqprop_assert.constprop.0+0xf0/0x11c include/linux/seqlock.h:269
Modules linked in:
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 3308 Comm: kworker/1:1 Not tainted 5.12.0-rc3-syzkaller #0
Hardware name: ARM-Versatile Express
Workqueue: events macvlan_process_broadcast
Backtrace: 
[<81802550>] (dump_backtrace) from [<818027c4>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:252)
 r7:00000080 r6:60000093 r5:00000000 r4:82b58344
[<818027ac>] (show_stack) from [<81809e98>] (__dump_stack lib/dump_stack.c:79 [inline])
[<818027ac>] (show_stack) from [<81809e98>] (dump_stack+0xb8/0xe8 lib/dump_stack.c:120)
[<81809de0>] (dump_stack) from [<81803358>] (panic+0x130/0x378 kernel/panic.c:231)
 r7:81f48198 r6:82a390a4 r5:00000000 r4:82c6b0d0
[<81803228>] (panic) from [<802446f4>] (__warn+0xb0/0x164 kernel/panic.c:605)
 r3:82a2248c r2:00000000 r1:00000000 r0:81f48198
 r7:0000010f
[<80244644>] (__warn) from [<81803608>] (warn_slowpath_fmt+0x68/0xd4 kernel/panic.c:628)
 r7:80bdde28 r6:0000010f r5:81f40624 r4:00000000
[<818035a4>] (warn_slowpath_fmt) from [<80bdde28>] (__seqprop_assert include/linux/seqlock.h:271 [inline])
[<818035a4>] (warn_slowpath_fmt) from [<80bdde28>] (__seqprop_assert.constprop.0+0xf0/0x11c include/linux/seqlock.h:269)
 r8:5b734000 r7:0000000f r6:a409fab0 r5:865f8840 r4:00000001
[<80bddd38>] (__seqprop_assert.constprop.0) from [<80bde9a8>] (u64_stats_update_begin include/linux/u64_stats_sync.h:129 [inline])
[<80bddd38>] (__seqprop_assert.constprop.0) from [<80bde9a8>] (macvlan_count_rx include/linux/if_macvlan.h:47 [inline])
[<80bddd38>] (__seqprop_assert.constprop.0) from [<80bde9a8>] (macvlan_broadcast+0x154/0x26c drivers/net/macvlan.c:291)
 r5:865f8840 r4:83681740
[<80bde854>] (macvlan_broadcast) from [<80bdeed8>] (macvlan_process_broadcast+0x258/0x2d0 drivers/net/macvlan.c:317)
 r10:80bdee30 r9:83595000 r8:8681be7c r7:82b09c5c r6:00000000 r5:00000000
 r4:865f8480
[<80bdec80>] (macvlan_process_broadcast) from [<80269484>] (process_one_work+0x2d4/0x998 kernel/workqueue.c:2275)
 r10:00000008 r9:82a22498 r8:82bfd34e r7:ddfe6400 r6:ddfe2d00 r5:858bc200
 r4:8359543c
[<802691b0>] (process_one_work) from [<80269bac>] (worker_thread+0x64/0x54c kernel/workqueue.c:2421)
 r10:00000008 r9:8681a000 r8:82a06d00 r7:ddfe2d38 r6:858bc214 r5:ddfe2d00
 r4:858bc200
[<80269b48>] (worker_thread) from [<80271d20>] (kthread+0x184/0x1a4 kernel/kthread.c:292)
 r10:84a99e64 r9:858bc200 r8:80269b48 r7:00000000 r6:8681a000 r5:858cbc00
 r4:834b7280
[<80271b9c>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:158)
Exception stack(0x8681bfb0 to 0x8681bff8)
bfa0:                                     00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80271b9c
 r4:858cbc00
Rebooting in 86400 seconds..

Crashes (32053):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-qemu2-arm32 2021/11/10 00:23 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 23:11 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 21:34 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 20:15 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 19:10 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 17:32 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 13:49 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 12:41 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 10:31 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 09:16 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 07:22 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 06:16 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 03:35 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/09 03:05 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 23:55 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 21:55 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 20:51 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 20:14 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 18:24 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 15:32 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 14:31 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 12:21 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 11:52 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 10:31 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 09:28 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 09:00 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 07:59 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 06:54 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 06:33 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 05:32 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 05:15 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 04:14 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 03:08 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 02:47 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 01:46 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/08 00:41 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 23:46 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 22:39 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 22:26 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 21:16 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 20:03 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 19:57 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 18:31 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/11/07 17:25 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in macvlan_process_broadcast
ci-qemu2-arm32 2021/03/10 01:52 upstream 05a59d79793d 26967e35 .config console log report info WARNING in macvlan_process_broadcast
* Struck through repros no longer work on HEAD.