INFO: task kworker/0:1H:93 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-13225-g7163a2111f6c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:26400 pid:93 ppid:2 flags:0x00004000 Workqueue: xfs-log/loop0 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.0:18073 blocked for more than 144 seconds. Not tainted 6.3.0-syzkaller-13225-g7163a2111f6c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23208 pid:18073 ppid:5024 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:0x7fa62da8c169 RSP: 002b:00007fa62e8af168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa62dbabf80 RCX: 00007fa62da8c169 RDX: 0000000020000200 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007fa62dae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea0bd5ccf R14: 00007fa62e8af300 R15: 0000000000022000 INFO: task syz-executor.0:18124 blocked for more than 145 seconds. Not tainted 6.3.0-syzkaller-13225-g7163a2111f6c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25528 pid:18124 ppid:5024 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+0xb4a/0xff0 fs/xfs/xfs_trans.c:1014 xfs_create+0xe5a/0x1240 fs/xfs/xfs_inode.c:1070 xfs_generic_create+0x491/0xd70 fs/xfs/xfs_iops.c:199 lookup_open fs/namei.c:3492 [inline] open_last_lookups fs/namei.c:3560 [inline] path_openat+0x13df/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_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1383 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:0x7fa62da8c169 RSP: 002b:00007fa62e88e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fa62dbac050 RCX: 00007fa62da8c169 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fa62dae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea0bd5ccf R14: 00007fa62e88e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf277f0 (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: ffffffff8cf27bb0 (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: ffffffff8cf27620 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:2/41: 2 locks held by kworker/0:1H/93: #0: ffff8880210a4d38 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900025d7d20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 1 lock held by udevd/4446: 2 locks held by getty/4752: #0: ffff888028ccb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&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/5025: #0: ffff888031d320e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 #1: ffffffff8cf2ccf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cf2ccf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.3/5027: #0: ffff88803a8bc0e0 (&type->s_umount_key#80){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 3 locks held by kworker/0:7/5094: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90004d8fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8cf2ccf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #2: ffffffff8cf2ccf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 2 locks held by kworker/u4:9/6474: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000364fd20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:3/16238: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900043efd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:15/16241: #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 1 lock held by syz-executor.0/18073: #0: ffff88807e58e460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 2 locks held by syz-executor.0/18124: #0: ffff88807e58e460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff88807c0f92b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff88807c0f92b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline] #1: ffff88807c0f92b8 (&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.5/20114: 2 locks held by syz-executor.5/20120: 2 locks held by syz-executor.5/20124: 1 lock held by syz-executor.3/20123: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-13225-g7163a2111f6c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16238 Comm: kworker/1:3 Not tainted 6.3.0-syzkaller-13225-g7163a2111f6c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: events free_obj_work RIP: 0010:unwind_next_frame+0xd4/0x2200 arch/x86/kernel/unwind_orc.c:454 Code: 00 e8 a0 43 22 00 49 8d 5f 50 48 89 d8 48 c1 e8 03 48 89 44 24 40 42 80 3c 30 00 74 08 48 89 df e8 21 97 a6 00 48 89 5c 24 48 <48> 8b 1b 48 85 db 74 26 48 81 c3 88 00 00 00 48 89 d8 48 c1 e8 03 RSP: 0018:ffffc900043ef610 EFLAGS: 00000246 RAX: 1ffff9200087dee6 RBX: ffffc900043ef730 RCX: ffffffff8ab8fa00 RDX: dffffc0000000000 RSI: ffffffff810060df RDI: ffffffff813cccb0 RBP: ffffc900043ef718 R08: 0000000000000008 R09: ffffc900043ef7d0 R10: ffffc900043ef730 R11: dffffc0000000001 R12: ffff88801ff43b80 R13: 1ffff9200087dedc R14: dffffc0000000000 R15: ffffc900043ef6e0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f2aaf45 CR3: 0000000045c41000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:521 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3786 [inline] kmem_cache_free+0x297/0x520 mm/slub.c:3808 free_obj_work+0x4ff/0x6d0 lib/debugobjects.c:331 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