INFO: task kworker/0:1H:52 blocked for more than 143 seconds. Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:27712 pid:52 ppid:2 flags:0x00004000 Workqueue: xfs-log/loop0 xlog_ioend_work Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 ___down_common+0x2bf/0x430 kernel/locking/semaphore.c:225 __down_common kernel/locking/semaphore.c:246 [inline] __down+0x20/0x30 kernel/locking/semaphore.c:254 down+0x74/0xa0 kernel/locking/semaphore.c:63 xfs_buf_lock+0x125/0x490 fs/xfs/xfs_buf.c:1119 xfs_buf_item_unpin+0x536/0x870 fs/xfs/xfs_buf_item.c:547 xfs_trans_committed_bulk+0x362/0x7c0 fs/xfs/xfs_trans.c:806 xlog_cil_committed+0xd09/0x1090 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x123/0x1f0 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x1e3/0x370 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x1e3/0x3f0 fs/xfs/xfs_log.c:3837 xlog_ioend_work+0xe7/0x110 fs/xfs/xfs_log.c:1429 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2407 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2554 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor260:5007 blocked for more than 143 seconds. Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor260 state:D stack:24808 pid:5007 ppid:5006 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 xlog_wait fs/xfs/xfs_log_priv.h:617 [inline] xlog_wait_on_iclog+0x48f/0x6c0 fs/xfs/xfs_log.c:926 xlog_force_lsn+0x6a6/0x910 fs/xfs/xfs_log.c:3372 xfs_log_force_seq+0x1d5/0x4a0 fs/xfs/xfs_log.c:3409 __xfs_trans_commit+0xb93/0xfa0 fs/xfs/xfs_trans.c:1014 xfs_sync_sb_buf+0x126/0x170 fs/xfs/libxfs/xfs_sb.c:1112 xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1801 [inline] xfs_file_ioctl+0x15ba/0x1c30 fs/xfs/xfs_ioctl.c:1899 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbe6ad722c9 RSP: 002b:00007ffc178fee28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbe6ad722c9 RDX: 0000000020000000 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007fbe6adebec0 R09: 00007fbe6adebec0 R10: 00007fbe6adebec0 R11: 0000000000000246 R12: 00007ffc178fee50 R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c798230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c799140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6559 2 locks held by kworker/0:1H/52: #0: ffff88801678c538 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801678c538 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88801678c538 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff88801678c538 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff88801678c538 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff88801678c538 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378 #1: ffffc90000bd7db0 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382 2 locks held by getty/4759: #0: ffff8880297e8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor260/5007: #0: ffff888020aee460 (sb_writers#9){.+.+}-{0:0}, at: xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1783 [inline] #0: ffff888020aee460 (sb_writers#9){.+.+}-{0:0}, at: xfs_file_ioctl+0x1550/0x1c30 fs/xfs/xfs_ioctl.c:1899 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc2-next-20230515-syzkaller #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+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 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: 46 Comm: kworker/u4:3 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x20/0x70 kernel/kcov.c:207 Code: 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 0d 98 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 bb 03 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 0c 16 00 00 85 c0 74 2b 8b RSP: 0018:ffffc90000b77a18 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffffc90000b77a88 RCX: 0000000000000000 RDX: ffff8880156c1dc0 RSI: ffffffff8a06377f RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 000000000000000f R14: dffffc0000000000 R15: 1ffff9200016ef4b FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564364982680 CR3: 000000000c571000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insn_complete arch/x86/lib/insn.c:721 [inline] insn_decode+0x1cf/0x3b0 arch/x86/lib/insn.c:751 text_poke_loc_init+0xbc/0x4d0 arch/x86/kernel/alternative.c:2229 arch_jump_label_transform_queue+0x98/0x100 arch/x86/kernel/jump_label.c:138 __jump_label_update+0x12e/0x410 kernel/jump_label.c:475 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x156/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:836 [inline] toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:823 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2407 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2554 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.434 msecs