INFO: task kworker/0:1H:52 blocked for more than 143 seconds. Not tainted 6.4.0-rc4-syzkaller-00051-g48b1320a674e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:24408 pid:52 ppid:2 flags:0x00004000 Workqueue: xfs-log/loop2 xlog_ioend_work Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143 ___down_common+0x33e/0x5e0 kernel/locking/semaphore.c:225 __down_common+0x64/0x250 kernel/locking/semaphore.c:246 down+0x84/0xc0 kernel/locking/semaphore.c:63 xfs_buf_lock+0x154/0x4b0 fs/xfs/xfs_buf.c:1119 xfs_buf_item_unpin+0x200/0x720 fs/xfs/xfs_buf_item.c:547 xfs_trans_committed_bulk+0x346/0x830 fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x26d/0xe40 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x159/0x1a0 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x2ba/0x3b0 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x32c/0x390 fs/xfs/xfs_log.c:3837 xlog_ioend_work+0xad/0x100 fs/xfs/xfs_log.c:1429 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.2:19384 blocked for more than 144 seconds. Not tainted 6.4.0-rc4-syzkaller-00051-g48b1320a674e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:19352 pid:19384 ppid:5033 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 xlog_wait+0x16e/0x1e0 fs/xfs/xfs_log_priv.h:617 xlog_wait_on_iclog+0x307/0x4e0 fs/xfs/xfs_log.c:926 xfs_log_force_seq+0x1da/0x450 fs/xfs/xfs_log.c:3409 xfs_fsync_flush_log fs/xfs/xfs_file.c:126 [inline] xfs_file_fsync+0x582/0xa50 fs/xfs/xfs_file.c:178 generic_write_sync include/linux/fs.h:2469 [inline] iomap_dio_complete+0x5fc/0x990 fs/iomap/direct-io.c:128 xfs_file_dio_write_aligned+0x222/0x350 fs/xfs/xfs_file.c:543 xfs_file_dio_write fs/xfs/xfs_file.c:655 [inline] xfs_file_write_iter+0x508/0x620 fs/xfs/xfs_file.c:797 do_iter_write+0x7b1/0xcb0 fs/read_write.c:860 iter_file_splice_write+0x843/0xfe0 fs/splice.c:795 do_splice_from fs/splice.c:873 [inline] direct_splice_actor+0xe7/0x1c0 fs/splice.c:1039 splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:994 do_splice_direct+0x283/0x3d0 fs/splice.c:1082 do_sendfile+0x620/0xff0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f579928c169 RSP: 002b:00007f5799f13168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f57993abf80 RCX: 00007f579928c169 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000008 RBP: 00007f57992e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc994ab2ef R14: 00007f5799f13300 R15: 0000000000022000 INFO: task syz-executor.2:19450 blocked for more than 145 seconds. Not tainted 6.4.0-rc4-syzkaller-00051-g48b1320a674e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27032 pid:19450 ppid:5033 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 xlog_wait+0x16e/0x1e0 fs/xfs/xfs_log_priv.h:617 xlog_force_lsn+0x512/0x770 fs/xfs/xfs_log.c:3340 xfs_log_force_seq+0x1da/0x450 fs/xfs/xfs_log.c:3409 __xfs_trans_commit+0xb4a/0xff0 fs/xfs/xfs_trans.c:1014 xfs_sync_sb_buf+0x14f/0x1e0 fs/xfs/libxfs/xfs_sb.c:1112 xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1801 [inline] xfs_file_ioctl+0x1313/0x16a0 fs/xfs/xfs_ioctl.c:1899 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f579928c169 RSP: 002b:00007f57919fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f57993ac050 RCX: 00007f579928c169 RDX: 00000000200000c0 RSI: 0000000041009432 RDI: 0000000000000006 RBP: 00007f57992e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc994ab2ef R14: 00007f57919fe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf276f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27ab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/0:1H/52: #0: ffff888054d0d538 ((wq_completion)xfs-log/loop2){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90000bd7d20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by getty/4743: #0: ffff88802d68a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 2 locks held by syz-executor.1/5017: #0: ffff88802a65c0e0 (&type->s_umount_key#49){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 #1: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.4/5031: #0: ffff88807e4ee0e0 (&type->s_umount_key#49){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 2 locks held by kworker/1:7/5113: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90003b2fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:11/5873: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000ba47d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:16/5978: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90015467d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 3 locks held by kworker/0:25/7543: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90015547d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992 2 locks held by kworker/0:26/7545: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90015567d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:19/10014: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000329fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:22/20744: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90014bc7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:23/20745: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90014bd7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:24/20746: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90014be7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:34/22974: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900165ffd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:13/12214: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90005f9fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:20/12216: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90006787d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:26/12218: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90006797d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:29/12219: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900067a7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:32/14709: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900162afd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 3 locks held by syz-executor.2/19384: #0: ffff88802cefc460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1253 #1: ffff8880338650b8 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: xfs_ilock+0x10e/0x3a0 fs/xfs/xfs_inode.c:198 #2: ffff888033864e98 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_fsync_flush_log fs/xfs/xfs_file.c:123 [inline] #2: ffff888033864e98 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_file_fsync+0x3f1/0xa50 fs/xfs/xfs_file.c:178 1 lock held by syz-executor.2/19450: #0: ffff88802cefc460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 2 locks held by syz-executor.2/22151: 2 locks held by syz-executor.5/22153: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc4-syzkaller-00051-g48b1320a674e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9866 Comm: kworker/u4:9 Not tainted 6.4.0-rc4-syzkaller-00051-g48b1320a674e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: phy6 ieee80211_iface_work RIP: 0010:arch_irqs_disabled_flags arch/x86/include/asm/irqflags.h:122 [inline] RIP: 0010:lock_acquire+0x1ad/0x520 kernel/locking/lockdep.c:5706 Code: 08 4c 89 ff e8 74 3e 78 00 48 8d 5c 24 60 4c 8b bc 24 80 00 00 00 fa 48 c7 c7 00 9b ea 8a e8 fa 35 44 09 65 ff 05 bb 75 97 7e <45> 31 c9 41 f7 c7 00 02 00 00 41 0f 94 c1 48 8b 7c 24 20 44 89 f6 RSP: 0018:ffffc90016e279a0 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffffc90016e27a00 RCX: ffffffff816b1264 RDX: 0000000000000000 RSI: ffffffff8aea9b00 RDI: ffffffff8b384500 RBP: ffffc90016e27ae8 R08: dffffc0000000000 R09: fffffbfff1cab90e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002dc4f3c R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3aab9fe000 CR3: 0000000041aae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 skb_dequeue+0x2d/0x150 net/core/skbuff.c:3639 ieee80211_iface_work+0xa01/0xd00 net/mac80211/iface.c:1655 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308