syzbot


BUG: soft lockup in mrp_join_timer

Status: auto-closed as invalid on 2021/03/07 20:15
Reported-by: syzbot+9994101470a0302fe000@syzkaller.appspotmail.com
First crash: 1490d, last: 1475d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: soft lockup in mrp_join_timer 1 1340d 1340d 0/1 auto-closed as invalid on 2021/07/20 15:25
upstream BUG: soft lockup in mrp_join_timer (2) net 1 416d 416d 0/28 closed as invalid on 2023/11/01 18:32
linux-4.19 BUG: soft lockup in mrp_join_timer (2) 58 638d 1315d 0/1 upstream: reported on 2021/04/16 18:29
upstream BUG: soft lockup in mrp_join_timer net 1 1548d 1544d 0/28 auto-closed as invalid on 2020/10/25 16:14

Sample crash report:
Bluetooth: hci0: command 0x0406 tx timeout
wlan1: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
wlan1: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
watchdog: BUG: soft lockup - CPU#1 stuck for 120s! [syz-executor.3:8712]
Modules linked in:
irq event stamp: 21606169
hardirqs last  enabled at (21606168): [<ffffffff81004313>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (21606169): [<ffffffff8100432f>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (21571490): [<ffffffff8840069a>] __do_softirq+0x69a/0x9a0 kernel/softirq.c:318
softirqs last disabled at (21571493): [<ffffffff813a3bd5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (21571493): [<ffffffff813a3bd5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 8712 Comm: syz-executor.3 Not tainted 4.19.155-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3910
Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d 89 e2 a4 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b
RSP: 0018:ffff8880ba107ae8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3001 RBX: ffff88804e862040 RCX: 0000000000001464
RDX: dffffc0000000000 RSI: 00000000b1602165 RDI: 0000000000000286
RBP: ffffffff8ae5fd40 R08: ffffffff8cd18820 R09: 0000000000000004
R10: ffff88804e862968 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  00007f0be1931700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d74d59e048 CR3: 0000000009e6d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 000000000000d0eb
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144
 spin_lock include/linux/spinlock.h:329 [inline]
 __dev_xmit_skb net/core/dev.c:3469 [inline]
 __dev_queue_xmit+0x134e/0x2e00 net/core/dev.c:3807
 mrp_queue_xmit net/802/mrp.c:354 [inline]
 mrp_join_timer+0x8a/0xc0 net/802/mrp.c:598
 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:1703 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716
 __do_softirq+0x26c/0x9a0 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:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:rcu_read_unlock_special+0x7/0xfc0 kernel/rcu/tree_plugin.h:484
Code: 84 0d da 00 00 e9 16 da 00 00 48 c7 c7 80 c4 45 8a e8 9d a7 47 00 eb c9 90 66 2e 0f 1f 84 00 00 00 00 00 65 8b 05 59 8f ae 7e <a9> 00 00 10 00 0f 85 58 04 00 00 48 c7 c0 00 80 f1 89 41 57 48 ba
RSP: 0018:ffff888018777708 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff88804e862040 RCX: ffffffff815382e3
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88804e862040
RBP: ffff88804e8623b0 R08: 0000000000000000 R09: ffffed1017424552
R10: ffff8880ba122a93 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dead000000000100 R15: 00007f0be24c3000
 __rcu_read_unlock+0x158/0x160 kernel/rcu/tree_plugin.h:428
 rcu_read_unlock include/linux/rcupdate.h:680 [inline]
 __unlock_page_memcg+0x54/0x100 mm/memcontrol.c:1955
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1300
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1452 [inline]
 zap_pud_range mm/memory.c:1481 [inline]
 zap_p4d_range mm/memory.c:1502 [inline]
 unmap_page_range+0x12f6/0x2a70 mm/memory.c:1523
 unmap_single_vma+0x198/0x300 mm/memory.c:1568
 unmap_vmas+0xa9/0x180 mm/memory.c:1598
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1015 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1036
 exit_mm kernel/exit.c:546 [inline]
 do_exit+0xab5/0x2b70 kernel/exit.c:874
 do_group_exit+0x125/0x310 kernel/exit.c:990
 get_signal+0x3f2/0x1f70 kernel/signal.c:2588
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:821
 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:0x45deb9
Code: Bad RIP value.
RSP: 002b:00007f0be1930c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: 00000000000118a8 RBX: 000000000002e940 RCX: 000000000045deb9
RDX: 00000000000118a8 RSI: 0000000020847fff RDI: 0000000000000005
RBP: 000000000118c218 R08: 000000002005ffe4 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118c1cc
R13: 00007ffc80987f9f R14: 00007f0be19319c0 R15: 000000000118c1cc
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8129 Comm: syz-fuzzer Not tainted 4.19.155-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0033:0x41f929
Code: eb 07 49 8d 7b 08 48 89 f9 48 39 d1 0f 83 62 01 00 00 48 89 4c 24 50 48 85 c9 74 0b 83 fe 03 0f 83 f9 00 00 00 ff c6 0f b6 3b <49> 89 cb 89 f1 41 89 fc d3 ef 49 83 fb 08 74 0a 0f ba e7 04 0f 83
RSP: 002b:000000c0001d9ea8 EFLAGS: 00000246
RAX: 0000000000203004 RBX: 00007f121748f702 RCX: 0000000000000010
RDX: 0000000000000030 RSI: 0000000000000000 RDI: 0000000000000074
RBP: 000000c0001d9f28 R08: 00007f12174e7fff R09: 000000c0134ee030
R10: 000000c00002d698 R11: 0000000000000008 R12: 0000000000000040
R13: 000000c000001c80 R14: 0000000000aff722 R15: 0000000000000000
FS:  000000c000098b10 GS:  0000000000000000

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/07 20:14 linux-4.19.y b94de4d19498 cba33199 .config console log report info ci2-linux-4-19
2020/10/23 21:38 linux-4.19.y ad326970d25c 2bb6666c .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.