syzbot


INFO: task can't die in nfnl_queue_net_exit

Status: closed as invalid on 2021/12/20 16:33
Subsystems: netfilter
[Documentation on labels]
First crash: 848d, last: 848d

Sample crash report:
INFO: task syz-executor.0:12022 can't die for more than 143 seconds.
task:syz-executor.0  state:R  running task     stack:25768 pid:12022 ppid:  2264 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4983 [inline]
 __schedule+0xab2/0x4d90 kernel/sched/core.c:6293
 nfnl_queue_net_exit+0x166/0x310 net/netfilter/nfnetlink_queue.c:1526
 </TASK>
INFO: task syz-executor.2:12030 can't die for more than 144 seconds.
task:syz-executor.2  state:D stack:24920 pid:12030 ppid: 24241 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4983 [inline]
 __schedule+0xab2/0x4d90 kernel/sched/core.c:6293
 schedule+0xd2/0x260 kernel/sched/core.c:6366
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 rcu_barrier+0x2db/0x440 kernel/rcu/tree.c:4091
 setup_net+0x731/0xa30 net/core/net_namespace.c:355
 copy_net_ns+0x318/0x760 net/core/net_namespace.c:470
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226
 ksys_unshare+0x445/0x920 kernel/fork.c:3077
 __do_sys_unshare kernel/fork.c:3148 [inline]
 __se_sys_unshare kernel/fork.c:3146 [inline]
 __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3146
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3361c28ae9
RSP: 002b:00007f335f19e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f3361d3bf60 RCX: 00007f3361c28ae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000042020000
RBP: 00007f3361c82f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff78395edf R14: 00007f335f19e300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:12031 can't die for more than 146 seconds.
task:syz-executor.4  state:R  running task     stack:25168 pid:12031 ppid: 24790 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4983 [inline]
 __schedule+0xab2/0x4d90 kernel/sched/core.c:6293
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8bb83220 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6233:
 #0: ffff88801b4e74f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
3 locks held by kworker/1:2/3644:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2270
 #1: ffffc9000e7d7db0 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2274
 #2: ffffffff8bb8cb30 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x440 kernel/rcu/tree.c:4026
4 locks held by kworker/u4:2/4283:
4 locks held by syz-executor.5/10970:
3 locks held by syz-executor.0/12022:
2 locks held by syz-executor.4/12031:

=============================================


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/01 23:08 linux-next f81e94e91878 61f86278 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in nfnl_queue_net_exit
* Struck through repros no longer work on HEAD.