INFO: task kworker/0:1H:93 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-00305-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:25472 pid:93 ppid:2 flags:0x00004000 Workqueue: xfs-log/loop4 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.4:11180 blocked for more than 144 seconds. Not tainted 6.4.0-rc5-syzkaller-00305-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24448 pid:11180 ppid:5038 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_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:0x7f5d09a8c169 RSP: 002b:00007f5d0a861168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5d09babf80 RCX: 00007f5d09a8c169 RDX: 0000000020000080 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007f5d09ae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff990bfc7f R14: 00007f5d0a861300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:0/10: 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/93: #0: ffff888028f8cd38 ((wq_completion)xfs-log/loop4){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90002607d20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by getty/4751: #0: ffff88802d2a2098 (&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 1 lock held by syz-executor.4/11180: #0: ffff888077844460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 6 locks held by syz-executor.0/12817: 5 locks held by syz-executor.2/12819: 3 locks held by syz-executor.2/12826: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996 #2: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x40 include/linux/rcupdate.h:326 4 locks held by syz-executor.1/12820: 5 locks held by syz-executor.3/12821: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc5-syzkaller-00305-g022ce8862dff #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4981 Comm: sshd Not tainted 6.4.0-rc5-syzkaller-00305-g022ce8862dff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__lock_acquire+0x887/0x2070 kernel/locking/lockdep.c:5038 Code: 01 00 00 41 80 3e 02 75 0d 89 d8 89 44 24 40 eb 05 48 8b 6c 24 10 48 ff c5 48 8b 44 24 48 0f b6 04 10 84 c0 0f 85 bf 00 00 00 <48> 8b 04 24 48 63 00 49 83 c7 28 49 83 c4 28 41 ff c5 48 39 c5 0f RSP: 0018:ffffc9000391eec8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816b2219 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff9032a318 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff2065464 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802d0128a8 R13: 0000000000000000 R14: ffffffff900673e0 R15: ffff88802d0128a8 FS: 00007f6c2dab5800(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a7c428000 CR3: 000000002478e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:1011 [inline] debug_check_no_obj_freed+0xd6/0x650 lib/debugobjects.c:1054 free_pages_prepare mm/page_alloc.c:1308 [inline] free_unref_page_prepare+0x241/0xa30 mm/page_alloc.c:2564 free_unref_page+0x37/0x3f0 mm/page_alloc.c:2659 napi_frag_unref include/linux/skbuff.h:3427 [inline] skb_release_data+0x446/0x850 net/core/skbuff.c:942 skb_release_all net/core/skbuff.c:1014 [inline] __kfree_skb+0x57/0x70 net/core/skbuff.c:1028 tcp_clean_rtx_queue net/ipv4/tcp_input.c:3334 [inline] tcp_ack+0x235a/0x6c10 net/ipv4/tcp_input.c:3884 tcp_rcv_established+0x893/0x1f80 net/ipv4/tcp_input.c:6008 tcp_v4_do_rcv+0x6bd/0xb50 net/ipv4/tcp_ipv4.c:1722 sk_backlog_rcv include/net/sock.h:1115 [inline] __release_sock+0x19c/0x4b0 net/core/sock.c:2917 release_sock+0x61/0x1c0 net/core/sock.c:3484 tcp_recvmsg+0x268/0x920 net/ipv4/tcp.c:2676 inet_recvmsg+0x13f/0x250 net/ipv4/af_inet.c:861 sock_recvmsg_nosec net/socket.c:1019 [inline] sock_recvmsg net/socket.c:1040 [inline] sock_read_iter+0x3a8/0x500 net/socket.c:1118 call_read_iter include/linux/fs.h:1862 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x788/0xb00 fs/read_write.c:470 ksys_read+0x1a0/0x2c0 fs/read_write.c:613 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:0x7f6c2d716b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcf5634d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007f6c2d716b6a RDX: 0000000000040000 RSI: 00007f6c2d60e010 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf5634d70 R14: 000055baf494a7a0 R15: 00007ffcf5634de8