INFO: task syz.0.17:5942 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:24848 pid:5942 ppid:5893 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:0x7f4b9bd8f749
RSP: 002b:00007fff0aeeca98 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f4b9bfe5fa0 RCX: 00007f4b9bd8f749
RDX: 0000200000000240 RSI: 0000200000000140 RDI: 0000200000000080
RBP: 00007f4b9be13f91 R08: 0000000000000002 R09: 0000000000000000
R10: 000000000000fe26 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4b9bfe5fa0 R14: 00007f4b9bfe5fa0 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 getty/5524:
#0: ffff88802d05b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000326e2f0 (&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/5942:
#0: ffff88802d308418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f8312c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f8312c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88802d308608 (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/5972:
#0: ffff88807ac94418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f892248 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f892248 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807ac94608 (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/6007:
#0: ffff888023922418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f8331c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f8331c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888023922608 (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/6038:
#0: ffff88802ef18418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f894148 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f894148 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88802ef18608 (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/6074:
#0: ffff88807c8ce418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f896048 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f896048 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807c8ce608 (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/6110:
#0: ffff88805615c418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805fac0348 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805fac0348 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88805615c608 (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/6151:
#0: ffff88807ac30418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f834908 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f834908 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807ac30608 (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/6187:
#0: ffff888052efe418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805fac2a08 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805fac2a08 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888052efe608 (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/6223:
#0: ffff888052020418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f8350c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f8350c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888052020608 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xb1/0x340 fs/xfs/xfs_trans.c:1190
=============================================
NMI backtrace for cpu 0
CPU: 0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 42 Comm: kworker/u4:2 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:arch_stack_walk+0x12a/0x190 arch/x86/kernel/stacktrace.c:27
Code: ff 44 89 fe e8 f7 76 53 00 45 85 ff 74 46 4c 8d bd 78 ff ff ff 4c 89 ff e8 13 84 08 00 49 89 c4 31 ff 48 89 c6 e8 66 77 53 00 <4d> 85 e4 74 2c 48 89 df 4c 89 e6 41 ff d6 84 c0 74 26 4c 89 ff e8
RSP: 0018:ffffc90000b2f628 EFLAGS: 00000293
RAX: ffffffff81321d9a RBX: ffffc90000b2f6e0 RCX: ffff8880182b1e00
RDX: 0000000000000000 RSI: ffffffff81004b61 RDI: 0000000000000000
RBP: ffffc90000b2f6b0 R08: ffff8880182b1e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff81004b61
R13: 00000000000000f0 R14: ffffffff81746d20 R15: ffffc90000b2f628
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ebde0ba38 CR3: 000000000cb30000 CR4: 00000000003506e0
Call Trace:
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_slab_alloc+0x6c/0x80 mm/kasan/common.c:328
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767
slab_alloc_node mm/slub.c:3495 [inline]
kmem_cache_alloc_node+0x150/0x330 mm/slub.c:3540
__alloc_skb+0x108/0x2c0 net/core/skbuff.c:643
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