INFO: task syz-executor.3:9910 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28536 9910 8132 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 filp_close+0xb4/0x160 fs/open.c:1162 __close_fd+0x133/0x200 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close fs/open.c:1179 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1179 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4ba587837b Code: Bad RIP value. RSP: 002b:00007ffd84669aa0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 IPVS: ftp: loaded support on port[0] = 21 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f4ba587837b RDX: 0000001b2f920000 RSI: 0000001b2f925c88 RDI: 0000000000000005 RBP: 00007f4ba59e9980 R08: 0000000000000000 R09: 000000003253460c R10: 000f9106aeaf16c3 R11: 0000000000000293 R12: 00000000000276f1 R13: 00007ffd84669ba0 R14: 00007f4ba59e8050 R15: 0000000000000032 IPVS: ftp: loaded support on port[0] = 21 INFO: task syz-executor.3:9919 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27032 9919 8132 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback.isra.0+0x11b/0x170 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0xb6/0xe0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:655 [inline] invalidate_inode_pages2_range+0x795/0x1110 mm/truncate.c:725 fuse_finish_open+0x2e2/0x590 fs/fuse/file.c:182 fuse_open_common+0x254/0x2c0 fs/fuse/file.c:222 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4ba58c65a9 Code: Bad RIP value. RSP: 002b:00007f4ba423a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f4ba59e7f80 RCX: 00007f4ba58c65a9 RDX: 0000000000000000 RSI: 0000000000000300 RDI: 0000000020000100 RBP: 00007f4ba5921580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd84669a3f R14: 00007f4ba423a300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:1/23: #0: 000000009204bd15 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000004fa05578 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000000554c1b (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 0000000084c2555f (rtnl_mutex){+.+.}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1032 1 lock held by khungtaskd/1570: #0: 000000004c35d102 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 3 locks held by kworker/u4:5/3577: IPVS: ftp: loaded support on port[0] = 21 1 lock held by in:imklog/7875: #0: 0000000089279e2f (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by kworker/1:4/9334: #0: 00000000d9ac0ece ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000078e3943d ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 1 lock held by syz-executor.3/9910: #0: 00000000d6c4dab3 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000d6c4dab3 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 2 locks held by syz-executor.3/9919: #0: 0000000063f52924 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 0000000063f52924 (sb_writers#14){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000d6c4dab3 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000d6c4dab3 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x1bc/0x2c0 fs/fuse/file.c:215 3 locks held by syz-executor.4/16954: #0: 0000000000554c1b (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 0000000084c2555f (rtnl_mutex){+.+.}, at: ip_tunnel_delete_nets+0x8e/0x580 net/ipv4/ip_tunnel.c:1083 #2: 00000000d58dc044 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #2: 00000000d58dc044 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 1 lock held by syz-executor.0/17157: #0: 0000000084c2555f (rtnl_mutex){+.+.}, at: wext_ioctl_dispatch net/wireless/wext-core.c:987 [inline] #0: 0000000084c2555f (rtnl_mutex){+.+.}, at: wext_ioctl_dispatch net/wireless/wext-core.c:976 [inline] #0: 0000000084c2555f (rtnl_mutex){+.+.}, at: wext_handle_ioctl+0x248/0x280 net/wireless/wext-core.c:1049 1 lock held by syz-executor.3/17147: #0: 0000000084c2555f (rtnl_mutex){+.+.}, at: dev_ioctl+0x19d/0xc50 net/core/dev_ioctl.c:487 2 locks held by syz-executor.5/17153: #0: 0000000000554c1b (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 0000000084c2555f (rtnl_mutex){+.+.}, at: register_netdev+0x11/0x50 net/core/dev.c:8857 2 locks held by syz-executor.5/17161: #0: 0000000000554c1b (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 0000000084c2555f (rtnl_mutex){+.+.}, at: register_netdev+0x11/0x50 net/core/dev.c:8857 2 locks held by syz-executor.2/17174: #0: 0000000000554c1b (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 0000000084c2555f (rtnl_mutex){+.+.}, at: gtp_net_exit+0x1ba/0x380 drivers/net/gtp.c:1360 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 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 09/22/2022 Workqueue: netns cleanup_net RIP: 0010:__lock_acquire+0x2ff/0x3ff0 kernel/locking/lockdep.c:3332 Code: 0d 00 00 49 8d b5 88 08 00 00 48 2d 80 f5 d5 8c 48 c1 f8 04 48 89 74 24 10 69 c0 3d cf f3 3c 44 8d 40 01 44 89 c8 4c 8d 14 80 <49> c1 e2 03 45 85 c9 74 45 4a 8d 44 16 d8 48 b9 00 00 00 00 00 fc RSP: 0018:ffff8880b50478f8 EFLAGS: 00000807 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffff8880b503ce88 RDI: ffffffff8cd631c8 RBP: 0000000000000002 R08: 000000000000002e R09: 0000000000000003 R10: 000000000000000f R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880b503c600 R14: ffffffff89f85fa0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556d8fdaf0e8 CR3: 00000000a3521000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] inet_twsk_purge+0x115/0x7c0 net/ipv4/inet_timewait_sock.c:267 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:156 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