syzbot


INFO: task hung in nsim_destroy (2)

Status: auto-obsoleted due to no activity on 2023/09/24 06:54
Subsystems: net
[Documentation on labels]
First crash: 552d, last: 495d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in nsim_destroy (4) net 404 11h55m 185d 0/28 upstream: reported on 2024/05/31 11:16
upstream INFO: task hung in nsim_destroy net 1 1140d 1140d 0/28 auto-closed as invalid on 2022/01/17 12:55
linux-6.1 INFO: task hung in nsim_destroy 1 168d 168d 0/3 auto-obsoleted due to no activity on 2024/09/25 07:16
upstream INFO: task hung in nsim_destroy (3) net 1 426d 426d 0/28 auto-obsoleted due to no activity on 2024/01/01 15:33

Sample crash report:
INFO: task kworker/u4:16:15940 blocked for more than 143 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:16   state:D stack:26608 pid:15940 ppid:2      flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 nsim_destroy+0x39/0x190 drivers/net/netdevsim/netdev.c:376
 __nsim_dev_port_del+0x189/0x240 drivers/net/netdevsim/dev.c:1425
 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline]
 nsim_dev_reload_destroy+0x172/0x560 drivers/net/netdevsim/dev.c:1658
 nsim_dev_reload_down+0x6e/0xd0 drivers/net/netdevsim/dev.c:965
 devlink_reload+0x11c/0x450 net/devlink/dev.c:362
 devlink_pernet_pre_exit+0x1ce/0x2a0 net/devlink/core.c:282
 ops_pre_exit_list net/core/net_namespace.c:160 [inline]
 cleanup_net+0x46c/0xb20 net/core/net_namespace.c:602
 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2603
 worker_thread+0x687/0x1110 kernel/workqueue.c:2754
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
INFO: task kworker/1:12:17005 blocked for more than 144 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:12    state:D stack:21520 pid:17005 ppid:2      flags:0x00004000
Workqueue: events linkwatch_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 linkwatch_event+0x51/0xc0 net/core/link_watch.c:277
 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2603
 worker_thread+0x687/0x1110 kernel/workqueue.c:2754
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
INFO: task syz-executor.3:17311 blocked for more than 144 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:25664 pid:17311 ppid:5418   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 ppp_exit_net+0xaf/0x370 drivers/net/ppp/ppp_generic.c:1129
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 copy_namespaces+0x40e/0x4f0 kernel/nsproxy.c:179
 copy_process+0x31d3/0x7400 kernel/fork.c:2515
 kernel_clone+0xfd/0x930 kernel/fork.c:2920
 __do_sys_clone3+0x1f1/0x260 kernel/fork.c:3221
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3ee067cb29
RSP: 002b:00007f3edf1fdf98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f3ee067cb29
RDX: 00007f3edf1fdfb0 RSI: 0000000000000058 RDI: 00007f3edf1fdfb0
RBP: 00007f3ee06c847a R08: 0000000000000000 R09: 0000000000000058
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f3ee079c050 R15: 00007ffc288ade68
 </TASK>
INFO: task syz-executor.1:17320 blocked for more than 145 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:26704 pid:17320 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 fib_net_exit_batch+0x15/0xa0 net/ipv4/fib_frontend.c:1638
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f7c0ac7e287
RSP: 002b:00007ffc606bc298 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f7c0ac7e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ffc606bc370 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc606bc958
R13: 0000000000000003 R14: 00007f7c0ad9c9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.0:17321 blocked for more than 146 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:26704 pid:17321 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 ppp_exit_net+0xaf/0x370 drivers/net/ppp/ppp_generic.c:1129
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbf9a27e287
RSP: 002b:00007ffe57703238 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fbf9a27e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ffe57703310 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe577038f8
R13: 0000000000000003 R14: 00007fbf9a39c9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.2:17330 blocked for more than 147 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26704 pid:17330 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fefef87e287
RSP: 002b:00007ffdcc5fd818 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fefef87e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ffdcc5fd8f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffdcc5fded8
R13: 0000000000000003 R14: 00007fefef99c9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.5:17332 blocked for more than 147 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:26704 pid:17332 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 ppp_exit_net+0xaf/0x370 drivers/net/ppp/ppp_generic.c:1129
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f237f27e287
RSP: 002b:00007ffc472316e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f237f27e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ffc472317c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffc47231da8
R13: 0000000000000003 R14: 00007f237f39c9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.2:17363 blocked for more than 148 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26704 pid:17363 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6469a7e287
RSP: 002b:00007fff87901728 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f6469a7e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007fff87901800 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff87901de8
R13: 0000000000000003 R14: 00007f6469b9c9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.1:17362 blocked for more than 148 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:26704 pid:17362 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6846
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f314be7e287
RSP: 002b:00007ffc80b10348 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f314be7e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ffc80b10420 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffc80b10a08
R13: 0000000000000003 R14: 00007f314bf9c9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.0:17368 blocked for more than 149 seconds.
      Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:26704 pid:17368 ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6711
 schedule+0xe7/0x1b0 kernel/sched/core.c:6787
 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common+0x3e2/0x5f0 kernel/sched/completion.c:116
 __flush_work+0x5d9/0xc10 kernel/workqueue.c:3392
 flush_all_backlogs net/core/dev.c:5887 [inline]
 unregister_netdevice_many_notify+0x12d1/0x1a20 net/core/dev.c:10890
 ip_tunnel_delete_nets+0x2bb/0x3a0 net/ipv4/ip_tunnel.c:1144
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x3da/0x930 kernel/fork.c:3446
 __do_sys_unshare kernel/fork.c:3517 [inline]
 __se_sys_unshare kernel/fork.c:3515 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3515
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f849f07e287
RSP: 002b:00007ffc090b6608 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f849f07e287
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007ffc090b66e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffc090b6cc8
R13: 0000000000000003 R14: 00007f849f19c9d8 R15: 000000000000000c
 </TASK>
Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
 #0: ffffffff8c9a6dd0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xef0 kernel/rcu/tasks.h:571
