INFO: task syz.1.295:5969 blocked for more than 143 seconds.
Not tainted 5.15.182-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.295 state:D stack:21952 pid: 5969 ppid: 4170 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:0x7f6b1c8c1969
RSP: 002b:00007f6b1a729038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007f6b1cae8fa0 RCX: 00007f6b1c8c1969
RDX: 0000200000000040 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007f6b1c943ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6b1cae8fa0 R15: 00007ffda35c8988
INFO: task syz.1.295:6012 blocked for more than 145 seconds.
Not tainted 5.15.182-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.295 state:D stack:28848 pid: 6012 ppid: 4170 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
rwsem_down_write_slowpath+0xc46/0x11f0 kernel/locking/rwsem.c:1165
inode_lock include/linux/fs.h:787 [inline]
vfs_unlink+0xee/0x600 fs/namei.c:4269
do_unlinkat+0x382/0x6f0 fs/namei.c:4348
__do_sys_unlink fs/namei.c:4396 [inline]
__se_sys_unlink fs/namei.c:4394 [inline]
__x64_sys_unlink+0x45/0x50 fs/namei.c:4394
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:0x7f6b1c8c1969
RSP: 002b:00007f6b1a6e7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f6b1cae9160 RCX: 00007f6b1c8c1969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080
RBP: 00007f6b1c943ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6b1cae9160 R15: 00007ffda35c8988
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11bea0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by udevd/3548:
2 locks held by getty/3939:
#0: ffff88802b6ad098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
2 locks held by kworker/1:5/4217:
#0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc900045dfd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
2 locks held by kworker/u4:14/4481:
3 locks held by syz.1.295/5969:
#0: ffff8880555ac460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff8880767a0300 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#1: ffff8880767a0300 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302
#2: ffff8880555ac650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047
3 locks held by syz.1.295/6012:
#0: ffff8880555ac460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
#1: ffff8880767a1980 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline]
#1: ffff8880767a1980 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: do_unlinkat+0x1b9/0x6f0 fs/namei.c:4331
#2: ffff8880767a0300 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#2: ffff8880767a0300 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: vfs_unlink+0xee/0x600 fs/namei.c:4269
3 locks held by kworker/1:20/6433:
#0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc900038ffd00 (key_gc_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
#2: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#2: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845
2 locks held by kworker/0:10/6437:
#0: ffff888062e56d38 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc9000383fd00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
3 locks held by kworker/1:27/6441:
#0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc9000329fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
#2: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#2: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845
2 locks held by syz.8.699/8088:
#0: ffff88802009f518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff8881476a0468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2071
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4278 Comm: kworker/u4:8 Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lock_is_held_type+0x1/0x190 kernel/locking/lockdep.c:5651
Code: c7 03 00 75 d6 48 c7 c7 60 0e 0b 8a 48 c7 c6 a0 0e 0b 8a e8 91 38 f5 ff 0f 0b eb bf e8 98 fd ff ff 0f 1f 84 00 00 00 00 00 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00
RSP: 0018:ffffc90000dd0d10 EFLAGS: 00000002
RAX: ffffffff81679e39 RBX: ffff8880b912a280 RCX: ffff888026478000
RDX: 0000000000010000 RSI: 00000000ffffffff RDI: ffff8880b912a218
RBP: ffffc90000dd0e98 R08: dffffc0000000000 R09: fffffbfff1ad1576
R10: fffffbfff1ad1576 R11: 1ffffffff1ad1575 R12: ffff8880b912a290
R13: 1ffff11017225452 R14: 0000000000000001 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc033300d58 CR3: 000000006725a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:287 [inline]
__run_hrtimer kernel/time/hrtimer.c:1656 [inline]
__hrtimer_run_queues+0x2b0/0xc40 kernel/time/hrtimer.c:1754
hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:rcu_read_lock include/linux/rcupdate.h:740 [inline]
RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
RIP: 0010:batadv_nc_worker+0xd9/0x5c0 net/batman-adv/network-coding.c:723
Code: ad a9 46 f8 4e 8d 2c e5 00 00 00 00 4c 03 6d 00 e8 fc bb ed f7 e8 67 7c 00 00 e8 12 ab 2a 00 89 c5 31 ff 89 c6 e8 b7 39 01 f8 <85> ed 74 10 e8 de 10 ed f7 84 c0 74 0e e8 45 36 01 f8 eb 56 e8 3e
RSP: 0018:ffffc9000477fbe0 EFLAGS: 00000293
RAX: ffffffff897687b9 RBX: dffffc0000000000 RCX: ffff888026478000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff3419
R10: fffffbfff1ff3419 R11: 1ffffffff1ff3418 R12: 0000000000000258
R13: ffff888079b9d2c0 R14: ffff88807b4b8c80 R15: ffff88801e47c0d0
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
vkms_vblank_simulate: vblank timer overrun