INFO: task kworker/u4:5:226 blocked for more than 143 seconds. Not tainted 5.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:5 D24240 226 2 0x80004000 Workqueue: netns cleanup_net Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4158 schedule_timeout+0x55b/0x850 kernel/time/timer.c:1874 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+0x16a/0x270 kernel/sched/completion.c:138 __flush_work+0x4fd/0xa80 kernel/workqueue.c:3045 flush_all_backlogs net/core/dev.c:5527 [inline] rollback_registered_many+0x562/0xe70 net/core/dev.c:8813 unregister_netdevice_many.part.0+0x16/0x1e0 net/core/dev.c:9988 unregister_netdevice_many+0x36/0x50 net/core/dev.c:9987 ip_tunnel_delete_nets+0x3e6/0x5b0 net/ipv4/ip_tunnel.c:1109 ops_exit_list.isra.0+0x103/0x150 net/core/net_namespace.c:189 cleanup_net+0x511/0xa50 net/core/net_namespace.c:603 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task syz-executor.0:16337 blocked for more than 143 seconds. Not tainted 5.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27952 16337 7053 0x00000004 Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4158 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4217 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 __tun_chr_ioctl+0x20a/0x4130 drivers/net/tun.c:3036 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:771 __do_sys_ioctl fs/ioctl.c:780 [inline] __se_sys_ioctl fs/ioctl.c:778 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:778 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c829 Code: Bad RIP value. RSP: 002b:00007f57737cdc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004ef660 RCX: 000000000045c829 RDX: 0000000020000100 RSI: 00000000400454ca RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000005aa R14: 00000000004c8444 R15: 00007f57737ce6d4 INFO: task syz-executor.0:16339 blocked for more than 144 seconds. Not tainted 5.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29104 16339 7053 0x00004004 Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4158 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4217 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 dev_ioctl+0x1a3/0xc60 net/core/dev_ioctl.c:495 sock_do_ioctl+0x1b7/0x2f0 net/socket.c:1076 sock_ioctl+0x3ec/0x790 net/socket.c:1204 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:771 __do_sys_ioctl fs/ioctl.c:780 [inline] __se_sys_ioctl fs/ioctl.c:778 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:778 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c829 Code: Bad RIP value. RSP: 002b:00007f57737acc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004f3f20 RCX: 000000000045c829 RDX: 0000000020000000 RSI: 0000000000008914 RDI: 0000000000000005 RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000006cd R14: 00000000004c98e2 R15: 00007f57737ad6d4 INFO: task syz-executor.0:16343 blocked for more than 144 seconds. Not tainted 5.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28400 16343 7053 0x00004004 Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4158 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4217 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 dev_ioctl+0x1a3/0xc60 net/core/dev_ioctl.c:495 sock_do_ioctl+0x1b7/0x2f0 net/socket.c:1076 sock_ioctl+0x3ec/0x790 net/socket.c:1204 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:771 __do_sys_ioctl fs/ioctl.c:780 [inline] __se_sys_ioctl fs/ioctl.c:778 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:778 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c829 Code: Bad RIP value. RSP: 002b:00007f577378bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004f3f20 RCX: 000000000045c829 RDX: 0000000020000000 RSI: 0000000000008914 RDI: 0000000000000005 RBP: 000000000078c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000006cd R14: 00000000004c98e2 R15: 00007f577378c6d4 INFO: task syz-executor.0:16345 blocked for more than 145 seconds. Not tainted 5.7.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29608 16345 7053 0x00000004 Call Trace: schedule+0xd0/0x2a0 kernel/sched/core.c:4158 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4217 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 __tun_chr_ioctl+0x20a/0x4130 drivers/net/tun.c:3036 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:771 __do_sys_ioctl fs/ioctl.c:780 [inline] __se_sys_ioctl fs/ioctl.c:778 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:778 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c829 Code: Bad RIP value. RSP: 002b:00007f577376ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004ef660 RCX: 000000000045c829 RDX: 0000000020000100 RSI: 00000000400454ca RDI: 0000000000000004 RBP: 000000000078c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000005aa R14: 00000000004c8444 R15: 00007f577376b6d4 Showing all locks held in the system: 5 locks held by kworker/u4:5/226: #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x844/0x16a0 kernel/workqueue.c:2239 #1: ffffc90001707dc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x878/0x16a0 kernel/workqueue.c:2243 #2: ffffffff8a576bf0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xa50 net/core/net_namespace.c:565 #3: ffffffff8a582ae8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x8f/0x5b0 net/ipv4/ip_tunnel.c:1104 #4: ffffffff89979ad0 (cpu_hotplug_lock){++++}-{0:0}, at: get_online_cpus include/linux/cpu.h:143 [inline] #4: ffffffff89979ad0 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5520 [inline] #4: ffffffff89979ad0 (cpu_hotplug_lock){++++}-{0:0}, at: rollback_registered_many+0x45b/0xe70 net/core/dev.c:8813 1 lock held by khungtaskd/1144: #0: ffffffff899beb00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754 1 lock held by in:imklog/6718: #0: ffff8880a760adb0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 1 lock held by syz-executor.0/16337: #0: ffffffff8a582ae8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x20a/0x4130 drivers/net/tun.c:3036 1 lock held by syz-executor.0/16339: #0: ffffffff8a582ae8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a3/0xc60 net/core/dev_ioctl.c:495 1 lock held by syz-executor.0/16343: #0: ffffffff8a582ae8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a3/0xc60 net/core/dev_ioctl.c:495 1 lock held by syz-executor.0/16345: #0: ffffffff8a582ae8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x20a/0x4130 drivers/net/tun.c:3036 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1144 Comm: khungtaskd Not tainted 5.7.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16271 Comm: syz-executor.3 Not tainted 5.7.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:417 [inline] RIP: 0010:lock_is_held_type+0x214/0x350 kernel/locking/lockdep.c:4972 Code: 0c 41 0f 94 c4 65 48 8b 1c 25 00 1f 02 00 48 8d bb c4 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fb 00 00 00 83 RSP: 0018:ffffc90017187d68 EFLAGS: 00000807 RAX: dffffc0000000000 RBX: ffff88809eeb4440 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff11013dd69a0 RDI: ffff88809eeb4d04 RBP: ffff88809eeb4440 R08: 0000000000000001 R09: ffffed1013c4e661 R10: ffff88809e273307 R11: ffffed1013c4e660 R12: 0000000000000000 R13: ffff88809e273160 R14: ffff88809eeb4d00 R15: ffffffff899bea40 FS: 000000000209e940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073ed54 CR3: 00000000a1ba5000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:406 [inline] ___might_sleep+0x1fc/0x2b0 kernel/sched/core.c:6766 io_ring_ctx_wait_and_kill+0xa9/0x5f0 fs/io_uring.c:7334 io_uring_release+0x3e/0x50 fs/io_uring.c:7356 __fput+0x33e/0x880 fs/file_table.c:280 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x416421 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff8bb933c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000416421 RDX: 0000000000000000 RSI: 0000000000000ea4 RDI: 0000000000000004 RBP: 0000000000000001 R08: 000000007aa4cea4 R09: 000000007aa4cea8 R10: 00007fff8bb934b0 R11: 0000000000000293 R12: 000000000078c900 R13: 000000000078c900 R14: ffffffffffffffff R15: 000000000078bf0c