INFO: task kworker/u8:6:2936 blocked for more than 144 seconds.
Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:6 state:D stack:23888 pid:2936 tgid:2936 ppid:2 flags:0x00004000
Workqueue: events_unbound netfs_write_collection_worker
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0xe58/0x5ad0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6848
bit_wait+0x15/0xe0 kernel/sched/wait_bit.c:237
__wait_on_bit+0x62/0x180 kernel/sched/wait_bit.c:49
out_of_line_wait_on_bit+0xda/0x110 kernel/sched/wait_bit.c:64
wait_on_bit include/linux/wait_bit.h:77 [inline]
netfs_retry_writes+0x2fa/0x1a00 fs/netfs/write_retry.c:215
netfs_collect_write_results fs/netfs/write_collect.c:352 [inline]
netfs_write_collection_worker+0x23de/0x37c0 fs/netfs/write_collect.c:374
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task syz.1.281:7261 blocked for more than 144 seconds.
Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.281 state:D stack:27168 pid:7261 tgid:7248 ppid:5817 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0xe58/0x5ad0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6848
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905
__mutex_lock_common kernel/locking/mutex.c:665 [inline]
__mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735
netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564
do_writepages+0x1b3/0x820 mm/page-writeback.c:2708
filemap_fdatawrite_wbc mm/filemap.c:388 [inline]
filemap_fdatawrite_wbc+0x104/0x160 mm/filemap.c:378
__filemap_fdatawrite_range+0xb3/0xf0 mm/filemap.c:421
v9fs_vfs_setattr+0x93a/0xab0 fs/9p/vfs_inode.c:1072
notify_change+0x6a6/0x1230 fs/attr.c:552
vfs_utimes+0x41d/0x850 fs/utimes.c:66
do_utimes_path fs/utimes.c:99 [inline]
do_utimes+0x124/0x2a0 fs/utimes.c:140
do_futimesat+0x18f/0x200 fs/utimes.c:194
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8b79385d29
RSP: 002b:00007f8b7a1d1038 EFLAGS: 00000246 ORIG_RAX: 00000000000000eb
RAX: ffffffffffffffda RBX: 00007f8b79576160 RCX: 00007f8b79385d29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 00007f8b79401b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f8b79576160 R15: 00007ffe09b40d98
Showing all locks held in the system:
2 locks held by kworker/0:1/9:
#0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900000e7d80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
3 locks held by kworker/u8:1/12:
#0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc90000117d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:285
1 lock held by khungtaskd/30:
#0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744
2 locks held by kworker/u8:6/2936:
#0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc9000c2e7d80 ((work_completion)(&rreq->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
3 locks held by kworker/u8:10/3875:
#0: ffff888020e94148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc9000e1a7d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffff88807d618500 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564
2 locks held by getty/5573:
#0: ffff88803652a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211
1 lock held by syz.1.281/7260:
#0: ffff88807d618500 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0xb9/0x8f0 fs/netfs/write_issue.c:558
3 locks held by syz.1.281/7261:
#0: ffff88805e878420 (sb_writers#21){.+.+}-{0:0}, at: vfs_utimes+0x6b9/0x850 fs/utimes.c:36
#1: ffff88807d618148 (&sb->s_type->i_mutex_key#26){++++}-{4:4}, at: inode_lock include/linux/fs.h:831 [inline]
#1: ffff88807d618148 (&sb->s_type->i_mutex_key#26){++++}-{4:4}, at: vfs_utimes+0x3d2/0x850 fs/utimes.c:65
#2: ffff88807d618500 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564
2 locks held by syz.0.490/8255:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
2 locks held by syz.0.490/8258:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
2 locks held by syz.0.490/8266:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
2 locks held by syz.0.490/8267:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
2 locks held by syz.0.490/8270:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
2 locks held by syz.0.490/8274:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
2 locks held by syz.0.490/8280:
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88805e8780e0 (&type->s_umount_key#82){.+.+}-{4:4}, at: super_lock+0x31a/0x3f0 fs/super.c:120
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff8880363207d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19d/0xa50 fs/fs-writeback.c:2819
1 lock held by syz-executor/8402:
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
1 lock held by syz.5.536/8498:
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
1 lock held by syz.3.567/8648:
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
2 locks held by syz.2.568/8646:
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fef1648 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
#1: ffffffff8e1c75f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf14/0x1240 kernel/hung_task.c:397
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/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: 11 Comm: kworker/u8:0 Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lockdep_hardirqs_off+0x2f/0xf0 kernel/locking/lockdep.c:4501
Code: 0d fa 5c 33 05 85 c9 0f 84 ad 00 00 00 55 53 48 89 fb 65 8b 05 ba 67 d6 74 a9 00 00 f0 00 74 3a 8b 15 05 87 59 0f 85 d2 74 12 <65> 8b 05 e6 16 d5 74 85 c0 75 43 5b 5d c3 cc cc cc cc 9c 58 f6 c4
RSP: 0018:ffffc90000107ae0 EFLAGS: 00000046
RAX: 0000000000000046 RBX: ffffffff815c6a7d RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8b6cdaa0 RDI: ffffffff8bd2c420
RBP: ffffffff8afbcab6 R08: 0000000000000000 R09: ffffed10064288e0
R10: ffff888032144703 R11: 0000000000000002 R12: ffffffff8afbcc90
R13: ffff888032144700 R14: 0000000000000000 R15: ffff888029a08040
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000df7e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_off+0xd/0x40 kernel/trace/trace_preemptirq.c:104
__local_bh_enable_ip+0xcd/0x120 kernel/softirq.c:371
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_nc_purge_paths+0x1c6/0x390 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x913/0x1060 net/batman-adv/network-coding.c:720
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244