INFO: task syz.0.15:5041 blocked for more than 143 seconds.
Not tainted 5.15.189-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.15 state:D stack:24640 pid: 5041 ppid: 4782 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x11b8/0x43b0 kernel/sched/core.c:6376
schedule+0x11b/0x1e0 kernel/sched/core.c:6459
xlog_grant_head_wait+0x359/0x810 fs/xfs/xfs_log.c:256
xlog_grant_head_check+0x25e/0x380 include/linux/spinlock.h:-1
xfs_log_reserve+0x32d/0x970 fs/xfs/xfs_log.c:464
xfs_trans_reserve+0x222/0x690 fs/xfs/xfs_trans.c:197
xfs_trans_alloc+0x3fc/0x780 fs/xfs/xfs_trans.c:288
xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
xfs_attr_set+0x778/0x1290 fs/xfs/libxfs/xfs_attr.c:772
xfs_xattr_set+0x115/0x210 fs/xfs/xfs_xattr.c:59
__vfs_setxattr+0x3e0/0x420 fs/xattr.c:182
__vfs_setxattr_noperm+0x129/0x5e0 fs/xattr.c:216
vfs_setxattr+0x168/0x2f0 fs/xattr.c:303
do_setxattr fs/xattr.c:588 [inline]
setxattr+0x2da/0x300 fs/xattr.c:611
path_setxattr+0x142/0x280 fs/xattr.c:630
__do_sys_setxattr fs/xattr.c:646 [inline]
__se_sys_setxattr fs/xattr.c:642 [inline]
__x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f45edf269f9
RSP: 002b:00007f45ed1ad038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f45ee0b4f80 RCX: 00007f45edf269f9
RDX: 0000000020000100 RSI: 0000000020000340 RDI: 0000000020000040
RBP: 00007f45edf948ee R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fc21 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f45ee0b4f80 R15: 00007ffdcc6bb6f8
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3946:
#0: ffff88814c654098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
2 locks held by kworker/1:11/4839:
#0: ffff88805f06a938 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc9000121fd00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
3 locks held by syz.0.15/5041:
#0: ffff888076a6a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff8880627d9980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff8880627d9980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff888076a6a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
2 locks held by syz.0.413/5879:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe0f/0xe50 kernel/hung_task.c:369
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 898 Comm: kworker/u4:3 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: 0x0 (bat_events)
RIP: 0010:__lock_acquire+0x1046/0x7c60 kernel/locking/lockdep.c:5007
Code: 44 89 f3 c1 c3 13 44 29 f1 31 cb 41 01 d6 29 da 41 89 dc 41 c1 c4 04 41 31 d4 48 c7 c0 48 a2 69 8d 48 c1 e8 03 42 0f b6 04 00 <84> c0 0f 85 8c 5a 00 00 41 01 de 83 3d 40 97 0d 0c 00 4c 8b 7c 24
RSP: 0018:ffffc9000401f6a0 EFLAGS: 00000802
RAX: 0000000000000000 RBX: 000000008dbf3a9e RCX: 00000000506e27c3
RDX: 0000000011e3368a RSI: 00000000bb4d2d31 RDI: ffffffff8ffb70d0
RBP: ffffc9000401f8f0 R08: dffffc0000000000 R09: fffffbfff1ff6e1b
R10: fffffbfff1ff6e1b R11: 1ffffffff1ff6e1a R12: 00000000ca109f62
R13: ffff88801faad940 R14: 00000000c34e2ce2 R15: 00000000705a0680
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4f5f6b6000 CR3: 000000001f249000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
do_write_seqcount_begin_nested include/linux/seqlock.h:519 [inline]
do_write_seqcount_begin include/linux/seqlock.h:545 [inline]
psi_group_change+0x113/0x1150 kernel/sched/psi.c:710
psi_task_switch+0x14a/0x810 kernel/sched/psi.c:857
psi_sched_switch kernel/sched/stats.h:148 [inline]
__schedule+0x1cef/0x43b0 kernel/sched/core.c:6371
schedule+0x11b/0x1e0 kernel/sched/core.c:6459
worker_thread+0xf5c/0x12a0 kernel/workqueue.c:2478
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287