INFO: task kworker/1:3:5835 blocked for more than 144 seconds.
Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:3 state:D stack:24200 pid:5835 tgid:5835 ppid:2 task_flags:0x4248060 flags:0x00004000
Workqueue: xfs-conv/loop5 xfs_end_io
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1694
xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1102
xfs_iomap_write_unwritten+0x312/0xa70 fs/xfs/xfs_iomap.c:650
xfs_end_ioend+0x31f/0x690 fs/xfs/xfs_aops.c:159
xfs_end_io+0x253/0x2d0 fs/xfs/xfs_aops.c:205
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17a0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4e/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
INFO: task syz.5.51:6184 blocked for more than 145 seconds.
Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.51 state:D stack:22856 pid:6184 tgid:6137 ppid:5838 task_flags:0x400040 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
io_schedule+0x81/0xe0 kernel/sched/core.c:7742
folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317
folio_wait_writeback+0xb0/0x100 mm/page-writeback.c:3149
__filemap_fdatawait_range+0x147/0x230 mm/filemap.c:539
file_write_and_wait_range+0x275/0x330 mm/filemap.c:798
xfs_file_fsync+0x1a3/0xa30 fs/xfs/xfs_file.c:140
generic_write_sync include/linux/fs.h:2976 [inline]
xfs_file_buffered_write+0x713/0x890 fs/xfs/xfs_file.c:947
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x54b/0xa90 fs/read_write.c:684
ksys_write+0x145/0x250 fs/read_write.c:736
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc6e1b8e969
RSP: 002b:00007fc6e29a0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc6e1db6080 RCX: 00007fc6e1b8e969
RDX: 0000000000000009 RSI: 00002000000001c0 RDI: 0000000000000005
RBP: 00007fc6e1c10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc6e1db6080 R15: 00007ffe848ca908
</TASK>
INFO: task syz.5.51:6187 blocked for more than 146 seconds.
Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.51 state:D stack:25384 pid:6187 tgid:6137 ppid:5838 task_flags:0x440040 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
___down_common kernel/locking/semaphore.c:229 [inline]
__down_common+0x319/0x6a0 kernel/locking/semaphore.c:250
down+0x80/0xd0 kernel/locking/semaphore.c:64
xfs_buf_lock+0x15d/0x4d0 fs/xfs/xfs_buf.c:996
xfs_buf_find_lock+0x42/0x4c0 fs/xfs/xfs_buf.c:422
xfs_buf_lookup fs/xfs/xfs_buf.c:475 [inline]
xfs_buf_get_map+0x10b7/0x1860 fs/xfs/xfs_buf.c:597
xfs_buf_read_map+0x82/0xa50 fs/xfs/xfs_buf.c:702
xfs_trans_read_buf_map+0x1d7/0x8e0 fs/xfs/xfs_trans_buf.c:304
xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline]
xfs_read_agf+0x281/0x5c0 fs/xfs/libxfs/xfs_alloc.c:3376
xfs_alloc_read_agf+0x17c/0xb70 fs/xfs/libxfs/xfs_alloc.c:3411
xfs_alloc_fix_freelist+0x60a/0x1300 fs/xfs/libxfs/xfs_alloc.c:2875
xfs_alloc_vextent_prepare_ag+0xdb/0x610 fs/xfs/libxfs/xfs_alloc.c:3541
xfs_alloc_vextent_iterate_ags+0x140/0x940 fs/xfs/libxfs/xfs_alloc.c:3725
xfs_alloc_vextent_start_ag+0x388/0x850 fs/xfs/libxfs/xfs_alloc.c:3814
xfs_bmap_btalloc_best_length fs/xfs/libxfs/xfs_bmap.c:3622 [inline]
xfs_bmap_btalloc fs/xfs/libxfs/xfs_bmap.c:3667 [inline]
xfs_bmapi_allocate+0x16f5/0x2c50 fs/xfs/libxfs/xfs_bmap.c:3942
xfs_bmapi_write+0x7df/0x1260 fs/xfs/libxfs/xfs_bmap.c:4271
xfs_alloc_file_space+0x522/0x9d0 fs/xfs/xfs_bmap_util.c:750
xfs_falloc_allocate_range fs/xfs/xfs_file.c:1262 [inline]
__xfs_file_fallocate+0xf9f/0x1610 fs/xfs/xfs_file.c:1321
xfs_file_fallocate+0x262/0x310 fs/xfs/xfs_file.c:1381
vfs_fallocate+0x6a3/0x830 fs/open.c:338
ksys_fallocate fs/open.c:362 [inline]
__do_sys_fallocate fs/open.c:367 [inline]
__se_sys_fallocate fs/open.c:365 [inline]
__x64_sys_fallocate+0xc0/0x110 fs/open.c:365
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc6e1b8e969
RSP: 002b:00007fc6e297f038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007fc6e1db6160 RCX: 00007fc6e1b8e969
RDX: 000000000000b7d4 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007fc6e1c10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000001001f0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fc6e1db6160 R15: 00007ffe848ca908
</TASK>
Showing all locks held in the system:
4 locks held by kworker/u8:1/13:
#0: ffff88801aef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801aef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffffc90000127c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90000127c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
#2: ffffffff8f2e7c90 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x145/0xbd0 net/core/net_namespace.c:608
#3: ffffffff8f2f47c8 (rtnl_mutex){+.+.}-{4:4}, at: wiphy_unregister+0x244/0xae0 net/wireless/core.c:1138
1 lock held by khungtaskd/31:
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764
2 locks held by dhcpcd/5487:
#0: ffff8880295216d0 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xfe/0x7e0 net/netlink/af_netlink.c:2388
#1: ffffffff8f2f47c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#1: ffffffff8f2f47c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200 net/core/rtnetlink.c:6823
2 locks held by getty/5583:
#0: ffff888030f2c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000333b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
4 locks held by kworker/1:3/5835:
#0: ffff888058d2fd48 ((wq_completion)xfs-conv/loop5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888058d2fd48 ((wq_completion)xfs-conv/loop5){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffffc9000422fc60 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000422fc60 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
#2: ffff88807f808610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1096
#3: ffff88807a3d9858 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1102
4 locks held by syz.5.51/6138:
#0: ffff88807f808420 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556
#1: ffff8880597f9a70 (&sb->s_type->i_mutex_key#24){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff8880597f9a70 (&sb->s_type->i_mutex_key#24){+.+.}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320
#2: ffff88807f808610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1096
#3: ffff8880597f9858 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1102
2 locks held by syz.5.51/6184:
#0: ffff888026e6e9b8 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x247/0x320 fs/file.c:1213
#1: ffff88807f808420 (sb_writers#18){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#1: ffff88807f808420 (sb_writers#18){.+.+}-{0:0}, at: vfs_write+0x211/0xa90 fs/read_write.c:680
5 locks held by syz.5.51/6187:
#0: ffff88807f808420 (sb_writers#18){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline]
#0: ffff88807f808420 (sb_writers#18){.+.+}-{0:0}, at: vfs_fallocate+0x62a/0x830 fs/open.c:337
#1: ffff88807a3d9a70 (&sb->s_type->i_mutex_key#24){+.+.}-{4:4}, at: xfs_ilock+0xfe/0x390 fs/xfs/xfs_inode.c:149
#2: ffff88807a3d9c10 (mapping.invalidate_lock#3){+.+.}-{4:4}, at: xfs_ilock+0x17c/0x390 fs/xfs/xfs_inode.c:157
#3: ffff88807f808610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1096
#4: ffff88807a3d9858 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1102
3 locks held by syz-executor/7381:
#0: ffffffff8ea8e420 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8ea8e420 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8ea8e420 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570
#1: ffffffff8f2f47c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#1: ffffffff8f2f47c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
#1: ffffffff8f2f47c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4064
#2: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline]
#2: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f4/0x730 kernel/rcu/tree_exp.h:998
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Call Trace:
<TASK>
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:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:437
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4e/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 1331 Comm: kworker/u8:6 Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:hlock_class kernel/locking/lockdep.c:233 [inline]
RIP: 0010:mark_lock+0x3c/0x190 kernel/locking/lockdep.c:4732
Code: 00 03 00 83 f9 01 bb 09 00 00 00 83 db 00 83 fa 08 0f 45 da bd 01 00 00 00 89 d9 d3 e5 25 ff 1f 00 00 48 0f a3 05 c4 99 de 11 <73> 10 48 69 c0 c8 00 00 00 48 8d 88 e0 e6 1d 93 eb 48 83 3d db 28
RSP: 0018:ffffc900043ff968 EFLAGS: 00000003
RAX: 0000000000000007 RBX: 0000000000000009 RCX: 0000000000000009
RDX: 0000000000000008 RSI: ffff888027370b40 RDI: ffff888027370000
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8b2422d2 R12: 00000000ffffff05
R13: 0000000000000000 R14: ffff888027370b60 R15: ffff888027370b40
FS: 0000000000000000(0000) GS:ffff8881260cb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff56257fab8 CR3: 0000000034aab000 CR4: 0000000000350ef0
Call Trace:
<TASK>
mark_usage kernel/locking/lockdep.c:4675 [inline]
__lock_acquire+0x68c/0xd20 kernel/locking/lockdep.c:5189
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5866
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0xef/0x610 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17a0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4e/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>