INFO: task syz.5.136:6479 blocked for more than 143 seconds.
Not tainted 6.6.99-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.136 state:D stack:23464 pid:6479 ppid:6192 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:0x7f6e60d8e9a9
RSP: 002b:00007f6e61c44fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: fffffffffffffffc RBX: 00007f6e60fb5fa0 RCX: 00007f6e60d8e9a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000630c1000
RBP: 00007f6e60e10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6e60fb5fa0 R15: 00007ffe3e99d188
Showing all locks held in the system:
2 locks held by kworker/u4:0/11:
#0: ffff8880b8f3c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: do_perf_sw_event kernel/events/core.c:9913 [inline]
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: ___perf_sw_event+0x161/0x6f0 kernel/events/core.c:9951
1 lock held by khungtaskd/29:
#0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by kworker/u4:2/42:
#0: ffff8880b8f3c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: do_perf_sw_event kernel/events/core.c:9913 [inline]
#1: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: ___perf_sw_event+0x161/0x6f0 kernel/events/core.c:9951
3 locks held by kworker/u4:4/78:
#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: ffffc900015f7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#1: ffffc900015f7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
#2: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286
5 locks held by kworker/u4:9/2960:
#0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
#1: ffffc9000bf87d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#1: ffffc9000bf87d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
#2: ffffffff8dfae210 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x136/0xb90 net/core/net_namespace.c:606
#3: ffff888018acb250 (&devlink->lock_key#10){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:60 [inline]
#3: ffff888018acb250 (&devlink->lock_key#10){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xe1/0x340 net/devlink/core.c:285
#4: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3f/0x180 drivers/net/netdevsim/netdev.c:417
2 locks held by getty/5547:
#0: ffff88814cb510a0 (&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/1:5/5841:
#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: ffffc9000494fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#1: ffffc9000494fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
8 locks held by syz-executor/8119:
#0: ffff88802cee8418 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x20e/0x940 fs/read_write.c:580
#1: ffff888022f81088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e9/0x4d0 fs/kernfs/file.c:325
#2: ffff888024160ca0 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20c/0x4d0 fs/kernfs/file.c:326
#3: ffffffff8d898208 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x360 drivers/net/netdevsim/bus.c:209
#4: ffff88802ce790e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
#4: ffff88802ce790e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff88802ce790e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x7a0 drivers/base/dd.c:1292
#5: ffff88802ce7a250 (&devlink->lock_key#3){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675
#6: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3f/0x180 drivers/net/netdevsim/netdev.c:417
#7: ffffffff8cd35b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#7: ffffffff8cd35b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004
2 locks held by syz.6.487/8185:
#0: ffffffff8dfae210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x351/0x5e0 net/core/net_namespace.c:516
#1: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x81/0x210 net/ipv4/nexthop.c:3623
2 locks held by syz.8.489/8179:
#0: ffffffff8dfae210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x351/0x5e0 net/core/net_namespace.c:516
#1: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x81/0x210 net/ipv4/nexthop.c:3623
1 lock held by syz.8.489/8180:
#0: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x7d2/0x1170 net/core/dev_ioctl.c:785
1 lock held by syz.8.489/8189:
#0: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x7d2/0x1170 net/core/dev_ioctl.c:785
1 lock held by syz.3.490/8183:
#0: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511
2 locks held by syz.3.490/8184:
#0: ffffffff8dfae210 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x351/0x5e0 net/core/net_namespace.c:516
#1: ffffffff8dfbb008 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x81/0x210 net/ipv4/nexthop.c:3623
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.99-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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5841 Comm: kworker/1:5 Not tainted 6.6.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
RIP: 0010:_raw_spin_unlock+0x23/0x40 kernel/locking/spinlock.c:186
Code: 84 00 00 00 00 00 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4a ca f0 f6 48 89 df e8 62 9c f1 f6 bf 01 00 00 00 a8 b3 e4 f6 65 8b 05 b9 f9 8c 75 85 c0 74 02 5b c3 e8 96 db 89
RSP: 0018:ffffc9000494fb58 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffffffff8d766020 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: dffffc0000000000 R08: ffffffff8d766023 R09: 1ffffffff1aecc04
R10: dffffc0000000000 R11: fffffbfff1aecc05 R12: ffff888061cb6fe0
R13: dffffc0000000000 R14: ffff888061cc6fe0 R15: ffffffffffffffa0
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558f4685c8 CR3: 000000000cb30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
spin_unlock include/linux/spinlock.h:391 [inline]
wg_ratelimiter_gc_entries+0x384/0x450 drivers/net/wireguard/ratelimiter.c:76
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