syzbot


BUG: soft lockup in br_multicast_port_group_expired

Status: premoderation: reported on 2024/06/15 09:56
Reported-by: syzbot+3d35fb6b52ea7a438760@syzkaller.appspotmail.com
First crash: 84d, last: 84d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in br_multicast_port_group_expired 1 22d 22d 0/2 premoderation: reported on 2024/08/16 17:45
android-54 BUG: soft lockup in br_multicast_port_group_expired 1 94d 94d 0/2 auto-obsoleted due to no activity on 2024/09/03 00:58
android-5-10 BUG: soft lockup in br_multicast_port_group_expired 1 15d 15d 0/2 premoderation: reported on 2024/08/23 20:07
linux-5.15 INFO: rcu detected stall in br_multicast_port_group_expired 1 66d 66d 0/3 upstream: reported on 2024/07/03 20:33

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.2:1382]
Modules linked in:
CPU: 0 PID: 1382 Comm: syz-executor.2 Not tainted 6.1.78-syzkaller-00009-g25216be1ac5e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:update_stack_state+0x321/0x460 arch/x86/kernel/unwind_frame.c:243
Code: 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 ef e8 f6 bc 84 00 41 f6 45 00 03 4c 8b 75 b8 74 66 45 31 f6 e9 af 00 00 00 48 8b 45 d0 <4c> 8d 70 38 4c 89 f0 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42
RSP: 0018:ffffc900000075b0 EFLAGS: 00000246
RAX: ffffc90000007700 RBX: ffffc90000007728 RCX: 0000000000000001
RDX: ffffc90000007700 RSI: ffffc90000d20000 RDI: ffffc90000d1f838
RBP: ffffc90000007668 R08: ffffc90000007701 R09: 000000000000000e
R10: ffffc900000077f0 R11: dffffc0000000001 R12: 1ffff92000000ee8
R13: 0000000000000000 R14: ffffc90000007740 R15: 0000000000000001
FS:  00007fdce39726c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d127000 CR3: 0000000127088000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505
 ____kasan_kmalloc mm/kasan/common.c:379 [inline]
 __kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388
 kasan_kmalloc include/linux/kasan.h:212 [inline]
 __do_kmalloc_node mm/slab_common.c:957 [inline]
 __kmalloc_node_track_caller+0xb3/0x1e0 mm/slab_common.c:977
 kmalloc_reserve net/core/skbuff.c:446 [inline]
 __alloc_skb+0x125/0x2d0 net/core/skbuff.c:515
 alloc_skb include/linux/skbuff.h:1283 [inline]
 nlmsg_new include/net/netlink.h:991 [inline]
 br_mdb_notify+0x2d8/0x9b0 net/bridge/br_mdb.c:568
 br_multicast_del_pg+0x4e2/0xb50 net/bridge/br_multicast.c:691
 br_multicast_find_del_pg net/bridge/br_multicast.c:723 [inline]
 br_multicast_port_group_expired+0x716/0x870 net/bridge/br_multicast.c:753
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1480
 expire_timers kernel/time/timer.c:1525 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1796
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1809
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:7056
Code: 4c 89 e7 e8 d0 e0 bd fc f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 34 c4 50 fc fb bf 01 00 00 00 <e8> a9 e4 ff ff fa bf 01 00 00 00 e8 be c5 50 fc 65 48 8b 1d f6 dc
RSP: 0018:ffffc90000d1f900 EFLAGS: 00000246
RAX: 1ffff110259cb159 RBX: 1ffff920001a3f24 RCX: ffffffff85007800
RDX: 1ffff110259cb005 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000d1f988 R08: ffffffff8792e000 R09: ffffffff8792e008
R10: ffffffff8792e018 R11: ffffffff8792e010 R12: ffffc90000d1f920
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920001a3f20
 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:390
 irqentry_exit+0x30/0x40 kernel/entry/common.c:433
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:ioctl_fioasync fs/ioctl.c:383 [inline]
RIP: 0010:do_vfs_ioctl+0x123b/0x29a0 fs/ioctl.c:791
Code: 8b 0b 48 85 c9 48 8b 74 24 18 8b 54 24 10 0f 84 c4 07 00 00 44 89 e7 ff d1 41 89 c6 31 db 31 ff 89 c6 e8 98 ca aa ff 45 85 f6 <0f> 88 6c 0b 00 00 e8 da c6 aa ff e9 07 0f 00 00 49 8d 5f 48 48 89
RSP: 0018:ffffc90000d1fa80 EFLAGS: 00000246
RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000001
RDX: ffff88812ce58000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000d1fea8 R08: ffffffff81caad18 R09: ffffed10200ecaed
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000c
R13: fffff520001a3f58 R14: 0000000000000000 R15: ffff8881192613a8
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl+0x99/0x190 fs/ioctl.c:856
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdce2c7cea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdce39720c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fdce2db41f0 RCX: 00007fdce2c7cea9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 000000000000000c
RBP: 00007fdce2cebff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fdce2db41f0 R15: 00007ffe936f0a88
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1091 Comm: syz-executor.0 Not tainted 6.1.78-syzkaller-00009-g25216be1ac5e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:ktime_get+0x18/0x160 kernel/time/timekeeping.c:843
Code: ce b6 92 03 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 0e 2b 0e 00 8b 1d 14 c9 07 06 <31> ff 89 de e8 af 2e 0e 00 85 db 0f 85 1d 01 00 00 e8 f2 2a 0e 00
RSP: 0018:ffffc900001af748 EFLAGS: 00000046
RAX: ffffffff816748f2 RBX: 0000000000000000 RCX: ffff88810d002880
RDX: 0000000000010301 RSI: 0000000000000000 RDI: ffff8881192bf0c8
RBP: ffffc900001af770 R08: ffffffff819f36c9 R09: fffff52000035ec5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000002710
R13: 1ffff92000035ef8 R14: 0000000000000001 R15: ffff8881192bf040
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8725fb598c CR3: 000000012709c000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 hrtimer_forward_now include/linux/hrtimer.h:509 [inline]
 perf_swevent_hrtimer+0x43b/0x4f0 kernel/events/core.c:10822
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x41a/0xad0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x40c/0xaa0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:decode_frame_pointer arch/x86/kernel/unwind_frame.c:169 [inline]
RIP: 0010:update_stack_state+0x9f/0x460 arch/x86/kernel/unwind_frame.c:211
Code: 21 49 8d 5f 38 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 70 bf 84 00 48 8b 03 48 83 c0 10 48 89 45 98 48 8b 45 c0 <89> c2 83 e2 01 48 f7 da 48 89 c1 48 83 e1 fe 48 89 4d 88 48 21 ca
RSP: 0018:ffffc900001afd30 EFLAGS: 00000286
RAX: ffffc90000aa7890 RBX: ffffc900001afeb8 RCX: ffffffff87767000
RDX: dffffc0000000000 RSI: ffffc90000aa7890 RDI: ffffc900001afed8
RBP: ffffc900001afde8 R08: ffffc900001aff68 R09: 0000000000000025
R10: ffffc900001aff70 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffc900001afed0 R14: dffffc0000000000 R15: ffffc900001afe80
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45
 __kasan_record_aux_stack+0xb4/0xc0 mm/kasan/generic.c:486
 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
 __call_rcu_common kernel/rcu/tree.c:2806 [inline]
 call_rcu+0xee/0x1340 kernel/rcu/tree.c:2925
 call_rcu_hurry include/linux/rcupdate.h:116 [inline]
 dst_release+0x9b/0xe0 net/core/dst.c:177
 refdst_drop include/net/dst.h:256 [inline]
 skb_dst_drop include/net/dst.h:268 [inline]
 __dev_queue_xmit+0xa42/0x36e0 net/core/dev.c:4255
 dev_queue_xmit include/linux/netdevice.h:3076 [inline]
 neigh_resolve_output+0x6c0/0x7c0 net/core/neighbour.c:1563
 neigh_output include/net/neighbour.h:552 [inline]
 ip6_finish_output2+0x1047/0x1820 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:201 [inline]
 ip6_finish_output+0x50f/0xa60 net/ipv6/ip6_output.c:212
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:233
 dst_output include/net/dst.h:444 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x7cf/0xdc0 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3968
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1480
 expire_timers kernel/time/timer.c:1525 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1796
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1809
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5295
Code: 74 08 4c 89 ff e8 81 37 6c 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 d9 08 b0 03 fb 49 8d 9d 48 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30
RSP: 0018:ffffc90000aa7200 EFLAGS: 00000282
RAX: 0000000080000001 RBX: ffff88810d0033c8 RCX: 0000000000000002
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000aa7250 R08: ffffffff819b1f60 R09: fffffbfff0ede2ff
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7137080
R13: ffff88810d002880 R14: 1ffff1103ee26f7c R15: ffff8881f7137be0
 context_switch kernel/sched/core.c:5421 [inline]
 __schedule+0xcaf/0x1550 kernel/sched/core.c:6744
 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7056
 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:390
 irqentry_exit+0x30/0x40 kernel/entry/common.c:433
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:64
Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 <f3> aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01
RSP: 0018:ffffc90000aa7510 EFLAGS: 00010207
RAX: 00000000000002ff RBX: 0000000000000000 RCX: 0000000000000180
RDX: 0000000000000200 RSI: 00000000000000ff RDI: ffffed1025200280
RBP: ffffc90000aa7518 R08: dffffc0000000000 R09: ffffed1025200200
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffea0004a40040 R14: 0000000000129001 R15: 0000000000000000
 __kasan_poison_pages+0x2d/0x30 mm/kasan/common.c:121
 kasan_poison_pages include/linux/kasan.h:120 [inline]
 free_pages_prepare mm/page_alloc.c:1520 [inline]
 free_pcp_prepare mm/page_alloc.c:1572 [inline]
 free_unref_page_prepare+0x145/0x850 mm/page_alloc.c:3498
 free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3594
 free_the_page mm/page_alloc.c:798 [inline]
 __free_pages+0x61/0xf0 mm/page_alloc.c:5801
 __vunmap+0x9f3/0xb60 mm/vmalloc.c:2728
 __vfree mm/vmalloc.c:2776 [inline]
 vfree+0x5c/0x80 mm/vmalloc.c:2807
 kcov_put kernel/kcov.c:428 [inline]
 kcov_close+0x2b/0x50 kernel/kcov.c:524
 __fput+0x3ab/0x870 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x24d/0x2e0 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xbd5/0x2b80 kernel/exit.c:875
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:310
 irqentry_exit+0x12/0x40 kernel/entry/common.c:413
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0033:0x7f404e27cea9
Code: Unable to access opcode bytes at 0x7f404e27ce7f.
RSP: 002b:00007f404ef3d0c8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007f404e3b41f0 RCX: 00007f404e27cea9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 000000000000000c
RBP: 00007f404e2ebff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f404e3b41f0 R15: 00007fff4b2cc8d8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/15 09:55 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in br_multicast_port_group_expired
* Struck through repros no longer work on HEAD.