INFO: task syz.0.15:5000 blocked for more than 143 seconds.
Not tainted 5.15.184-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.15 state:D stack:24256 pid: 5000 ppid: 4741 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_lsetxattr fs/xattr.c:653 [inline]
__se_sys_lsetxattr fs/xattr.c:649 [inline]
__x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649
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:0x7f9073762ed9
RSP: 002b:00007f90729e1058 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007f9073928fa0 RCX: 00007f9073762ed9
RDX: 0000000020000040 RSI: 00000000200000c0 RDI: 0000000020000100
RBP: 00007f90737d6cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9073928fa0 R15: 00007ffec8ac2de8
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11c060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3938:
#0: ffff88814ccc4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
3 locks held by kworker/0:3/4197:
#0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc90002f1fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
#2: ffff88805dbf4240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x271/0x3240 drivers/net/netdevsim/fib.c:1480
3 locks held by kworker/u4:5/4239:
#0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9027848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x495/0x810 kernel/sched/psi.c:882
#2: ffff8880b9027848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_enqueue kernel/sched/stats.h:102 [inline]
#2: ffff8880b9027848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: enqueue_task+0x26d/0x2b0 kernel/sched/core.c:1973
3 locks held by syz.0.15/5000:
#0: ffff888076b9e460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88806d9a8300 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88806d9a8300 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff888076b9e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.1.16/5025:
#0: ffff888079628460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88806d813000 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88806d813000 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff888079628650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.2.17/5050:
#0: ffff8880247d2460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88806d9a8a80 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88806d9a8a80 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff8880247d2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.3.18/5077:
#0: ffff888076ad2460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88806d9a9200 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88806d9a9200 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff888076ad2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.4.19/5108:
#0: ffff88801fc82460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88806d9a9980 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88806d9a9980 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff88801fc82650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.5.20/5138:
#0: ffff888052e62460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88805b9f1200 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88805b9f1200 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff888052e62650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.6.21/5167:
#0: ffff88802ad3e460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88805b9f3000 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88805b9f3000 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff88802ad3e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.7.22/5202:
#0: ffff88804e4f4460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88805b9f4e00 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88805b9f4e00 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff88804e4f4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.8.23/5232:
#0: ffff8880692d8460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff88805b9f6c00 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff88805b9f6c00 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff8880692d8650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.9.24/5261:
#0: ffff888029fec460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff888041470a80 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff888041470a80 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff888029fec650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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: 155 Comm: kworker/u4:3 Not tainted 5.15.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: phy15 ieee80211_iface_work
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3681 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3701 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3756 [inline]
RIP: 0010:__lock_acquire+0x1411/0x7c60 kernel/locking/lockdep.c:5012
Code: b8 eb 83 b5 80 46 86 c8 61 49 0f af c4 48 c1 e8 2d 48 8d 1c c5 00 b0 b0 8f 48 89 d8 48 c1 e8 03 48 89 44 24 50 42 80 3c 00 00 <74> 12 48 89 df e8 15 39 61 00 49 b8 00 00 00 00 00 fc ff df 48 89
RSP: 0018:ffffc90001f677c0 EFLAGS: 00000046
RAX: 1ffffffff1fbc3a6 RBX: ffffffff8fde1d30 RCX: ffffffff815bfd8d
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9b128
RBP: ffffc90001f67a10 R08: dffffc0000000000 R09: fffffbfff1ff3626
R10: fffffbfff1ff3626 R11: 1ffffffff1ff3625 R12: c8aabadf1141305c
R13: ffff88801b68bb80 R14: 000000001141305c R15: ffff88801b68c6e0
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7b3d368000 CR3: 000000007e27f000 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
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:363 [inline]
kcov_remote_start+0xb0/0x4a0 kernel/kcov.c:858
kcov_remote_start_common include/linux/kcov.h:50 [inline]
ieee80211_iface_work+0x1e8/0xc60 net/mac80211/iface.c:1508
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287