INFO: task syz.9.2303:13249 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.2303 state:D stack:26280 pid:13249 ppid:4467 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 perf_pending_task_sync kernel/events/core.c:5031 [inline] _free_event+0x171/0x10a0 kernel/events/core.c:5037 put_event kernel/events/core.c:5162 [inline] perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5287 perf_release+0x37/0x40 kernel/events/core.c:5297 __fput+0x22c/0x920 fs/file_table.c:320 task_work_run+0x1ca/0x250 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x93e/0x2400 kernel/exit.c:880 do_group_exit+0x217/0x2d0 kernel/exit.c:1022 get_signal+0x1272/0x1350 kernel/signal.c:2871 arch_do_signal_or_restart+0xb7/0x1240 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6bbd98f6c9 RSP: 002b:00007f6bbe74a038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: fffffffffffffe00 RBX: 00007f6bbdbe6090 RCX: 00007f6bbd98f6c9 RDX: 0000000000000000 RSI: 0000200000000300 RDI: 0000000000000006 RBP: 00007f6bbda11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6bbdbe6128 R14: 00007f6bbdbe6090 R15: 00007ffe74c3c128 Showing all locks held in the system: 3 locks held by kworker/u4:1/11: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90000107d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b630 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb2be50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 2 locks held by kworker/1:2/129: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90002da7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 2 locks held by getty/4027: #0: ffff88814d142098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 3 locks held by kworker/u4:5/4307: 3 locks held by kworker/1:5/4330: #0: ffff88814ca3cd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90004567d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4672 3 locks held by kworker/1:9/4682: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003767d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104 5 locks held by kworker/u4:14/10267: #0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003a7fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd34a10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594 #3: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe5/0xa50 net/core/dev.c:11489 #4: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #4: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 5 locks held by kworker/u4:17/14763: #0: ffff8880b8f3aad8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #1: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #1: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: do_perf_sw_event kernel/events/core.c:9706 [inline] #1: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: ___perf_sw_event+0x13c/0x630 kernel/events/core.c:9744 #2: ffff8880b8f28418 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:999 #3: ffffffff96e9af30 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x6a/0x490 lib/debugobjects.c:698 #4: ffffffff96e12ca0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:968 [inline] #4: ffffffff96e12ca0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x136/0x530 lib/debugobjects.c:1009 2 locks held by syz.1.3354/17023: #0: ffffffff8dd34a10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x32e/0x5b0 net/core/net_namespace.c:504 #1: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x7d/0x210 net/ipv4/nexthop.c:3613 1 lock held by syz.6.3360/17047: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x11f/0x6f0 net/netlink/af_netlink.c:2305 2 locks held by syz.6.3360/17053: #0: ffffffff8dd27728 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1176 [inline] #0: ffffffff8dd27728 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x2ce/0x6e0 net/socket.c:1275 #1: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: br_ioctl_stub+0x9f/0x9e0 net/bridge/br_ioctl.c:402 1 lock held by syz.6.3360/17055: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x567/0xea0 net/core/dev_ioctl.c:587 1 lock held by syz.6.3360/17059: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 1 lock held by syz.6.3360/17063: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 1 lock held by syz.6.3360/17064: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x567/0xea0 net/core/dev_ioctl.c:587 1 lock held by syz.5.3362/17052: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x288/0x1af0 net/ipv4/devinet.c:1080 2 locks held by syz.3.3363/17057: #0: ffffffff8cb7fd28 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x2a/0x140 kernel/trace/trace_event_perf.c:239 #1: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 2 locks held by syz.3.3363/17058: #0: ffffffff8dda1570 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860 #1: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5b/0x930 net/wireless/nl80211.c:16235 1 lock held by syz.4.3364/17062: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 1 lock held by syz.4.3364/17068: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: ipv6_route_ioctl+0x2f3/0x4a0 net/ipv6/route.c:4511 1 lock held by syz.4.3364/17070: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 1 lock held by syz.4.3364/17071: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 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+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14763 Comm: kworker/u4:17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] RIP: 0010:lock_release+0x163/0x910 kernel/locking/lockdep.c:5681 Code: 04 00 00 4c 89 74 24 08 48 c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 48 8b 84 24 a0 00 00 00 48 89 44 24 50 fa <48> c7 c7 60 12 8c 8a e8 91 6c b4 08 65 ff 05 4a fe 9e 7e c7 44 24 RSP: 0018:ffffc90003abf7c0 EFLAGS: 00000046 RAX: 0000000000000046 RBX: ffff888024d8465c RCX: 06d086ff0df9ee00 RDX: 0000000000000000 RSI: ffffffff8adef740 RDI: ffffffff8adef700 RBP: ffffc90003abf8d0 R08: dffffc0000000000 R09: fffffbfff1c3ed56 R10: fffffbfff1c3ed56 R11: 1ffffffff1c3ed55 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888024d83b80 R15: 1ffff92000757f04 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c300e5d CR3: 0000000078a7e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x6d/0x100 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:988 [inline] debug_check_no_obj_freed+0x515/0x530 lib/debugobjects.c:1009 slab_free_hook mm/slub.c:1704 [inline] slab_free_freelist_hook+0xd2/0x1a0 mm/slub.c:1755 slab_free mm/slub.c:3687 [inline] __kmem_cache_free+0xb6/0x1f0 mm/slub.c:3700 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x5db/0x7c0 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] consume_skb+0xa2/0x100 net/core/skbuff.c:1035 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x76b/0xaf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x898/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295