INFO: task syz.0.17:5947 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17 state:D stack:24744 pid:5947 ppid:5899 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
schedule+0xbd/0x170 kernel/sched/core.c:6773
xlog_grant_head_wait+0x35c/0x820 fs/xfs/xfs_log.c:307
xlog_grant_head_check+0x25e/0x380 include/linux/spinlock.h:-1
xfs_log_reserve+0x348/0x970 fs/xfs/xfs_log.c:486
xfs_trans_reserve+0x225/0x690 fs/xfs/xfs_trans.c:194
xfs_trans_alloc+0x3df/0x790 fs/xfs/xfs_trans.c:283
xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
xfs_attr_set+0x930/0x13e0 fs/xfs/libxfs/xfs_attr.c:1075
xfs_attr_change fs/xfs/xfs_xattr.c:117 [inline]
xfs_xattr_set+0x119/0x210 fs/xfs/xfs_xattr.c:162
__vfs_setxattr+0x431/0x470 fs/xattr.c:201
__vfs_setxattr_noperm+0x12d/0x5e0 fs/xattr.c:235
vfs_setxattr+0x16c/0x2f0 fs/xattr.c:322
do_setxattr fs/xattr.c:630 [inline]
path_setxattr+0x362/0x550 fs/xattr.c:659
__do_sys_setxattr fs/xattr.c:677 [inline]
__se_sys_setxattr fs/xattr.c:673 [inline]
__x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:673
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f40d598f749
RSP: 002b:00007ffe7fcd1b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f40d5be5fa0 RCX: 00007f40d598f749
RDX: 0000200000000240 RSI: 0000200000000140 RDI: 0000200000000080
RBP: 00007f40d5a13f91 R08: 0000000000000002 R09: 0000000000000000
R10: 000000000000fe26 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f40d5be5fa0 R14: 00007f40d5be5fa0 R15: 0000000000000005
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by kworker/u4:11/3505:
#0: ffff8880b8f3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffffc9000cdb7d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#1: ffffc9000cdb7d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
2 locks held by getty/5529:
#0: ffff88814c7af0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000328b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217
3 locks held by syz.0.17/5947:
#0: ffff88807a3ca418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805e861a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805e861a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807a3ca608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.1.18/5977:
#0: ffff888071684418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805e863988 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805e863988 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888071684608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.2.19/6010:
#0: ffff8880237da418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff888073111a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff888073111a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff8880237da608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.3.20/6043:
#0: ffff8880261c6418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805e865888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805e865888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff8880261c6608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.4.21/6079:
#0: ffff88802cd00418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff888073113988 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff888073113988 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88802cd00608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.5.22/6114:
#0: ffff888052bf0418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805e867788 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805e867788 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888052bf0608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.6.23/6155:
#0: ffff888030a9c418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805ead1a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805ead1a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888030a9c608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.7.24/6190:
#0: ffff88807d1f4418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff888073115888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff888073115888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807d1f4608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
3 locks held by syz.8.25/6225:
#0: ffff88807df10418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff888073116048 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff888073116048 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807df10608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf41/0xf80 kernel/hung_task.c:379
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1097 Comm: kworker/u4:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:preempt_count_sub+0x43/0x160 kernel/sched/core.c:5877
Code: e8 03 0f b6 04 18 84 c0 0f 85 bd 00 00 00 83 3d 82 45 8e 15 00 75 25 65 8b 05 c1 46 a8 7e 89 c1 81 e1 ff ff ff 7f 39 cf 7f 25 <81> ff ff 00 00 00 0f 93 c1 84 c0 0f 95 c0 08 c8 74 53 65 8b 05 9c
RSP: 0018:ffffc900045df560 EFLAGS: 00000297
RAX: 0000000080000002 RBX: dffffc0000000000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8cb9e740 RDI: 0000000000000001
RBP: ffffc900045df698 R08: ffff888023a48000 R09: 0000000000000002
R10: 0000000000000001 R11: 0000000000000000 R12: ffffc900045df648
R13: dffffc0000000000 R14: 0000000000000001 R15: ffffffff8ec77c95
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d4237abb68 CR3: 000000000cb30000 CR4: 00000000003506f0
Call Trace:
unwind_next_frame+0x2227/0x2970 arch/x86/kernel/unwind_orc.c:679
arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:383
kasan_kmalloc include/linux/kasan.h:198 [inline]
__do_kmalloc_node mm/slab_common.c:1007 [inline]
__kmalloc_node_track_caller+0xb2/0x230 mm/slab_common.c:1027
kmalloc_reserve+0x116/0x240 net/core/skbuff.c:584
__alloc_skb+0x138/0x2c0 net/core/skbuff.c:653
alloc_skb include/linux/skbuff.h:1284 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline]
nsim_dev_trap_report_work+0x293/0xb00 drivers/net/netdevsim/dev.c:851
process_one_work kernel/workqueue.c:2634 [inline]
process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293