INFO: task syz.0.16:6665 blocked for more than 143 seconds.
Not tainted 6.16.0-next-20250804-syzkaller-g5c5a10f0be96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.16 state:D stack:25096 pid:6665 tgid:6664 ppid:6529 task_flags:0x440140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7058
xlog_grant_head_wait+0x453/0xa20 fs/xfs/xfs_log.c:267
xlog_grant_head_check+0x286/0x420 fs/xfs/xfs_log.c:-1
xfs_log_reserve+0x2cc/0x780 fs/xfs/xfs_log.c:437
xfs_trans_reserve fs/xfs/xfs_trans.c:176 [inline]
xfs_trans_alloc+0x29c/0x980 fs/xfs/xfs_trans.c:258
xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1075
xfs_attr_set+0x7fa/0x1210 fs/xfs/libxfs/xfs_attr.c:1098
xfs_xattr_set+0x14d/0x250 fs/xfs/xfs_xattr.c:186
__vfs_setxattr+0x43c/0x480 fs/xattr.c:200
__vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:234
vfs_setxattr+0x16b/0x2f0 fs/xattr.c:321
do_setxattr fs/xattr.c:636 [inline]
filename_setxattr+0x274/0x600 fs/xattr.c:665
path_setxattrat+0x364/0x3a0 fs/xattr.c:713
__do_sys_setxattr fs/xattr.c:747 [inline]
__se_sys_setxattr fs/xattr.c:743 [inline]
__x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5736f85d29
RSP: 002b:00007f5737de9038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f5737175fa0 RCX: 00007f5736f85d29
RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00000000200000c0
RBP: 00007f5737001b08 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000feeb R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5737175fa0 R15: 00007fff357e6bc8
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5631:
#0: ffff888033f4a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
3 locks held by syz.0.16/6665:
#0: ffff8880235c6428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888070290330 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff888070290330 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff8880235c6618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.1.17/6854:
#0: ffff888059444428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888070292230 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff888070292230 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888059444618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.2.18/6884:
#0: ffff88807d256428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888070294130 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff888070294130 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff88807d256618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.3.19/6921:
#0: ffff888024a74428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88805d039a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff88805d039a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888024a74618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.4.20/6957:
#0: ffff888032dd6428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888070297770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff888070297770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888032dd6618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.5.21/6993:
#0: ffff888050d0e428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88805d03a230 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff88805d03a230 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888050d0e618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.6.22/7030:
#0: ffff888025306428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88805d03c130 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff88805d03c130 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888025306618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.7.23/7072:
#0: ffff88804d208428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff888059b3b1b0 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff888059b3b1b0 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff88804d208618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz.8.24/7110:
#0: ffff888079918428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88805d03e030 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff88805d03e030 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff888079918618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0x12b/0x980 fs/xfs/xfs_trans.c:257
3 locks held by syz-executor/7121:
#0: ffffffff8eca8b60 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8eca8b60 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8eca8b60 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570
#1: ffffffff8f5386c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#1: ffffffff8f5386c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
#1: ffffffff8f5386c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4056
#2: ffffffff8e13f9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
#2: ffffffff8e13f9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-next-20250804-syzkaller-g5c5a10f0be96 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
watchdog+0xf60/0xfa0 kernel/hung_task.c:495
kthread+0x70e/0x8a0 kernel/kthread.c:463
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 36 Comm: kworker/u8:2 Not tainted 6.16.0-next-20250804-syzkaller-g5c5a10f0be96 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline]
RIP: 0010:lock_release+0x44/0x3e0 kernel/locking/lockdep.c:5879
Code: 8b 05 20 23 03 11 48 89 44 24 28 0f 1f 44 00 00 65 8b 05 23 23 03 11 83 f8 08 0f 83 9a 02 00 00 89 c0 48 0f a3 05 0c 1b 06 0e <73> 16 e8 45 f1 08 00 84 c0 75 0d f6 05 9f 00 f0 0d 01 0f 84 ad 02
RSP: 0018:ffffc90000ac79b8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888076998e80 RCX: ffff88801d6f1e00
RDX: 0000000000000000 RSI: ffffffff8b47f142 RDI: ffffffff8e139f20
RBP: fffffffffffffe38 R08: 0000000000000000 R09: ffffffff8b47f142
R10: dffffc0000000000 R11: ffffffff8b47f070 R12: dffffc0000000000
R13: ffffffff8b47f142 R14: ffffffff8e139f20 R15: 00000000000000b8
FS: 0000000000000000(0000) GS:ffff888125c17000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc371ea7d60 CR3: 00000000719ec000 CR4: 00000000003526f0
Call Trace:
rcu_lock_release include/linux/rcupdate.h:341 [inline]
rcu_read_unlock include/linux/rcupdate.h:871 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x28c/0x610 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 kernel/kthread.c:463
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245