syzbot


INFO: task hung in unregister_nexthop_notifier

Status: auto-obsoleted due to no activity on 2023/10/02 08:35
Subsystems: net
[Documentation on labels]
First crash: 358d, last: 358d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in unregister_nexthop_notifier 1 26d 26d 0/3 upstream: reported on 2024/05/31 17:20

Sample crash report:
INFO: task kworker/u4:6:2465 blocked for more than 143 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:6    state:D stack:26456 pid:2465  ppid:2      flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 unregister_nexthop_notifier+0x19/0x60 net/ipv4/nexthop.c:3635
 nsim_fib_destroy+0x84/0x1b0 drivers/net/netdevsim/fib.c:1656
 nsim_dev_reload_destroy+0x1d6/0x510 drivers/net/netdevsim/dev.c:1665
 nsim_dev_reload_down+0x6f/0xe0 drivers/net/netdevsim/dev.c:968
 devlink_reload+0x105/0x460 net/devlink/dev.c:362
 devlink_pernet_pre_exit+0x1b6/0x280 net/devlink/core.c:282
 ops_pre_exit_list net/core/net_namespace.c:160 [inline]
 cleanup_net+0x455/0xb10 net/core/net_namespace.c:602
 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748
 kthread+0x344/0x440 kernel/kthread.c:389
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
INFO: task syz-executor.1:5859 blocked for more than 144 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:26448 pid:5859  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64c/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe9ff48d947
RSP: 002b:00007ffc6b341928 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffc6b341f68 RCX: 00007fe9ff48d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 00007ffc6b341a00 R14: 00007fe9ff5ac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.4:5864 blocked for more than 144 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:26992 pid:5864  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64c/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbf30e8d947
RSP: 002b:00007ffca5c88818 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffca5c88e58 RCX: 00007fbf30e8d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007ffca5c888f0 R14: 00007fbf30fac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.2:5865 blocked for more than 145 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26992 pid:5865  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64c/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f168ce8d947
RSP: 002b:00007fff94420cc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fff94421308 RCX: 00007f168ce8d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 00007fff94420da0 R14: 00007f168cfac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.0:5875 blocked for more than 145 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:26992 pid:5875  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 setup_net+0x64c/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc9d068d947
RSP: 002b:00007ffffcd59208 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffffcd59848 RCX: 00007fc9d068d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007ffffcd592e0 R14: 00007fc9d07ac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.5:5877 blocked for more than 146 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:26992 pid:5877  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
 __flush_work+0x595/0xb60 kernel/workqueue.c:3386
 flush_all_backlogs net/core/dev.c:5826 [inline]
 unregister_netdevice_many_notify+0xf13/0x18c0 net/core/dev.c:10832
 ip_tunnel_delete_nets+0x2c2/0x3a0 net/ipv4/ip_tunnel.c:1144
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64c/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd0d108d947
RSP: 002b:00007ffe04945da8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffe049463e8 RCX: 00007fd0d108d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007ffe04945e80 R14: 00007fd0d11ac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.1:5895 blocked for more than 148 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:26568 pid:5895  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 ip_tunnel_init_net+0x1eb/0x5d0 net/ipv4/ip_tunnel.c:1090
 ops_init+0xb9/0x6b0 net/core/net_namespace.c:136
 setup_net+0x422/0xa40 net/core/net_namespace.c:339
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc15848d947
RSP: 002b:00007ffc38c71338 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffc38c71978 RCX: 00007fc15848d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 00007ffc38c71410 R14: 00007fc1585ac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.4:5901 blocked for more than 149 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:26568 pid:5901  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 ip_tunnel_init_net+0x1eb/0x5d0 net/ipv4/ip_tunnel.c:1090
 vti_init_net+0x2f/0x140 net/ipv4/ip_vti.c:504
 ops_init+0xb9/0x6b0 net/core/net_namespace.c:136
 setup_net+0x422/0xa40 net/core/net_namespace.c:339
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f37f1e8d947
RSP: 002b:00007fff9845e058 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fff9845e698 RCX: 00007f37f1e8d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007fff9845e130 R14: 00007f37f1fac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.0:5908 blocked for more than 150 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:26568 pid:5908  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 ip_tunnel_init_net+0x1eb/0x5d0 net/ipv4/ip_tunnel.c:1090
 ops_init+0xb9/0x6b0 net/core/net_namespace.c:136
 setup_net+0x422/0xa40 net/core/net_namespace.c:339
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3437
 __do_sys_unshare kernel/fork.c:3508 [inline]
 __se_sys_unshare kernel/fork.c:3506 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f00aec8d947
