INFO: task syz-executor.2:21465 blocked for more than 146 seconds. Not tainted 6.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23728 pid:21465 ppid:5087 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 rwsem_down_write_slowpath+0x53d/0x12a0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d3/0x200 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:802 [inline] f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline] __f2fs_ioctl+0x1de2/0x9a90 fs/f2fs/file.c:4224 f2fs_ioctl+0x192/0x220 fs/f2fs/file.c:4312 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f162a47cae9 RSP: 002b:00007f162b1d50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f162a59bf80 RCX: 00007f162a47cae9 RDX: 0000000000008301 RSI: 000000000000f502 RDI: 0000000000000005 RBP: 00007f162a4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f162a59bf80 R15: 00007ffc443607a8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4793: #0: ffff88814a61d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 4 locks held by syz-executor.4/5079: 4 locks held by kworker/u4:0/12387: #0: ffff888018243538 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90015d97d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff8880381080e0 (&type->s_umount_key#106){++++}-{3:3}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:607 #3: ffff88802561d2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2132 [inline] #3: ffff88802561d2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x553/0x750 fs/f2fs/segment.c:437 2 locks held by kworker/u4:8/12529: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90015b57d80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 3 locks held by kworker/0:1/19805: #0: ffff888012c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc9001653fd80 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8cbb6a40 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4001 2 locks held by kworker/0:2/19807: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc900163dfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 2 locks held by syz-executor.2/21465: #0: ffff888038108410 (sb_writers#28){.+.+}-{0:0}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2166 [inline] #0: ffff888038108410 (sb_writers#28){.+.+}-{0:0}, at: __f2fs_ioctl+0x1d5d/0x9a90 fs/f2fs/file.c:4224 #1: ffff88803f6c0150 (&sb->s_type->i_mutex_key#45){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88803f6c0150 (&sb->s_type->i_mutex_key#45){+.+.}-{3:3}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline] #1: ffff88803f6c0150 (&sb->s_type->i_mutex_key#45){+.+.}-{3:3}, at: __f2fs_ioctl+0x1de2/0x9a90 fs/f2fs/file.c:4224 7 locks held by syz-executor.2/21494: 3 locks held by kworker/u4:3/22287: #0: ffff888012c73d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90004c77d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8cbb6a40 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4001 1 lock held by syz-executor.0/22713: #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x36f/0xdf0 net/core/rtnetlink.c:6441 1 lock held by syz-executor.0/22715: #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x36f/0xdf0 net/core/rtnetlink.c:6441 2 locks held by syz-executor.1/22711: #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x36f/0xdf0 net/core/rtnetlink.c:6441 #1: ffffffff8cbb6b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cbb6b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.1/22714: #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x36f/0xdf0 net/core/rtnetlink.c:6441 1 lock held by dhcpcd/22723: #0: ffff888020370130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1722 [inline] #0: ffff888020370130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2c/0xf40 net/packet/af_packet.c:3208 1 lock held by dhcpcd/22725: #0: ffff888020372130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1722 [inline] #0: ffff888020372130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2c/0xf40 net/packet/af_packet.c:3208 1 lock held by dhcpcd/22726: #0: ffff888020374130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1722 [inline] #0: ffff888020374130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2c/0xf40 net/packet/af_packet.c:3208 1 lock held by dhcpcd/22727: #0: ffff888077030130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1722 [inline] #0: ffff888077030130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2c/0xf40 net/packet/af_packet.c:3208 2 locks held by syz-executor.3/22729: 1 lock held by syz-executor.2/22732: #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e602868 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x36f/0xdf0 net/core/rtnetlink.c:6441 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22737 Comm: syz-executor.0 Not tainted 6.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0033:0x7f4b57e38613 Code: 1f 84 00 00 00 00 00 48 8b 70 f8 48 83 e8 08 48 39 f2 72 f3 48 39 c3 73 3e 48 89 33 48 83 c3 08 48 8b 70 f8 48 89 08 48 8b 0b <49> 8b 14 24 eb bf 48 39 f2 72 97 48 39 f0 73 46 49 89 34 24 48 89 RSP: 002b:00007ffc5e1f21c0 EFLAGS: 00000212 RAX: 00007f4b576049e0 RBX: 00007f4b57603d40 RCX: ffffffff813a3b62 RDX: ffffffff813a3b83 RSI: ffffffff813a3b83 RDI: 00007f4b57604a20 RBP: 00007f4b57603cc0 R08: 00007f4b57604368 R09: 0000000000000281 R10: 000000008173761f R11: 0000000000000246 R12: 00007f4b57603cb8 R13: 0000000000000015 R14: 00007f4b57f90000 R15: 00007f4b57f9c0e8 FS: 000055555697b480 GS: 0000000000000000