INFO: task kworker/1:1H:52 blocked for more than 143 seconds.
Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1H state:D stack:25072 pid:52 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:2408
worker_thread+0xa63/0x1210 kernel/workqueue.c:2555
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.4:4428 blocked for more than 144 seconds.
Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:20864 pid:4428 ppid:5038 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_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:0x7f952468c389
RSP: 002b:00007f95253c1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f95247abf80 RCX: 00007f952468c389
RDX: 0000000020000100 RSI: 0000000041009432 RDI: 0000000000000008
RBP: 00007f95246d7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3e5dfa3f R14: 00007f95253c1300 R15: 0000000000022000
Showing all locks held in the system:
3 locks held by kworker/u4:1/12:
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
4 locks held by kworker/u4:3/46:
#0: ffff8880b983bf98 (&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: ffff8880b983bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#3: ffffe8ffffc8f0c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x199/0x770 kernel/sched/psi.c:946
2 locks held by kworker/1:1H/52:
#0: ffff88802b02a138 ((wq_completion)xfs-log/loop4){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90000bd7d20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by getty/4749:
#0: ffff8880290a6098 (&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
1 lock held by syz-executor.0/5022:
#0: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#0: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:13/5317:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000551fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
1 lock held by syz-executor.4/4428:
#0: ffff888054456460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438
1 lock held by syz-executor.4/4572:
2 locks held by syz-executor.1/7240:
2 locks held by syz-executor.2/7243:
3 locks held by syz-executor.5/7250:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7243 Comm: syz-executor.2 Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:trace_hardirqs_off+0x5/0x40 kernel/trace/trace_preemptirq.c:87
Code: 65 ff 0d 76 7a 71 7e 0f 85 2d ff ff ff e8 23 5a 6e ff e9 23 ff ff ff 0f 0b e9 79 ff ff ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 53 <48> 8b 5c 24 08 48 89 df e8 5e 13 1e 09 65 8b 05 6f 0c 71 7e 85 c0
RSP: 0018:ffffc90005bb7350 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 1ffff92000b76e9e RCX: 0000000000000000
RDX: 0000000000000001 RSI: 1ffff92000b76e8c RDI: ffffc90005bb7510
RBP: ffffc90005bb75b0 R08: dffffc0000000000 R09: fffff94000552ed9
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880829ba000
R13: 0000000000000040 R14: 0000000000000246 R15: dffffc0000000000
FS: 00007f0076298700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f316d5fe718 CR3: 000000002c049000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
consume_stock mm/memcontrol.c:2275 [inline]
try_charge_memcg+0x23d/0x16d0 mm/memcontrol.c:2685
try_charge mm/memcontrol.c:2866 [inline]
charge_memcg+0x11a/0x3f0 mm/memcontrol.c:7021
__mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:7042
mem_cgroup_charge include/linux/memcontrol.h:679 [inline]
shmem_add_to_page_cache+0xaaa/0x1ea0 mm/shmem.c:714
shmem_get_folio_gfp+0x1462/0x3470 mm/shmem.c:1978
shmem_get_folio mm/shmem.c:2079 [inline]
shmem_write_begin+0x172/0x4e0 mm/shmem.c:2573
generic_perform_write+0x300/0x5e0 mm/filemap.c:3929
__generic_file_write_iter+0x17a/0x400 mm/filemap.c:4057
generic_file_write_iter+0xaf/0x310 mm/filemap.c:4089
call_write_iter include/linux/fs.h:1868 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x790/0xb20 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
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:0x7f007543dfff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007f0076297f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f007543dfff
RDX: 0000000001000000 RSI: 00007f006bbff000 RDI: 0000000000000003
RBP: 00007f006bbff000 R08: 0000000000000000 R09: 00000000000095cb
R10: 0000000001000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f0076297fdc R14: 00007f0076297fe0 R15: 00000000200096c2