RSP: 002b:00007fffa113cb08 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fffa113d148 RCX: 00007f00aec8d947
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007fffa113cbe0 R14: 00007f00aedac9d8 R15: 000000000000000c
 </TASK>
INFO: task syz-executor.5:5910 blocked for more than 151 seconds.
      Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:26568 pid:5910  ppid:1      flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6710
 schedule+0xde/0x1a0 kernel/sched/core.c:6786
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x784/0x4420 drivers/net/tun.c:3103
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x19d/0x210 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f648488c117
RSP: 002b:00007ffe08ef60e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffe08ef67d8 RCX: 00007f648488c117
RDX: 00007ffe08ef6110 RSI: 00000000400454ca RDI: 00000000000000c8
RBP: 00000000ffffffff R08: 00007ffe08ef6110 R09: 00007ffe08ef5c10
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007ffe08ef6270 R14: 00007f64849ac9d8 R15: 000000000000000c
 </TASK>
Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings

Showing all locks held in the system:
4 locks held by kworker/0:0/6:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8c99eab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8c99e7b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/27:
 #0: ffffffff8c99f6c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
2 locks held by getty/4758:
 #0: ffff88814bf0e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffffc900020282f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187
4 locks held by kworker/0:7/5083:
4 locks held by kworker/0:4/14101:
4 locks held by kworker/0:16/23964:
5 locks held by kworker/u4:6/2465:
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
 #0: ffff888017a51138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567
 #1: ffffc9000621fdb0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571
 #2: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb10 net/core/net_namespace.c:576
 #3: ffff888029f02250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:54 [inline]
 #3: ffff888029f02250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x12a/0x280 net/devlink/core.c:279
 #4: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_nexthop_notifier+0x19/0x60 net/ipv4/nexthop.c:3635
4 locks held by kworker/0:2/3000:
4 locks held by syz-executor.4/5829:
3 locks held by kworker/1:0/5839:
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
 #0: ffff88814adb0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567
 #1: ffffc90005ab7db0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571
 #2: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630
2 locks held by kworker/0:3/5847:
3 locks held by kworker/0:5/5849:
2 locks held by syz-executor.1/5859:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
2 locks held by syz-executor.4/5864:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
2 locks held by syz-executor.2/5865:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
2 locks held by syz-executor.0/5875:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: cfg802154_pernet_exit+0x17/0xd0 net/ieee802154/core.c:327
3 locks held by syz-executor.5/5877:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139
 #2: ffffffff8c845ff0 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5810 [inline]
 #2: ffffffff8c845ff0 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x4ef/0x18c0 net/core/dev.c:10832
2 locks held by syz-executor.1/5895:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x1eb/0x5d0 net/ipv4/ip_tunnel.c:1090
2 locks held by syz-executor.2/5900:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x210 drivers/net/wireguard/device.c:421
2 locks held by syz-executor.4/5901:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x1eb/0x5d0 net/ipv4/ip_tunnel.c:1090
2 locks held by syz-executor.3/5903:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x210 drivers/net/wireguard/device.c:421
2 locks held by syz-executor.0/5908:
 #0: ffffffff8e3a9110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487
 #1: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x1eb/0x5d0 net/ipv4/ip_tunnel.c:1090