1 lock held by rcu_tasks_trace/14:
 #0: ffffffff8c9a6a90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xef0 kernel/rcu/tasks.h:571
1 lock held by khungtaskd/28:
 #0: ffffffff8c9a79e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
2 locks held by getty/4799:
 #0: ffff88802cfca098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187
4 locks held by kworker/0:8/5518:
4 locks held by kworker/0:0/8481:
4 locks held by kworker/0:4/9247:
3 locks held by kworker/u4:2/11898:
 #0: ffff8880b993c498 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558
 #1: ffff8880b9928848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999
 #2: ffff8880b9929798 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x200 kernel/time/timer.c:999
4 locks held by kworker/0:3/12657:
4 locks held by kworker/0:6/12665:
5 locks held by kworker/u4:16/15940:
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:681 [inline]
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:708 [inline]
 #0: ffff888014667938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2573
 #1: ffffc90004677d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2577
 #2: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:576
 #3: ffff88801ecbf250 (&devlink->lock_key#7){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:54 [inline]
 #3: ffff88801ecbf250 (&devlink->lock_key#7){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x140/0x2a0 net/devlink/core.c:279
 #4: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x39/0x190 drivers/net/netdevsim/netdev.c:376
2 locks held by kworker/0:5/16846:
2 locks held by kworker/0:7/16966:
3 locks held by kworker/1:10/17003:
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:681 [inline]
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:708 [inline]
 #0: ffff88814a571538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2573
 #1: ffffc9000337fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2577
 #2: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4637
3 locks held by kworker/1:12/17005:
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:681 [inline]
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:708 [inline]
 #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2573
 #1: ffffc9000339fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2577
 #2: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:277
3 locks held by kworker/0:11/17186:
6 locks held by syz-executor.2/17288:
2 locks held by syz-executor.3/17311:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ppp_exit_net+0xaf/0x370 drivers/net/ppp/ppp_generic.c:1129
2 locks held by kworker/0:12/17315:
2 locks held by syz-executor.1/17320:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: fib_net_exit_batch+0x15/0xa0 net/ipv4/fib_frontend.c:1638
2 locks held by syz-executor.0/17321:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ppp_exit_net+0xaf/0x370 drivers/net/ppp/ppp_generic.c:1129
2 locks held by syz-executor.2/17330:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
2 locks held by syz-executor.5/17332:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ppp_exit_net+0xaf/0x370 drivers/net/ppp/ppp_generic.c:1129
2 locks held by syz-executor.2/17363:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
2 locks held by syz-executor.1/17362:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
3 locks held by syz-executor.0/17368:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
 #2: ffffffff8c84d470 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5871 [inline]
 #2: ffffffff8c84d470 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x4e5/0x1a20 net/core/dev.c:10890
2 locks held by syz-executor.2/17382:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x220 drivers/net/wireguard/device.c:421
2 locks held by syz-executor.5/17384:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x220 drivers/net/wireguard/device.c:421
2 locks held by syz-executor.0/17383:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x220 drivers/net/wireguard/device.c:421
2 locks held by syz-executor.1/17390:
 #0: ffffffff8e3d7c50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487
 #1: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x220 drivers/net/wireguard/device.c:421
