INFO: task syz.0.1805:8619 blocked for more than 143 seconds. Not tainted 6.1.117-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1805 state:D stack:21984 pid:8619 ppid:4252 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 perf_pending_task_sync kernel/events/core.c:5033 [inline] _free_event+0x169/0x1090 kernel/events/core.c:5039 put_event kernel/events/core.c:5164 [inline] perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5289 perf_release+0x37/0x40 kernel/events/core.c:5299 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd1cdd7e719 RSP: 002b:00007fd1cebe6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fd1cdf35f80 RCX: 00007fd1cdd7e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fd1cddf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd1cdf35f80 R15: 00007ffdee82ff98 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b110 (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: ffffffff8d32b910 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 2 locks held by kworker/1:1/27: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000a3fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 1 lock held by khungtaskd/28: #0: ffffffff8d32af40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32af40 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32af40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 3 locks held by kworker/1:2/125: #0: ffff88802ff87938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90002dbfd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115 1 lock held by dhcpcd/3915: #0: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6147 2 locks held by getty/4007: #0: ffff88814cc51098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900032462f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:8/4333: #0: ffff88802ff87938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000470fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115 5 locks held by kworker/u4:21/7418: #0: ffff888017e16938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900050e7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4ef290 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:566 #3: ffff88802dd422f8 (&devlink->lock_key#9){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x132/0x2f0 net/devlink/leftover.c:12500 #4: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: devlink_nl_port_fill+0x2b1/0xa00 net/devlink/leftover.c:1276 1 lock held by syz-executor/11653: #0: ffffffff8d330538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8d330538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 1 lock held by syz.6.3055/11963: #0: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8e4fb628 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3492 1 lock held by syz-executor/11966: #0: ffffffff8d330538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8d330538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 3 locks held by syz.2.3057/11976: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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: 11976 Comm: syz.2.3057 Not tainted 6.1.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__read_once_word_nocheck+0x0/0x10 include/asm-generic/rwonce.h:67 Code: e1 07 38 c1 0f 8c dc fc ff ff 48 89 df e8 28 24 a5 00 48 ba 00 00 00 00 00 fc ff df e9 c5 fc ff ff 66 0f 1f 84 00 00 00 00 00 <48> 8b 07 c3 cc cc cc cc cc cc cc cc cc cc cc cc 31 c0 81 ff 03 00 RSP: 0018:ffffc90000006998 EFLAGS: 00000046 RAX: ffffc90000008000 RBX: ffffc90000000000 RCX: 1ffff92000000d60 RDX: ffffffff8fa97e34 RSI: 0000000000000000 RDI: ffffc90000007ff8 RBP: ffffc90000006b10 R08: 000000000000000c R09: ffffc90000006b50 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000008000 R13: ffffc90000007ff8 R14: 1ffff92000000d61 R15: 1ffff92000000d62 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055df466aea80 CR3: 000000007f590000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000020000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff2 DR7: 0000000000000600 Call Trace: deref_stack_reg arch/x86/kernel/unwind_orc.c:360 [inline] unwind_next_frame+0xb0c/0x2220 arch/x86/kernel/unwind_orc.c:527 perf_callchain_kernel+0x475/0x620 arch/x86/events/core.c:2805 get_perf_callchain+0x579/0x810 kernel/events/callchain.c:200 perf_callchain kernel/events/core.c:7488 [inline] perf_prepare_sample+0x390/0x1fb0 kernel/events/core.c:7521 __perf_event_output kernel/events/core.c:7706 [inline] perf_event_output_forward+0x1b7/0x330 kernel/events/core.c:7726 __perf_event_overflow+0x45e/0x640 kernel/events/core.c:9472 perf_swevent_hrtimer+0x38e/0x4f0 kernel/events/core.c:10880 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x4d/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:unwind_next_frame+0x6ef/0x2220 Code: 03 80 3c 38 00 74 0e 49 89 fe 48 89 df e8 69 48 a5 00 4c 89 f7 48 8b 1b 48 85 db 0f 84 1c 0b 00 00 48 83 c3 70 e9 e8 01 00 00 <4c> 8b 24 24 49 8d 5c 24 40 48 89 d8 48 c1 e8 03 80 3c 38 00 74 0e RSP: 0018:ffffc90000007540 EFLAGS: 00000293 RAX: 0000000000000002 RBX: 0000000000000004 RCX: ffffffff8eafce60 RDX: ffffffff8f1f2a1c RSI: ffffffff81cc483a RDI: dffffc0000000000 RBP: ffffffff8f1f2a1c R08: 0000000000000001 R09: ffffc90000007710 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffffff8f1f2a20 R14: ffffffff8eafce5c R15: 1ffffffff1e3e544 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] __kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x5de/0x7a0 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] consume_skb+0xa3/0x140 net/core/skbuff.c:1035 mac80211_hwsim_beacon_tx+0x5f8/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2116 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x170 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:rcu_lock_release include/linux/rcupdate.h:355 [inline] RIP: 0010:rcu_read_unlock_sched include/linux/rcupdate.h:904 [inline] RIP: 0010:pfn_valid+0x3dc/0x440 include/linux/mmzone.h:1867 Code: 6a 97 9d ff eb 24 e8 63 97 9d ff c6 05 06 a5 98 0c 01 48 c7 c7 e0 03 19 8b be 87 03 00 00 48 c7 c2 80 04 19 8b e8 24 fd 7d ff <48> c7 c7 c0 ae 32 8d 4c 89 f6 e8 b5 c2 7d ff bf 01 00 00 00 e8 bb RSP: 0018:ffffc900061472a8 EFLAGS: 00000293 RAX: ffffffff81ecf454 RBX: 0000000000000001 RCX: ffff88801af79dc0 RDX: 0000000000000000 RSI: ffffffff8b5d77e0 RDI: ffffffff8b5d77a0 RBP: 0000000000000001 R08: ffffffff81ecf442 R09: fffffbfff224624d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000070bec R14: ffffffff81ecf1c6 R15: ffff88813fff91c0 page_table_check_clear+0x1e/0x6d0 mm/page_table_check.c:67 zap_pte_range mm/memory.c:1435 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x1b4a/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x252/0x9f0 mm/mmap.c:3227 __mmput+0x115/0x3c0 kernel/fork.c:1200 exit_mm+0x226/0x300 kernel/exit.c:565 do_exit+0x9f6/0x26a0 kernel/exit.c:858 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 get_signal+0x16f7/0x17d0 kernel/signal.c:2871 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f23f657e719 Code: Unable to access opcode bytes at 0x7f23f657e6ef. RSP: 002b:00007f23f7414038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: 0000000000000000 RBX: 00007f23f6735f80 RCX: 00007f23f657e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f23f65f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f23f6735f80 R15: 00007ffc6cf5ea38