syzbot


BUG: soft lockup in br_ip4_multicast_query_expired

Status: auto-closed as invalid on 2022/08/09 22:32
Reported-by: syzbot+fb0f57e449e05b06cb23@syzkaller.appspotmail.com
First crash: 948d, last: 834d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: soft lockup in br_ip4_multicast_query_expired C error 1 686d 899d 0/1 upstream: reported C repro on 2022/02/05 20:25

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.0:18622]
Modules linked in:
irq event stamp: 2408147
hardirqs last  enabled at (2408146): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (2408147): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (138): [<ffffffff866f046a>] sock_orphan include/net/sock.h:1805 [inline]
softirqs last  enabled at (138): [<ffffffff866f046a>] sk_common_release+0x12a/0x2d0 net/core/sock.c:3137
softirqs last disabled at (455): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (455): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 18622 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97
Code: ff 48 89 df e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2
RSP: 0000:ffff8880ba107ac0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000101 RBX: 0000000000000000 RCX: ffffffff8674cc49
RDX: 0000000000000000 RSI: ffff88804d026440 RDI: 0000000000000001
RBP: ffff8880ba107c28 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802ac8c640
R13: ffff888098baa580 R14: 0000000000000011 R15: 0000000000000008
FS:  00007f9d3df02700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002c47b000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 netif_rx+0x61/0x2c0 net/core/dev.c:4516
 __br_multicast_send_query+0x1006/0x2dc0 net/bridge/br_multicast.c:956
 br_multicast_send_query+0x216/0x3a0 net/bridge/br_multicast.c:988
 br_multicast_query_expired net/bridge/br_multicast.c:1942 [inline]
 br_ip4_multicast_query_expired+0xdc/0x110 net/bridge/br_multicast.c:1950
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__get_user_8+0x0/0x2b arch/x86/lib/getuser.S:87
Code: 65 48 8b 14 25 c0 df 01 00 48 3b 82 98 14 00 00 73 43 48 19 d2 48 21 d0 0f 01 cb 8b 50 fd 31 c0 0f 01 ca c3 66 0f 1f 44 00 00 <48> 83 c0 07 72 25 65 48 8b 14 25 c0 df 01 00 48 3b 82 98 14 00 00
RSP: 0000:ffff88802dfe7a58 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: 00007f9d3df029e0 RBX: 00007f9d3df029e0 RCX: 1ffff11009a04d9e
RDX: 0000000000000000 RSI: ffffffff815826de RDI: 0000000000000286
RBP: ffff88804d0275d0 R08: ffffffff8cd19ab8 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804d027528
R13: ffff88804d027550 R14: ffff88804d026440 R15: ffff88804d026440
 fetch_robust_entry kernel/futex.c:3671 [inline]
 exit_robust_list+0x8b/0x2e0 kernel/futex.c:3702
 futex_cleanup kernel/futex.c:3754 [inline]
 futex_exit_release+0x183/0x220 kernel/futex.c:3855
 exit_mm_release+0x16/0x30 kernel/fork.c:1257
 exit_mm kernel/exit.c:501 [inline]
 do_exit+0x6ba/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f9d3f5f0049
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9d3df02218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f9d3f7031d8 RCX: 00007f9d3f5f0049
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9d3f7031d8
RBP: 00007f9d3f7031d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9d3f7031dc
R13: 00007ffd8f3c54ff R14: 00007f9d3df02300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	48 89 df             	mov    %rbx,%rdi
   3:	e8 11 dd 35 00       	callq  0x35dd19
   8:	e9 ab fe ff ff       	jmpq   0xfffffeb8
   d:	4c 89 ef             	mov    %r13,%rdi
  10:	e8 04 dd 35 00       	callq  0x35dd19
  15:	e9 23 fe ff ff       	jmpq   0xfffffe3d
  1a:	90                   	nop
  1b:	90                   	nop
  1c:	90                   	nop
  1d:	90                   	nop
  1e:	90                   	nop
  1f:	90                   	nop
  20:	90                   	nop
  21:	90                   	nop
  22:	90                   	nop
  23:	90                   	nop
  24:	90                   	nop
  25:	90                   	nop
  26:	90                   	nop
  27:	90                   	nop
  28:	90                   	nop
* 29:	48 8b 34 24          	mov    (%rsp),%rsi <-- trapping instruction
  2d:	65 48 8b 04 25 c0 df 	mov    %gs:0x1dfc0,%rax
  34:	01 00
  36:	65 8b 15 cc 59 9f 7e 	mov    %gs:0x7e9f59cc(%rip),%edx        # 0x7e9f5a09
  3d:	81                   	.byte 0x81
  3e:	e2                   	.byte 0xe2

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/11 22:32 linux-4.19.y 3f8a27f9e27b af01ee7d .config console log report info ci2-linux-4-19 BUG: soft lockup in br_ip4_multicast_query_expired
2022/01/01 12:39 linux-4.19.y 3f8a27f9e27b e1768e9c .config console log report info ci2-linux-4-19 BUG: soft lockup in br_ip4_multicast_query_expired
2021/12/18 16:06 linux-4.19.y 3f8a27f9e27b 44068e19 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_ip4_multicast_query_expired
* Struck through repros no longer work on HEAD.