INFO: task kworker/u8:5:752 blocked for more than 143 seconds. Not tainted 6.13.0-syzkaller-00164-g100ceb4817a2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:5 state:D stack:21216 pid:752 tgid:752 ppid:2 flags:0x00004000 Workqueue: events_unbound netfs_write_collection_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 bit_wait+0x12/0xd0 kernel/sched/wait_bit.c:237 __wait_on_bit+0xb0/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:77 [inline] netfs_retry_writes+0x16e/0x19b0 fs/netfs/write_retry.c:215 netfs_collect_write_results fs/netfs/write_collect.c:352 [inline] netfs_write_collection_worker+0x2f90/0x3bb0 fs/netfs/write_collect.c:374 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz.0.262:7138 blocked for more than 144 seconds. Not tainted 6.13.0-syzkaller-00164-g100ceb4817a2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.262 state:D stack:23800 pid:7138 tgid:7136 ppid:5831 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 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+0x7e7/0xee0 kernel/locking/mutex.c:735 netfs_writepages+0x12b/0x9e0 fs/netfs/write_issue.c:564 do_writepages+0x35f/0x880 mm/page-writeback.c:2708 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_fdatawrite+0x1f3/0x2a0 mm/filemap.c:432 v9fs_dir_release+0x151/0x560 fs/9p/vfs_dir.c:219 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 get_signal+0x15f7/0x1750 kernel/signal.c:2809 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xce/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:0x7f27a7985d29 RSP: 002b:00007f27a87f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: 0000000000590000 RBX: 00007f27a7b75fa0 RCX: 00007f27a7985d29 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000009 RBP: 00007f27a7a01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 000000007ffff000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f27a7b75fa0 R15: 00007ffda030b5b8 INFO: task syz.0.262:7145 blocked for more than 144 seconds. Not tainted 6.13.0-syzkaller-00164-g100ceb4817a2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.262 state:D stack:26520 pid:7145 tgid:7136 ppid:5831 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 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+0x7e7/0xee0 kernel/locking/mutex.c:735 netfs_writepages+0x12b/0x9e0 fs/netfs/write_issue.c:564 do_writepages+0x35f/0x880 mm/page-writeback.c:2708 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_fdatawrite+0x1f3/0x2a0 mm/filemap.c:432 v9fs_vfs_setattr+0x7e5/0xe20 fs/9p/vfs_inode.c:1072 notify_change+0xbca/0xe90 fs/attr.c:552 vfs_utimes+0x4b5/0x770 fs/utimes.c:66 do_utimes_path fs/utimes.c:99 [inline] do_utimes fs/utimes.c:140 [inline] do_futimesat fs/utimes.c:194 [inline] __do_sys_utimes fs/utimes.c:207 [inline] __se_sys_utimes+0x194/0x380 fs/utimes.c:204 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:0x7f27a7985d29 RSP: 002b:00007f27a87b4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000eb RAX: ffffffffffffffda RBX: 00007f27a7b76160 RCX: 00007f27a7985d29 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000020000180 RBP: 00007f27a7a01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f27a7b76160 R15: 00007ffda030b5b8 Showing all locks held in the system: 3 locks held by pool_workqueue_/3: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 3 locks held by kworker/u8:3/52: 2 locks held by kworker/u8:5/752: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900033b7d00 ((work_completion)(&rreq->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900033b7d00 ((work_completion)(&rreq->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 5 locks held by kworker/u8:10/3028: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000b3b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000b3b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fc9ba10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602 #3: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xe9/0xaa0 net/core/dev.c:12078 #4: ffffffff8e93d2b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #4: ffffffff8e93d2b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by dhcpcd/5490: #0: ffff88806300c6c8 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: netlink_dump+0xcb/0xe10 net/netlink/af_netlink.c:2263 #1: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x99/0x200 net/core/rtnetlink.c:6790 2 locks held by getty/5582: #0: ffff8880355120a0 (&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 3 locks held by kworker/u8:13/6582: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90003017d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90003017d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:285 1 lock held by syz.3.193/6811: #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 1 lock held by syz.2.242/7049: #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 1 lock held by syz.0.262/7138: #0: ffff88805bf00b70 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0x12b/0x9e0 fs/netfs/write_issue.c:564 1 lock held by syz.0.262/7140: #0: ffff88805bf00b70 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0xcf/0x9e0 fs/netfs/write_issue.c:558 3 locks held by syz.0.262/7145: #0: ffff88807f1dc420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547 #1: ffff88805bf007b8 (&sb->s_type->i_mutex_key#26){++++}-{4:4}, at: inode_lock include/linux/fs.h:831 [inline] #1: ffff88805bf007b8 (&sb->s_type->i_mutex_key#26){++++}-{4:4}, at: vfs_utimes+0x44d/0x770 fs/utimes.c:65 #2: ffff88805bf00b70 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0x12b/0x9e0 fs/netfs/write_issue.c:564 2 locks held by syz-executor/8082: #0: ffffffff8f4514c0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8f4514c0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8f4514c0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555 #1: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #1: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011 1 lock held by syz.5.537/8313: #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: dev_ioctl+0x639/0x1340 net/core/dev_ioctl.c:736 1 lock held by syz.1.541/8323: #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fca7ec8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-00164-g100ceb4817a2 #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+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+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 1166 Comm: kworker/u8:7 Not tainted 6.13.0-syzkaller-00164-g100ceb4817a2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:validate_chain+0xa7/0x5920 kernel/locking/lockdep.c:3860 Code: f2 f2 f2 4a 89 04 21 48 b8 f2 f2 f2 00 f2 f2 f2 00 4a 89 44 21 09 4a 89 44 21 11 48 b8 f2 f2 f2 f2 f2 00 00 00 4a 89 44 21 1f <48> b8 f2 f2 f2 f2 f2 00 f3 f3 4a 89 44 21 2b 48 89 8c 24 c0 00 00 RSP: 0018:ffffc900040ff540 EFLAGS: 00000802 RAX: 000000f2f2f2f2f2 RBX: ffffffff93c54120 RCX: 1ffff9200081fec8 RDX: 0000000000000000 RSI: ffff8880274ae530 RDI: ffff8880274ada00 RBP: ffffc900040ff840 R08: ffffffff9428096f R09: 1ffffffff285012d R10: dffffc0000000000 R11: fffffbfff285012e R12: dffffc0000000000 R13: ffff8880274ada00 R14: 3412406634bd91e8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fc1dff8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 000000000000000a DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 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+0x365/0x610 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244