INFO: task syz.2.61:3983 blocked for more than 143 seconds. Not tainted 6.1.111-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.61 state:D stack:24512 pid:3983 ppid:3639 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189 filemap_invalidate_lock include/linux/fs.h:803 [inline] blkdev_fallocate+0x225/0x4a0 block/fops.c:656 vfs_fallocate+0x547/0x6b0 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:352 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fde0cf7def9 RSP: 002b:00007fde0dd33038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fde0d136058 RCX: 00007fde0cf7def9 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000008 RBP: 00007fde0cff0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000002000000400 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fde0d136058 R15: 00007ffd72d9d6b8 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b1d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 3 locks held by kworker/u4:3/46: #0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000b77d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 2 locks held by getty/3395: #0: ffff88802e4ab098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 2 locks held by kworker/u4:6/3709: 1 lock held by syz.0.35/3900: 5 locks held by kworker/u4:12/3957: #0: ffff888017e1e938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900058ffd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4ed450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:566 #3: ffff88802936d2f8 (&devlink->lock_key#3){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x130/0x2c0 net/devlink/leftover.c:12520 #4: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: devlink_nl_port_fill+0x2b1/0xa00 net/devlink/leftover.c:1296 1 lock held by syz.2.61/3983: #0: ffff88801808bfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:803 [inline] #0: ffff88801808bfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x225/0x4a0 block/fops.c:656 1 lock held by syz.1.136/4319: #0: ffff88801808bfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:803 [inline] #0: ffff88801808bfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x225/0x4a0 block/fops.c:656 2 locks held by kworker/1:10/4526: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9001cbf7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 2 locks held by syz-executor/5041: #0: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118 #1: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 2 locks held by syz-executor/5064: #0: ffffffff8e4ed450 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:477 #1: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x20f/0x700 net/ipv4/ip_tunnel.c:1099 3 locks held by kworker/1:12/5087: #0: ffff888017c71938 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90003187d20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x90/0x1110 net/wireless/reg.c:2498 1 lock held by syz.2.326/5094: #0: ffffffff8d3304c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4019 1 lock held by syz.1.327/5095: #0: ffff88807bfe17d8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff88807bfe17d8 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x175/0x2d0 mm/util.c:518 1 lock held by syz.1.327/5096: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: phy5 ieee80211_iface_work RIP: 0010:__lock_acquire+0xdcd/0x1f80 Code: 84 c0 0f 85 62 0c 00 00 8b 1b 48 8b 44 24 30 0f b6 04 38 84 c0 0f 85 76 0c 00 00 48 8b 44 24 08 33 18 f7 c3 00 60 00 00 74 0d <41> bd 01 00 00 00 49 c7 c7 ff ff ff ff 48 8b 44 24 30 0f b6 04 38 RSP: 0018:ffffc90000007be0 EFLAGS: 00000006 RAX: ffff88801e6b2938 RBX: 000000000008435f RCX: ffff88801e6b28a0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff88801e6b2918 R08: dffffc0000000000 R09: fffffbfff223b846 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801e6b2898 R13: 0000000000000000 R14: ffff88801e6b2938 R15: 68558b140cdc16a6 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f076f708178 CR3: 000000000d08e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 hrtimer_interrupt+0xf7/0x980 kernel/time/hrtimer.c:1796 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:for_each_canary mm/kfence/core.c:343 [inline] RIP: 0010:kfence_guarded_free+0x2fe/0x7f0 mm/kfence/core.c:499 Code: 81 f3 aa 00 00 00 89 df 89 ee e8 bd 65 a8 ff 39 eb 0f 85 86 02 00 00 49 ff c6 48 bd 00 00 00 00 00 fc ff df 41 80 7c 2d 00 00 <74> 08 4c 89 ff e8 78 e6 ff ff 4d 3b 37 73 2a e8 2e 64 a8 ff eb a7 RSP: 0018:ffffc90000b77890 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000000000af RCX: ffff88801e6b1dc0 RDX: ffff88801e6b1dc0 RSI: 00000000000000af RDI: 00000000000000af RBP: dffffc0000000000 R08: ffffffff81e24ae3 R09: fffffbfff2e7f10e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88823bd24000 R13: 1ffffffff2e7889e R14: ffff88823bd2432e R15: ffffffff973c44f0 ieee80211_ibss_rx_queued_mgmt+0x1b35/0x2dd0 ieee80211_iface_process_skb net/mac80211/iface.c:1653 [inline] ieee80211_iface_work+0x7aa/0xce0 net/mac80211/iface.c:1707 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295