IPVS: ftp: loaded support on port[0] = 21 sock: process `syz-executor.0' is using obsolete setsockopt SO_BSDCOMPAT ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.1:22019 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.1 D25008 22019 8137 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 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 __write_node_page+0x9c1/0x1680 fs/f2fs/node.c:1594 f2fs_fsync_node_pages+0x971/0x1d80 fs/f2fs/node.c:1720 f2fs_do_sync_file+0x15ee/0x2550 fs/f2fs/file.c:281 f2fs_sync_file+0x136/0x190 fs/f2fs/file.c:334 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] f2fs_file_write_iter+0x64b/0xbe0 fs/f2fs/file.c:3044 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4fa2d9d0c9 Code: Bad RIP value. RSP: 002b:00007f4fa130f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f4fa2ebcf80 RCX: 00007f4fa2d9d0c9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007f4fa2df8ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd789e23ef R14: 00007f4fa130f300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:2/51: #0: 00000000ab0d08eb ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000072d88fa5 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000041b9498d (&type->s_umount_key#49){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000007482b7e3 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by khungtaskd/1571: #0: 00000000b6857f90 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 4 locks held by kworker/u4:5/3610: #0: 00000000ab0d08eb ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000003b5fbb1 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000036bcea66 (&type->s_umount_key#49){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000000670fcc0 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by in:imklog/7764: #0: 00000000c5092215 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/u4:7/8845: 2 locks held by syz-executor.1/22019: #0: 00000000168b31e1 (sb_writers#14){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 00000000168b31e1 (sb_writers#14){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 000000007482b7e3 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 2 locks held by syz-executor.1/22112: 2 locks held by syz-executor.0/22687: #0: 00000000a958e95a (sb_writers#14){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 00000000a958e95a (sb_writers#14){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 000000000670fcc0 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 2 locks held by syz-executor.0/22753: 2 locks held by syz-executor.0/23302: #0: 0000000041b9498d (&type->s_umount_key#49){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/23313: #0: 0000000041b9498d (&type->s_umount_key#49){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/23358: #0: 0000000041b9498d (&type->s_umount_key#49){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/23373: #0: 0000000041b9498d (&type->s_umount_key#49){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000008f82696b (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/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: 22753 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:gc_data_segment fs/f2fs/gc.c:929 [inline] RIP: 0010:do_garbage_collect fs/f2fs/gc.c:1109 [inline] RIP: 0010:f2fs_gc+0x1db0/0x8c90 fs/f2fs/gc.c:1196 Code: 83 e2 07 0f b6 04 28 41 d3 e5 38 d0 7f 08 84 c0 0f 85 f2 51 00 00 45 0f be 36 4c 89 c7 e8 88 4c 33 fe 31 ff 45 21 ee 44 89 f6 0b 7d 4b fe 45 85 f6 0f 84 10 06 00 00 e8 8d 7b 4b fe 8b 5c 24 RSP: 0018:ffff8880b513e9e0 EFLAGS: 00000246 RAX: ffff8880abdc8d88 RBX: ffff8880aed18440 RCX: 1ffffffff1a486ec RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffff8880abdc8d88 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000001b R13: 0000000000000002 R14: 0000000000000000 R15: ffff8880427d4d00 FS: 00007f8174c75700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c006961000 CR3: 00000000988b6000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_balance_fs+0x71a/0xd80 fs/f2fs/segment.c:513 __write_data_page+0xab8/0x22d0 fs/f2fs/data.c:1975 f2fs_write_cache_pages+0x96e/0x13e0 fs/f2fs/data.c:2107 __f2fs_write_data_pages fs/f2fs/data.c:2217 [inline] f2fs_write_data_pages+0xcc3/0x1060 fs/f2fs/data.c:2244 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446 file_write_and_wait_range+0x93/0x100 mm/filemap.c:776 f2fs_do_sync_file+0x2eb/0x2550 fs/f2fs/file.c:228 f2fs_sync_file+0x136/0x190 fs/f2fs/file.c:334 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] f2fs_file_write_iter+0x64b/0xbe0 fs/f2fs/file.c:3044 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f817ab240c9 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:00007f8174c75168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f817ac44050 RCX: 00007f817ab240c9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: 00007f817ab7fae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe39af0ddf R14: 00007f8174c75300 R15: 0000000000022000