INFO: task syz.2.529:7450 blocked for more than 143 seconds. Not tainted 6.6.96-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.529 state:D stack:23272 pid:7450 ppid:5790 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14e2/0x4580 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 perf_pending_task_sync kernel/events/core.c:5242 [inline] _free_event+0x174/0xf30 kernel/events/core.c:5248 put_event kernel/events/core.c:5376 [inline] perf_event_release_kernel+0x836/0x8c0 kernel/events/core.c:5501 perf_release+0x3b/0x40 kernel/events/core.c:5511 __fput+0x234/0x970 fs/file_table.c:384 task_work_run+0x1ce/0x250 kernel/task_work.c:239 get_signal+0x1235/0x1400 kernel/signal.c:2678 arch_do_signal_or_restart+0x96/0x780 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 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:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f254918e929 RSP: 002b:00007f254a0cffe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: fffffffffffffffc RBX: 00007f25493b5fa0 RCX: 00007f254918e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000043001000 RBP: 00007f2549210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f25493b5fa0 R15: 00007ffdb4a434f8 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 3 locks held by kworker/u4:2/33: #0: ffff8880b8e3c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #1: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #1: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: do_perf_sw_event kernel/events/core.c:9913 [inline] #1: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: ___perf_sw_event+0x161/0x6f0 kernel/events/core.c:9951 #2: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #2: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #2: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xd2/0x610 net/batman-adv/network-coding.c:719 3 locks held by kworker/u4:5/1064: #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000492fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000492fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286 3 locks held by kworker/u4:6/1088: #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900047dfd00 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900047dfd00 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88801ef08768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5777 [inline] #2: ffff88801ef08768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wiphy_work+0x35/0x260 net/wireless/core.c:424 3 locks held by kworker/u4:7/3821: #0: ffff8881412cc538 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff8881412cc538 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000dda7d00 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000dda7d00 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_dfs_channels_update_work+0xb7/0x630 net/wireless/mlme.c:914 2 locks held by getty/5545: #0: ffff888031aa90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 2 locks held by kworker/0:4/5826: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900046b7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900046b7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 1 lock held by syz.1.2209/11534: #0: ffff88805f07ac20 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #0: ffff88805f07ac20 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff88805f07ac20 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x9b/0x230 net/socket.c:1421 3 locks held by syz.1.2209/11544: #0: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x76f/0xf10 net/core/rtnetlink.c:6472 #1: ffff88801ef08768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5777 [inline] #1: ffff88801ef08768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: ieee80211_stop+0x429/0x4a0 net/mac80211/iface.c:794 #2: ffffffff8cd35738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8cd35738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004 2 locks held by syz.6.2211/11542: #0: ffffffff8cd85de8 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x2e/0x140 kernel/trace/trace_event_perf.c:239 #1: ffffffff8cd35738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8cd35738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004 1 lock held by syz.6.2211/11543: #0: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: ipv6_route_ioctl+0x2f7/0x4a0 net/ipv6/route.c:4510 1 lock held by syz.6.2211/11548: #0: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: ipv6_route_ioctl+0x2f7/0x4a0 net/ipv6/route.c:4510 2 locks held by syz.5.2212/11556: #0: ffffffff8d7da508 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0xce/0x1980 drivers/net/ppp/ppp_generic.c:738 #1: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: ppp_create_interface drivers/net/ppp/ppp_generic.c:3356 [inline] #1: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1069 [inline] #1: ffffffff8dfbb748 (rtnl_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x698/0x1980 drivers/net/ppp/ppp_generic.c:742 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.6.96-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 6.6.96-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:mark_held_locks kernel/locking/lockdep.c:4262 [inline] RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x25b/0x760 kernel/locking/lockdep.c:4359 Code: da 00 48 8b 7c 24 10 4c 89 fe e8 30 f1 00 00 48 ba 00 00 00 00 00 fc ff df 85 c0 0f 84 a2 01 00 00 41 0f b6 04 16 84 c0 75 5b <49> ff c5 48 63 03 49 83 c7 28 49 83 c4 28 49 39 c5 7c 95 eb 66 48 RSP: 0018:ffffc90000a9f780 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888018688ad8 RCX: ffffffff8167b554 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff90da5608 RBP: ffffc90000a9f828 R08: ffffffff90da560f R09: 1ffffffff21b4ac1 R10: dffffc0000000000 R11: fffffbfff21b4ac2 R12: ffff888018688b50 R13: 0000000000000002 R14: 1ffff110030d115b R15: ffff888018688b30 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32712ff8 CR3: 000000005bbce000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x86/0x110 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x51f/0x540 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0xd2/0x1b0 mm/slub.c:1832 slab_free mm/slub.c:3816 [inline] __kmem_cache_free+0xba/0x1f0 mm/slub.c:3829 skb_kfree_head net/core/skbuff.c:945 [inline] skb_free_head net/core/skbuff.c:957 [inline] skb_release_data+0x634/0x800 net/core/skbuff.c:987 skb_release_all net/core/skbuff.c:1053 [inline] __kfree_skb net/core/skbuff.c:1067 [inline] consume_skb+0xb2/0x110 net/core/skbuff.c:1283 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x76f/0xb00 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293