INFO: task syz.0.286:6970 blocked for more than 143 seconds.
Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.286 state:D stack:19024 pid:6970 tgid:6969 ppid:5829 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x1850/0x4c30 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
xlog_grant_head_wait+0x43b/0xa80 fs/xfs/xfs_log.c:266
xlog_grant_head_check+0x342/0x4f0
xfs_log_reserve+0x337/0x8c0 fs/xfs/xfs_log.c:436
xfs_trans_reserve+0x20a/0x640 fs/xfs/xfs_trans.c:197
xfs_trans_alloc+0x40e/0x830 fs/xfs/xfs_trans.c:286
xfs_free_eofblocks+0x1eb/0x4b0 fs/xfs/xfs_bmap_util.c:591
xfs_file_release+0x32a/0x3b0 fs/xfs/xfs_file.c:1362
__fput+0x23e/0xa50 fs/file_table.c:450
task_work_run+0x251/0x310 kernel/task_work.c:239
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f81bb985d29
RSP: 002b:00007f81bc824038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f81bbb75fa0 RCX: 00007f81bb985d29
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000
RBP: 00007f81bba01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f81bbb75fa0 R15: 00007fff749bea98
INFO: task syz.0.286:7020 blocked for more than 144 seconds.
Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.286 state:D stack:23888 pid:7020 tgid:6969 ppid:5829 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x1850/0x4c30 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
xlog_grant_head_wait+0x43b/0xa80 fs/xfs/xfs_log.c:266
xlog_grant_head_check+0x342/0x4f0
xfs_log_reserve+0x337/0x8c0 fs/xfs/xfs_log.c:436
xfs_trans_reserve+0x20a/0x640 fs/xfs/xfs_trans.c:197
xfs_trans_alloc+0x40e/0x830 fs/xfs/xfs_trans.c:286
xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1098
xfs_attr_set+0x8a8/0x1420 fs/xfs/libxfs/xfs_attr.c:1100
xfs_xattr_set+0x1ff/0x350 fs/xfs/xfs_xattr.c:186
__vfs_setxattr+0x46a/0x4a0 fs/xattr.c:200
__vfs_setxattr_noperm+0x12e/0x660 fs/xattr.c:234
vfs_setxattr+0x221/0x430 fs/xattr.c:321
do_setxattr fs/xattr.c:636 [inline]
filename_setxattr+0x2af/0x430 fs/xattr.c:665
path_setxattrat+0x440/0x510 fs/xattr.c:713
__do_sys_lsetxattr fs/xattr.c:754 [inline]
__se_sys_lsetxattr fs/xattr.c:750 [inline]
__x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f81bb985d29
RSP: 002b:00007f81bc803038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007f81bbb76080 RCX: 00007f81bb985d29
RDX: 0000000020000040 RSI: 00000000200000c0 RDI: 0000000020000100
RBP: 00007f81bba01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f81bbb76080 R15: 00007fff749bea98
INFO: task syz.0.286:7021 blocked for more than 145 seconds.
Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.286 state:D stack:26616 pid:7021 tgid:6969 ppid:5829 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x1850/0x4c30 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
xlog_grant_head_wait+0x43b/0xa80 fs/xfs/xfs_log.c:266
xlog_grant_head_check+0x342/0x4f0
xfs_log_reserve+0x337/0x8c0 fs/xfs/xfs_log.c:436
xfs_trans_reserve+0x20a/0x640 fs/xfs/xfs_trans.c:197
xfs_trans_alloc+0x40e/0x830 fs/xfs/xfs_trans.c:286
xfs_rename+0xb20/0x1e70 fs/xfs/xfs_inode.c:2179
xfs_vn_rename+0x388/0x4e0 fs/xfs/xfs_iops.c:500
vfs_rename+0xbdd/0xf00 fs/namei.c:5067
do_renameat2+0xd94/0x13f0 fs/namei.c:5224
__do_sys_rename fs/namei.c:5271 [inline]
__se_sys_rename fs/namei.c:5269 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5269
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f81bb985d29
RSP: 002b:00007f81bc7e2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f81bbb76160 RCX: 00007f81bb985d29
RDX: 0000000000000000 RSI: 0000000020000f40 RDI: 0000000020000240
RBP: 00007f81bba01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f81bbb76160 R15: 00007fff749bea98
Showing all locks held in the system:
2 locks held by kworker/0:0/8:
#0: ffff888028b07148 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff888028b07148 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc900000d7d00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900000d7d00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
1 lock held by khungtaskd/30:
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
2 locks held by getty/5588:
#0: ffff88803153b0a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/5816:
#0: ffff8880b873e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
1 lock held by syz-executor/5836:
2 locks held by syz.0.286/6970:
#0: ffff8880568b0af0 (&sb->s_type->i_mutex_key#27){+.+.}-{4:4}, at: xfs_ilock_nowait+0xf4/0x540 fs/xfs/xfs_inode.c:192
#1: ffff88805fac6610 (sb_internal#2){.+.+}-{0:0}, at: xfs_free_eofblocks+0x1eb/0x4b0 fs/xfs/xfs_bmap_util.c:591
3 locks held by syz.0.286/7020:
#0: ffff88805fac6420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff8880568b0330 (&sb->s_type->i_mutex_key#27){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#1: ffff8880568b0330 (&sb->s_type->i_mutex_key#27){+.+.}-{4:4}, at: vfs_setxattr+0x1e1/0x430 fs/xattr.c:320
#2: ffff88805fac6610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x1ac/0x5d0 fs/xfs/xfs_trans.c:1098
4 locks held by syz.0.286/7021:
#0: ffff88805fac6420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff888078370330 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline]
#1: ffff888078370330 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3215 [inline]
#1: ffff888078370330 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{4:4}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:5159
#2: ffff888078371a70 (&sb->s_type->i_mutex_key#27/4){+.+.}-{4:4}, at: vfs_rename+0x6a2/0xf00 fs/namei.c:5038
#3: ffff88805fac6610 (sb_internal#2){.+.+}-{0:0}, at: xfs_rename+0xb20/0x1e70 fs/xfs/xfs_inode.c:2179
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 7547 Comm: kworker/u8:12 Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:mark_usage kernel/locking/lockdep.c:4661 [inline]
RIP: 0010:__lock_acquire+0x1196/0x2100 kernel/locking/lockdep.c:5180
Code: 31 f6 e9 b0 02 00 00 ba 02 00 00 00 e8 53 60 00 00 45 31 f6 85 c0 0f 84 9b 02 00 00 49 8d 9d c0 0a 00 00 48 89 d8 48 c1 e8 03 <48> b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 0f 85 05 0d 00 00
RSP: 0018:ffffc9000b8bf850 EFLAGS: 00000012
RAX: 1ffff110066f8158 RBX: ffff8880337c0ac0 RCX: ffffffff817b274a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942a4968
RBP: ffff8880337c0b30 R08: ffffffff942a496f R09: 1ffffffff285492d
R10: dffffc0000000000 R11: fffffbfff285492e R12: ffff8880337c0ac4
R13: ffff8880337c0000 R14: 0000000000000000 R15: ffff8880337c0b50
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa613b48178 CR3: 0000000011a72000 CR4: 0000000000350ef0
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:356 [inline]
batadv_nc_purge_paths+0xe8/0x3b0 net/batman-adv/network-coding.c:442
batadv_nc_worker+0x328/0x610 net/batman-adv/network-coding.c:720
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244