IPVS: ftp: loaded support on port[0] = 21 INFO: task kworker/u4:2:36 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. kworker/u4:2 D26280 36 2 0x80000000 Workqueue: writeback wb_workfn (flush-7:0) 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 f2fs_write_inode+0x500/0x600 fs/f2fs/inode.c:630 write_inode fs/fs-writeback.c:1244 [inline] __writeback_single_inode+0x733/0x11d0 fs/fs-writeback.c:1442 writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1647 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1716 wb_writeback+0x841/0xcc0 fs/fs-writeback.c:1822 wb_check_old_data_flush fs/fs-writeback.c:1924 [inline] wb_do_writeback fs/fs-writeback.c:1977 [inline] wb_workfn+0x8ba/0x1250 fs/fs-writeback.c:2006 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 Showing all locks held in the system: 4 locks held by kworker/u4:1/23: #0: 000000007e4edeb7 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000004e0e1486 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000002dc8974f (&type->s_umount_key#53){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000d063e3be (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 4 locks held by kworker/u4:2/36: #0: 000000007e4edeb7 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000008d5d7a06 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000046d1862 (&type->s_umount_key#53){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000a99facba (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by khungtaskd/1570: #0: 0000000066586f0f (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7799: #0: 00000000f83402dc (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:7/9539: #0: 00000000c1c3d9ae ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000004fbee741 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000b03a2aeb (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 00000000a2c04974 (rcu_preempt_state.barrier_mutex){+.+.}, at: _rcu_barrier+0x59/0x3e0 kernel/rcu/tree.c:3430 5 locks held by syz-executor.0/11321: 4 locks held by syz-executor.1/11834: 2 locks held by syz-executor.0/11877: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/11880: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 f2fs_msg: 442547 callbacks suppressed F2FS-fs (loop0): Inconsistent segment (6) type [1, 0] in SSA and SIT #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 F2FS-fs (loop0): Inconsistent segment (6) type [1, 0] in SSA and SIT 2 locks held by syz-executor.0/11885: F2FS-fs (loop1): Inconsistent segment (6) type [1, 0] in SSA and SIT #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 F2FS-fs (loop1): Inconsistent segment (6) type [1, 0] in SSA and SIT #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 F2FS-fs (loop1): Inconsistent segment (6) type [1, 0] in SSA and SIT 2 locks held by syz-executor.0/11887: F2FS-fs (loop1): Inconsistent segment (6) type [1, 0] in SSA and SIT #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 F2FS-fs (loop1): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop0): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop1): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop0): Inconsistent segment (6) type [1, 0] in SSA and SIT #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/11888: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/11889: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/12534: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/12535: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/12538: #0: 00000000046d1862 (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 IPVS: ftp: loaded support on port[0] = 21 #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000003171fb5e (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/12665: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11834 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x50 kernel/kcov.c:106 Code: 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b 8b 90 60 13 00 00 83 fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 <48> 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 RSP: 0018:ffff88804f527268 EFLAGS: 00000046 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90007b2d000 RDX: 000000000003ffff RSI: ffffffff8167adc4 RDI: 0000000000000005 RBP: ffff888050a505b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff888050a50240 R13: ffffffff815159e4 R14: ffff88805105d718 R15: dffffc0000000000 FS: 00007faa0d683700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28755759d8 CR3: 0000000099430000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0x64/0x200 kernel/trace/trace_preemptirq.c:43 rcu_read_unlock_special+0x94/0xfc0 kernel/rcu/tree_plugin.h:487 __rcu_read_unlock+0x158/0x160 kernel/rcu/tree_plugin.h:428 rcu_read_unlock include/linux/rcupdate.h:680 [inline] find_get_entry+0x4d7/0x8a0 mm/filemap.c:1491 pagecache_get_page+0x56/0xd50 mm/filemap.c:1564 find_get_page include/linux/pagemap.h:272 [inline] do_garbage_collect fs/f2fs/gc.c:1081 [inline] f2fs_gc+0x973/0x8c90 fs/f2fs/gc.c:1196 f2fs_balance_fs+0x71a/0xd80 fs/f2fs/segment.c:513 f2fs_create+0x44d/0x930 fs/f2fs/namei.c:307 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/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:0x7faa0f1110c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faa0d683168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007faa0f230f80 RCX: 00007faa0f1110c9 RDX: 000000000000275a RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007faa0f16cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9e6d67df R14: 00007faa0d683300 R15: 0000000000022000 chnl_net:caif_netlink_parms(): no params data found