INFO: task syz.0.17:5948 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:24584 pid:5948 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:0x7f979c78f749
RSP: 002b:00007ffecdf028d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f979c9e5fa0 RCX: 00007f979c78f749
RDX: 0000200000000240 RSI: 0000200000000140 RDI: 0000200000000080
RBP: 00007f979c813f91 R08: 0000000000000002 R09: 0000000000000000
R10: 000000000000fe26 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f979c9e5fa0 R14: 00007f979c9e5fa0 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:2/42:
2 locks held by getty/5531:
#0: ffff88802d7c50a0 (&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/5948:
#0: ffff88802edf8418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f5d1a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f5d1a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88802edf8608 (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/5978:
#0: ffff88807ef8e418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f5d31c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f5d31c8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807ef8e608 (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/6013:
#0: ffff88807d0f8418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f4da248 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f4da248 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88807d0f8608 (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/6044:
#0: ffff88802eae2418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f4db988 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f4db988 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88802eae2608 (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: ffff88805742a418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f5d5888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f5d5888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88805742a608 (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: ffff888053d40418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f4dd888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f4dd888 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888053d40608 (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: ffff88801cbac418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f5d7788 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f5d7788 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff88801cbac608 (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: ffff888050250418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff88805f4df788 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff88805f4df788 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888050250608 (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: ffff888050212418 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:412
#1: ffff888047cc1a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline]
#1: ffff888047cc1a88 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321
#2: ffff888050212608 (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: bat_events batadv_nc_worker
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
RIP: 0010:rcu_is_watching+0x3a/0xb0 kernel/rcu/tree.c:700
Code: e8 8b f2 f7 08 89 c3 83 f8 08 73 60 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 30 8a 7c 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 ac 64 6d 00 48 c7 c3 28 6b 03 00 49 03 1e 48 89
RSP: 0018:ffffc90000b2fb40 EFLAGS: 00000246
RAX: 1ffffffff18f9147 RBX: 0000000000000001 RCX: a7c08d559f8e1900
RDX: ffff88801a641e00 RSI: ffffffff8afc6f60 RDI: ffffffff8afc6f20
RBP: ffff88802c151f80 R08: dffffc0000000000 R09: 1ffffffff21b28a0
R10: dffffc0000000000 R11: fffffbfff21b28a1 R12: dffffc0000000000
R13: ffffffff8a2fc2c2 R14: ffffffff8c7c8a38 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a828726b68 CR3: 000000000cb30000 CR4: 00000000003506e0
Call Trace:
rcu_read_lock include/linux/rcupdate.h:787 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x10c/0x610 net/batman-adv/network-coding.c:719
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