1 lock held by syz-executor.5/5910:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x784/0x4420 drivers/net/tun.c:3103
1 lock held by syz-executor.1/5928:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.2/5933:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.3/5935:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.4/5936:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.0/5941:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.5/5943:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.2/5956:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.1/5961:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.4/5962:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.3/5964:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.0/5969:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.5/5971:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.2/5983:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.1/5987:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.4/5988:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.3/5991:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.0/5995:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.5/5997:
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
 #0: ffffffff8e3bd3e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421

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

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379
 kthread+0x344/0x440 kernel/kthread.c:389
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5829 Comm: syz-executor.4 Not tainted 6.4.0-syzkaller-11311-g24be4d0b46bb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:lockdep_rtnl_is_held+0x0/0x30 net/core/rtnetlink.c:175
Code: b6 c0 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa 55 48 89 fd e8 33 21 66 f9 48 89 ef 5d 48 c7 c6 80 d3 3b 8e e9 b3 af f7 fb 0f 1f 00 <f3> 0f 1e fa 53 e8 16 21 66 f9 be ff ff ff ff 48 c7 c7 e8 d3 3b 8e
RSP: 0018:ffffc90000007580 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88804276c0a8 RCX: 0000000000000100
RDX: ffff8880414300c0 RSI: ffffffff88dafbbb RDI: 0000000000000005
RBP: ffffc900000075f8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000003
R13: 0000000000000001 R14: 000000000000001e R15: ffff888056109000
FS:  00007f5339976700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f28d91959d0 CR3: 0000000079a1e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 find_match.part.0+0x260/0xd80 include/net/addrconf.h:315
 find_match net/ipv6/route.c:827 [inline]
 __find_rr_leaf+0x17f/0xdc0 net/ipv6/route.c:828
 find_rr_leaf net/ipv6/route.c:849 [inline]
 rt6_select net/ipv6/route.c:893 [inline]
 fib6_table_lookup+0x62e/0xa20 net/ipv6/route.c:2181
 ip6_pol_route+0x1c9/0x1230 net/ipv6/route.c:2217
 pol_lookup_func include/net/ip6_fib.h:576 [inline]
 fib6_rule_lookup+0x115/0x6e0 net/ipv6/fib6_rules.c:116
 ip6_route_input_lookup net/ipv6/route.c:2286 [inline]
 ip6_route_input+0x5d8/0xbb0 net/ipv6/route.c:2582
 ip6_rcv_finish_core.constprop.0+0x1a4/0x5d0 net/ipv6/ip6_input.c:66
 ip6_rcv_finish net/ipv6/ip6_input.c:77 [inline]
 NF_HOOK include/linux/netfilter.h:303 [inline]
 NF_HOOK include/linux/netfilter.h:297 [inline]
 ipv6_rcv+0x1e9/0x380 net/ipv6/ip6_input.c:309
 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5452
 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5566
 process_backlog+0x101/0x670 net/core/dev.c:5894
 __napi_poll+0xb7/0x6f0 net/core/dev.c:6460
 napi_poll net/core/dev.c:6527 [inline]
 net_rx_action+0x8a9/0xcb0 net/core/dev.c:6660
 __do_softirq+0x1d4/0x905 kernel/softirq.c:553
 do_softirq.part.0+0x87/0xc0 kernel/softirq.c:454
 </IRQ>
 <TASK>
 do_softirq kernel/softirq.c:446 [inline]
 __local_bh_enable_ip+0x106/0x130 kernel/softirq.c:381
 spin_unlock_bh include/linux/spinlock.h:395 [inline]
 tcp_metrics_flush_all+0x27c/0x390 net/ipv4/tcp_metrics.c:899
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 setup_net+0x64c/0xa40 net/core/net_namespace.c:362
 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x410/0x500 kernel/nsproxy.c:179
 copy_process+0x322c/0x75c0 kernel/fork.c:2506
 kernel_clone+0xeb/0x890 kernel/fork.c:2911
 __do_sys_clone+0xba/0x100 kernel/fork.c:3054

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/04 08:34 upstream 24be4d0b46bb 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in unregister_nexthop_notifier
* Struck through repros no longer work on HEAD.