syzbot


BUG: soft lockup in cleanup_net (2)

Status: upstream: reported C repro on 2022/11/13 07:04
Reported-by: syzbot+00c41e448434f745f5c3@syzkaller.appspotmail.com
First crash: 717d, last: 605d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in cleanup_net (2) 4 1221d 1353d 0/1 auto-closed as invalid on 2021/10/25 03:43
android-5-15 BUG: soft lockup in cleanup_net origin:lts syz 6 51d 178d 0/2 premoderation: reported syz repro on 2024/05/05 13:03
linux-4.19 BUG: soft lockup in cleanup_net 4 851d 1064d 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 418d 661d 0/28 closed as invalid on 2023/10/27 14:39
upstream INFO: rcu detected stall in cleanup_net (5) net 24 999d 1259d 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 139 10d 476d 0/3 upstream: reported syz repro on 2023/07/12 14:45
linux-5.15 INFO: rcu detected stall in cleanup_net 71 15d 477d 0/3 upstream: reported on 2023/07/11 05:04

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [kworker/u4:1:23]
Modules linked in:
irq event stamp: 22753
hardirqs last  enabled at (22752): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (22753): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (18234): [<ffffffff87b996b1>] tipc_shutdown+0x121/0x310 net/tipc/socket.c:2603
softirqs last disabled at (18236): [<ffffffff87bb4683>] spin_lock_bh include/linux/spinlock.h:334 [inline]
softirqs last disabled at (18236): [<ffffffff87bb4683>] tipc_topsrv_stop net/tipc/topsrv.c:702 [inline]
softirqs last disabled at (18236): [<ffffffff87bb4683>] tipc_topsrv_exit_net+0x283/0x5c0 net/tipc/topsrv.c:722
CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: netns cleanup_net
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: 0018:ffff8880b5047bd8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 00000000258470c4 RCX: ffffffff87eef30a
RDX: 0000000000000000 RSI: ffffffff87eef456 RDI: 0000000000000006
RBP: ffff8880a8c9ea00 R08: 0000000000000001 R09: 00000000258470c4
R10: 0000000000000006 R11: 0000000000000000 R12: ffff8880a8c9ea50
R13: ffffed1015193d51 R14: ffff88808ac45080 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdc216f438 CR3: 00000000b4daf000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tipc_topsrv_stop net/tipc/topsrv.c:697 [inline]
 tipc_topsrv_exit_net+0x288/0x5c0 net/tipc/topsrv.c:722
 ops_exit_list+0xa5/0x150 net/core/net_namespace.c:153
 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:554
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/05 15:00 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in cleanup_net
2023/03/05 13:03 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in cleanup_net
2022/11/13 07:04 linux-4.19.y 3f8a27f9e27b f42ee5d8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in cleanup_net
* Struck through repros no longer work on HEAD.