INFO: task syz.6.5632:25506 blocked for more than 143 seconds. Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.5632 state:D stack:27744 pid:25506 tgid:25505 ppid:18673 flags:0x00004006 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 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1526 i_mmap_lock_read include/linux/fs.h:529 [inline] rmap_walk_file+0x54b/0x690 mm/rmap.c:2694 rmap_walk+0x7a/0xd0 mm/rmap.c:2726 remove_migration_ptes+0x11e/0x1b0 mm/migrate.c:373 unmap_and_move_huge_page mm/migrate.c:1526 [inline] migrate_hugetlbs mm/migrate.c:1648 [inline] migrate_pages+0xa3d/0x21f0 mm/migrate.c:2046 migrate_to_node mm/mempolicy.c:1099 [inline] do_migrate_pages+0x486/0x740 mm/mempolicy.c:1198 kernel_migrate_pages+0x5b2/0x750 mm/mempolicy.c:1713 __do_sys_migrate_pages mm/mempolicy.c:1731 [inline] __se_sys_migrate_pages mm/mempolicy.c:1727 [inline] __x64_sys_migrate_pages+0x96/0x100 mm/mempolicy.c:1727 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:0x7efcff77ff19 RSP: 002b:00007efd0060d058 EFLAGS: 00000246 ORIG_RAX: 0000000000000100 RAX: ffffffffffffffda RBX: 00007efcff945fa0 RCX: 00007efcff77ff19 RDX: 00000000200002c0 RSI: 0000000000000003 RDI: 0000000000000000 RBP: 00007efcff7f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000280 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efcff945fa0 R15: 00007ffde5b698c8 INFO: task syz.6.5632:25507 blocked for more than 144 seconds. Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.5632 state:D stack:28608 pid:25507 tgid:25505 ppid:18673 flags:0x00000004 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 io_schedule+0xbf/0x130 kernel/sched/core.c:7681 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1308 __folio_lock mm/filemap.c:1646 [inline] folio_lock include/linux/pagemap.h:1151 [inline] folio_lock include/linux/pagemap.h:1147 [inline] __filemap_get_folio+0x6a4/0xaf0 mm/filemap.c:1899 filemap_lock_folio include/linux/pagemap.h:788 [inline] filemap_lock_hugetlb_folio include/linux/hugetlb.h:789 [inline] hugetlbfs_zero_partial_page+0xaf/0x520 fs/hugetlbfs/inode.c:661 hugetlbfs_punch_hole fs/hugetlbfs/inode.c:715 [inline] hugetlbfs_fallocate+0xe12/0x11d0 fs/hugetlbfs/inode.c:748 vfs_fallocate+0x459/0xf90 fs/open.c:327 madvise_remove mm/madvise.c:1020 [inline] madvise_vma_behavior+0x1b6d/0x1da0 mm/madvise.c:1255 madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1497 do_madvise+0x30e/0x770 mm/madvise.c:1684 __do_sys_madvise mm/madvise.c:1700 [inline] __se_sys_madvise mm/madvise.c:1698 [inline] __x64_sys_madvise+0xa9/0x110 mm/madvise.c:1698 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:0x7efcff77ff19 RSP: 002b:00007efd005ec058 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007efcff946080 RCX: 00007efcff77ff19 RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000000020000000 RBP: 00007efcff7f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efcff946080 R15: 00007ffde5b698c8 Showing all locks held in the system: 3 locks held by kworker/u8:0/11: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000107d80 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff8880546c8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: wiphy_lock include/net/cfg80211.h:6019 [inline] #2: ffff8880546c8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0x9d/0x560 net/wireless/core.c:426 1 lock held by khungtaskd/30: #0: ffffffff8e1bb500 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bb500 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bb500 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:2/35: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000ab7d80 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 2 locks held by getty/5575: #0: ffff8880320a50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:7/5908: #0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90003117d80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 2 locks held by kworker/0:0/10251: #0: ffff8880b863ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:606 [inline] #0: ffff8880b863ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:591 #1: ffff8880b8628a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x203/0x8e0 kernel/sched/psi.c:975 7 locks held by kworker/1:2/24787: 4 locks held by kworker/u8:1/24949: 1 lock held by syz.6.5632/25506: #0: ffff88806734e278 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: i_mmap_lock_read include/linux/fs.h:529 [inline] #0: ffff88806734e278 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: rmap_walk_file+0x54b/0x690 mm/rmap.c:2694 3 locks held by syz.6.5632/25507: #0: ffff88801bb5c420 (sb_writers#16){.+.+}-{0:0}, at: madvise_remove mm/madvise.c:1020 [inline] #0: ffff88801bb5c420 (sb_writers#16){.+.+}-{0:0}, at: madvise_vma_behavior+0x1b6d/0x1da0 mm/madvise.c:1255 #1: ffff88806734dfa8 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff88806734dfa8 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: hugetlbfs_punch_hole fs/hugetlbfs/inode.c:690 [inline] #1: ffff88806734dfa8 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: hugetlbfs_fallocate+0xc27/0x11d0 fs/hugetlbfs/inode.c:748 #2: ffff88806734e278 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: i_mmap_lock_write include/linux/fs.h:509 [inline] #2: ffff88806734e278 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: hugetlbfs_punch_hole fs/hugetlbfs/inode.c:698 [inline] #2: ffff88806734e278 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: hugetlbfs_fallocate+0xc94/0x11d0 fs/hugetlbfs/inode.c:748 3 locks held by kworker/u8:8/25513: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc900106a7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:281 1 lock held by syz-executor/25729: #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517 1 lock held by syz-executor/26334: #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517 1 lock held by syz-executor/26448: #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517 1 lock held by syz.8.6034/27001: #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8feda988 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/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: 24949 Comm: kworker/u8:1 Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: bat_events batadv_tt_purge RIP: 0010:hlock_class+0x58/0x130 kernel/locking/lockdep.c:240 Code: 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 c0 cc e4 96 e8 d2 03 87 00 48 0f a3 1d 1a 0b 6f 15 73 13 <48> 69 c3 c8 00 00 00 5b 48 05 e0 d0 e4 96 c3 cc cc cc cc 48 c7 c0 RSP: 0018:ffffc90003faf9d0 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000770 RCX: ffffffff8175c19e RDX: fffffbfff2dc99b6 RSI: 0000000000000008 RDI: ffffffff96e4cda8 RBP: ffffc90003fafb20 R08: 0000000000000000 R09: fffffbfff2dc99b5 R10: ffffffff96e4cdaf R11: 0000000000000002 R12: ffff888031dc8000 R13: 0000000000000040 R14: 0000000000000006 R15: 1ffff920007f5f42 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002002a000 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4727 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4321 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4347 [inline] lockdep_hardirqs_on_prepare+0x27a/0x420 kernel/locking/lockdep.c:4406 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:78 __local_bh_enable_ip+0xa4/0x120 kernel/softirq.c:394 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_tt_global_purge net/batman-adv/translation-table.c:2257 [inline] batadv_tt_purge+0x251/0xb90 net/batman-adv/translation-table.c:3510 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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