1 lock held by syz-executor.0/17405:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.1/17406:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.2/17413:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.5/17412:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.5/17420:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.1/17425:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.0/17424:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420
1 lock held by syz-executor.2/17421:
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3ece28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6420

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

NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x2ac/0x310 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xfab/0x1230 kernel/hung_task.c:379
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 17288 Comm: syz-executor.2 Not tainted 6.5.0-rc3-next-20230726-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:in_irqentry_text kernel/stacktrace.c:378 [inline]
RIP: 0010:filter_irq_stacks+0x44/0x90 kernel/stacktrace.c:395
Code: 89 fa 48 c1 ea 03 80 3c 1a 00 75 42 48 8b 17 48 81 fa 90 01 40 8a 72 12 48 81 fa d0 15 40 8a 73 09 83 c0 01 48 83 c4 10 5b c3 <48> 81 fa 00 3e 3a 8a 72 09 48 81 fa 65 47 3a 8a 72 e5 83 c0 01 48
RSP: 0018:ffffc90000007470 EFLAGS: 00000283
RAX: 0000000000000007 RBX: dffffc0000000000 RCX: 0000000000000001
RDX: ffffffff882c2aee RSI: 0000000000000020 RDI: ffffc90000007530
RBP: ffffc900000074f8 R08: 0000000000000000 R09: fffffbfff1d58a92
R10: ffffffff8eac5497 R11: 0000000000094000 R12: 0000000000000001
R13: 0000000000000820 R14: ffffc900000074f8 R15: 0000000000000001
FS:  00007f46763146c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ee1304990 CR3: 0000000050829000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __stack_depot_save+0x39/0x510 lib/stackdepot.c:377
 kasan_save_stack+0x43/0x50 mm/kasan/common.c:46
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 __kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:186 [inline]
 slab_post_alloc_hook mm/slab.h:762 [inline]
 slab_alloc_node mm/slub.c:3478 [inline]
 slab_alloc mm/slub.c:3486 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3493 [inline]
 kmem_cache_alloc+0x172/0x3b0 mm/slub.c:3502
 skb_clone+0x171/0x3c0 net/core/skbuff.c:1860
 vxcan_xmit drivers/net/can/vxcan.c:58 [inline]
 vxcan_xmit+0x1b0/0x840 drivers/net/can/vxcan.c:37
 __netdev_start_xmit include/linux/netdevice.h:4910 [inline]
 netdev_start_xmit include/linux/netdevice.h:4924 [inline]
 xmit_one net/core/dev.c:3537 [inline]
 dev_hard_start_xmit+0x13d/0x6c0 net/core/dev.c:3553
 __dev_queue_xmit+0x9be/0x3d60 net/core/dev.c:4330
 dev_queue_xmit include/linux/netdevice.h:3088 [inline]
 can_send+0x543/0xb00 net/can/af_can.c:276
 can_can_gw_rcv+0x74c/0xab0 net/can/gw.c:561
 deliver net/can/af_can.c:572 [inline]
 can_rcv_filter+0x15e/0x8e0 net/can/af_can.c:599
 can_receive+0x31d/0x5c0 net/can/af_can.c:663
 can_rcv+0x1dc/0x270 net/can/af_can.c:687
 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5513
 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5627
 process_backlog+0x101/0x6c0 net/core/dev.c:5955
 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6517
 napi_poll net/core/dev.c:6584 [inline]
 net_rx_action+0x956/0xe90 net/core/dev.c:6717
 __do_softirq+0x218/0x965 kernel/softirq.c:553
 do_softirq kernel/softirq.c:454 [inline]
 do_softirq+0xaa/0xe0 kernel/softirq.c:441
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 tcp_metrics_flush_all+0x260/0x370 net/ipv4/tcp_metrics.c:899
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64d/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
 copy_namespaces+0x40e/0x4f0 kernel/nsproxy.c:179
 copy_process+0x31d3/0x7400 kernel/fork.c:2515
 kernel_clone+0xfd/0x930 kernel/fork.c:2920
 __do_sys_clone3+0x1f1/0x260 kernel/fork.c:3221
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f467567cb29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4676313f98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f467567cb29
RDX: 00007f4676313fb0 RSI: 0000000000000058 RDI: 00007f4676313fb0
RBP: 00007f46756c847a R08: 0000000000000000 R09: 0000000000000058
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f467579c050 R15: 00007fff234913a8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/26 06:45 linux-next 0ba5d0720577 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in nsim_destroy
2023/05/30 00:18 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in nsim_destroy
* Struck through repros no longer work on HEAD.