INFO: task kworker/0:1H:1077 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:25824 pid:1077 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+0x1cd/0x6c0 fs/xfs/xfs_buf_item.c:581 xfs_trans_committed_bulk+0x346/0x830 fs/xfs/xfs_trans.c:808 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:28788 blocked for more than 144 seconds. Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23200 pid:28788 ppid:5031 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_trans_commit+0xb38/0x11d0 fs/xfs/xfs_trans.c:1021 xfs_trans_roll+0x145/0x4b0 fs/xfs/xfs_trans.c:1160 xfs_defer_trans_roll+0x19e/0x5e0 fs/xfs/libxfs/xfs_defer.c:366 xfs_defer_finish_noroll+0x47c/0x2060 fs/xfs/libxfs/xfs_defer.c:553 __xfs_trans_commit+0x88b/0x11d0 fs/xfs/xfs_trans.c:972 xfs_finish_rename fs/xfs/xfs_inode.c:2582 [inline] xfs_rename+0x1ea3/0x21d0 fs/xfs/xfs_inode.c:3070 xfs_vn_rename+0x388/0x4d0 fs/xfs/xfs_iops.c:474 vfs_rename+0xb1b/0xfa0 fs/namei.c:4849 do_renameat2+0xd78/0x1660 fs/namei.c:5002 __do_sys_rename fs/namei.c:5048 [inline] __se_sys_rename fs/namei.c:5046 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5046 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:0x7fbfa4a8c389 RSP: 002b:00007fbfa579c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fbfa4babf80 RCX: 00007fbfa4a8c389 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000020000200 RBP: 00007fbfa4ad7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3d93091f R14: 00007fbfa579c300 R15: 0000000000022000 INFO: task syz-executor.2:28851 blocked for more than 145 seconds. Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:20192 pid:28851 ppid:5031 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_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+0xb38/0x11d0 fs/xfs/xfs_trans.c:1021 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:0x7fbfa4a8c389 RSP: 002b:00007fbfa577b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbfa4bac050 RCX: 00007fbfa4a8c389 RDX: 0000000020000280 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007fbfa4ad7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3d93091f R14: 00007fbfa577b300 R15: 0000000000022000 INFO: task syz-executor.2:28853 blocked for more than 146 seconds. Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27960 pid:28853 ppid:5031 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 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:775 [inline] open_last_lookups fs/namei.c:3557 [inline] path_openat+0x7ba/0x3170 fs/namei.c:3788 do_filp_open+0x234/0x490 fs/namei.c:3818 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_creat fs/open.c:1448 [inline] __se_sys_creat fs/open.c:1442 [inline] __x64_sys_creat+0x123/0x160 fs/open.c:1442 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:0x7fbfa4a8c389 RSP: 002b:00007fbfa575a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fbfa4bac120 RCX: 00007fbfa4a8c389 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007fbfa4ad7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3d93091f R14: 00007fbfa575a300 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 3 locks held by kworker/1:1/26: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90000a1fd20 ((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 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:5/1002: #0: ffff8880b993c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996 #2: ffff8880b99295d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999 2 locks held by kworker/0:1H/1077: #0: ffff88807b99e138 ((wq_completion)xfs-log/loop2){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000561fd20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by getty/4749: #0: ffff88802d011098 (&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.5/5032: #0: ffff88802a36c0e0 (&type->s_umount_key#71){++++}-{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 2 locks held by kworker/1:13/5306: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90005a1fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 3 locks held by syz-executor.2/28788: #0: ffff88802c744460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888074a76038 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff888074a76038 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline] #1: ffff888074a76038 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: do_renameat2+0x615/0x1660 fs/namei.c:4941 #2: ffff88802c744650 (sb_internal#3){.+.+}-{0:0}, at: xfs_rename+0x46b/0x21d0 fs/xfs/xfs_inode.c:2792 1 lock held by syz-executor.2/28851: #0: ffff88802c744460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 2 locks held by syz-executor.2/28853: #0: ffff88802c744460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888074a76038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff888074a76038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline] #1: ffff888074a76038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788 2 locks held by syz-executor.2/31324: 3 locks held by syz-executor.3/31328: 7 locks held by syz-executor.1/31330: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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: 31328 Comm: syz-executor.3 Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:delay_tsc+0x5c/0xd0 arch/x86/lib/delay.c:79 Code: 90 48 89 d5 48 c1 e5 20 48 09 c5 48 29 dd 4c 39 f5 73 67 bf 01 00 00 00 e8 41 20 b2 f6 65 8b 05 42 d9 56 75 85 c0 74 2f f3 90 01 00 00 00 e8 aa 1e b2 f6 e8 85 17 03 00 41 39 c7 75 20 0f 01 RSP: 0018:ffffc90017efef18 EFLAGS: 00000002 RAX: 0000000000000002 RBX: 000002c9232f7ca6 RCX: 0000000000000003 RDX: 00000000000002c9 RSI: ffffffff8b384940 RDI: 0000000000000001 RBP: 0000000000000350 R08: ffffffff84bc4932 R09: ffffed1003d7a047 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000002702 R14: 0000000000000899 R15: 0000000000000000 FS: 00007fd6ce2a3700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e82885000 CR3: 000000002829e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wait_for_lsr drivers/tty/serial/8250/8250_port.c:2116 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3381 [inline] serial8250_console_write+0x10c6/0x1820 drivers/tty/serial/8250/8250_port.c:3459 console_emit_next_record kernel/printk/printk.c:2877 [inline] console_flush_all+0x75e/0xd70 kernel/printk/printk.c:2933 console_unlock+0xff/0x270 kernel/printk/printk.c:3007 vprintk_emit+0xd5/0x1f0 kernel/printk/printk.c:2307 _printk+0xd5/0x120 kernel/printk/printk.c:2328 _btrfs_printk+0x529/0x5d0 fs/btrfs/messages.c:247 device_list_add+0x1b1b/0x1f70 fs/btrfs/volumes.c:933 btrfs_scan_one_device+0x433/0x6c0 fs/btrfs/volumes.c:1397 btrfs_mount_root+0x4b8/0x940 fs/btrfs/super.c:1486 legacy_get_tree+0xef/0x190 fs/fs_context.c:610 vfs_get_tree+0x8c/0x270 fs/super.c:1510 fc_mount fs/namespace.c:1035 [inline] vfs_kern_mount+0xbc/0x150 fs/namespace.c:1065 btrfs_mount+0x39f/0xb50 fs/btrfs/super.c:1584 legacy_get_tree+0xef/0x190 fs/fs_context.c:610 vfs_get_tree+0x8c/0x270 fs/super.c:1510 do_new_mount+0x28f/0xae0 fs/namespace.c:3039 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568 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:0x7fd6cd48d8ba Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fd6ce2a2f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000559d RCX: 00007fd6cd48d8ba RDX: 00000000200055c0 RSI: 0000000020005600 RDI: 00007fd6ce2a2fe0 RBP: 00007fd6ce2a3020 R08: 00007fd6ce2a3020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200055c0 R13: 0000000020005600 R14: 00007fd6ce2a2fe0 R15: 0000000020000440