syzbot


BUG: soft lockup in cleanup_net

Status: premoderation: reported on 2025/01/17 10:28
Reported-by: syzbot+1376e7015ca6091dbfa4@syzkaller.appspotmail.com
First crash: 4d22h, last: 4d22h
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in cleanup_net (2) 4 1305d 1437d 0/1 auto-closed as invalid on 2021/10/25 03:43
linux-4.19 BUG: soft lockup in cleanup_net (2) C 3 688d 801d 0/1 upstream: reported C repro on 2022/11/13 07:04
android-5-15 BUG: soft lockup in cleanup_net origin:lts syz 6 135d 261d 0/2 auto-obsoleted due to no activity on 2024/12/08 05:58
linux-4.19 BUG: soft lockup in cleanup_net 4 934d 1147d 0/1 auto-obsoleted due to no activity on 2022/10/30 18:15
upstream INFO: rcu detected stall in cleanup_net (6) net 63 502d 745d 0/28 closed as invalid on 2023/10/27 14:39
upstream INFO: rcu detected stall in cleanup_net (5) net 24 1083d 1343d 0/28 closed as invalid on 2022/02/08 10:00
linux-6.1 INFO: rcu detected stall in cleanup_net origin:lts-only syz inconclusive 140 74d 559d 0/3 upstream: reported syz repro on 2023/07/12 14:45
linux-5.15 INFO: rcu detected stall in cleanup_net origin:lts-only syz error 77 9d22h 561d 0/3 upstream: reported syz repro on 2023/07/11 05:04

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/u4:13:9864]
Modules linked in:
CPU: 1 PID: 9864 Comm: kworker/u4:13 Not tainted 6.1.118-syzkaller-00020-gdbdf659cc65c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: netns cleanup_net
RIP: 0010:radix_tree_lookup+0x242/0x290 lib/radix-tree.c:817
Code: 94 f6 5f fc be 40 00 00 00 48 c7 c7 20 ff 8d 87 4c 89 ea e8 20 5a 8c fd e9 70 fe ff ff e8 76 f6 5f fc 4c 89 e8 48 83 c4 18 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 e8 5f f6 5f fc 45 31 ed eb e4 e8 55
RSP: 0018:ffffc90004367b98 EFLAGS: 00000296
RAX: 0000000000000000 RBX: ffff88815c119e00 RCX: ffff88810f063cc0
RDX: 0000000000000000 RSI: ffffffffd83e40f7 RDI: 000000000000003f
RBP: ffffc90004367bb8 R08: ffffffff85158e52 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffffffd83e40f7
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8881006e82c2
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558a8ff4a8 CR3: 000000012436d000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 idr_find+0x40/0x60 lib/idr.c:174
 tipc_topsrv_stop net/tipc/topsrv.c:700 [inline]
 tipc_topsrv_exit_net+0x11c/0x320 net/tipc/topsrv.c:725
 ops_exit_list net/core/net_namespace.c:172 [inline]
 cleanup_net+0x64b/0xbf0 net/core/net_namespace.c:604
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1834 Comm: kworker/u4:8 Not tainted 6.1.118-syzkaller-00020-gdbdf659cc65c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: tipc_rcv tipc_conn_recv_work
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:1064
Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d db ea 50 04 fb f4 <e9> 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c
RSP: 0018:ffffc9000acc7880 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff92001598f14 RCX: ffffffff8522245c
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88815c119e18
RBP: ffffc9000acc7930 R08: dffffc0000000000 R09: ffffed102b8233c4
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88815c119e18 R14: 0000000000000003 R15: 1ffff92001598f18
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f819ff8 CR3: 00000001127fd000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x6de/0xda0 kernel/locking/qspinlock.c:511
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline]
 _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 tipc_conn_kref_release net/tipc/topsrv.c:129 [inline]
 kref_put include/linux/kref.h:65 [inline]
 conn_put+0x78/0x310 net/tipc/topsrv.c:147
 tipc_conn_recv_work+0x3be/0x430 net/tipc/topsrv.c:432
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/17 10:27 android14-6.1 dbdf659cc65c f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in cleanup_net
* Struck through repros no longer work on HEAD.