INFO: task syz-executor.1:26526 blocked for more than 148 seconds. Not tainted 6.8.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23744 pid:26526 tgid:26526 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5bd/0x9d0 kernel/locking/mutex.c:752 del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 bus_attr_store+0x76/0xa0 drivers/base/bus.c:170 sysfs_kf_write+0x117/0x170 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x343/0x500 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2085 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6de/0x1110 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f2cb2a7caef RSP: 002b:00007fffb2d4f610 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f2cb2a7caef RDX: 0000000000000001 RSI: 00007fffb2d4f660 RDI: 0000000000000005 RBP: 00007f2cb2aca021 R08: 0000000000000000 R09: 00007fffb2d4f467 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007fffb2d4f660 R14: 00007f2cb36d4620 R15: 0000000000000003 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:4/59: 2 locks held by dhcpcd/4724: #0: ffffffff8f2ba4e8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x4a8/0x6c0 net/socket.c:1303 #1: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0xcf/0xa80 net/8021q/vlan.c:553 2 locks held by getty/4818: #0: ffff88802ac4d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/0:3/5091: #0: ffff88802a044138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900035ffd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4671 3 locks held by kworker/1:4/5141: #0: ffff888014c8cd38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900036dfd80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 5 locks held by kworker/u4:14/5652: #0: ffff888014c8fd38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900049efd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2ce910 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:580 #3: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8f/0xb30 net/core/dev.c:11605 #4: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #4: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x800 kernel/rcu/tree_exp.h:995 2 locks held by kworker/1:0/18018: #0: ffff888014c8e938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc9000388fd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 3 locks held by kworker/1:2/18497: #0: ffff88802a044138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90009317d80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4671 3 locks held by kworker/1:3/18806: #0: ffff888014c8cd38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900034dfd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:281 2 locks held by kworker/1:7/18807: 3 locks held by kworker/1:5/25905: #0: ffff888014c8e138 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900044b7d80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x1050 net/wireless/reg.c:2479 7 locks held by syz-executor.0/26504: #0: ffff88802a574420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff8880344d4088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888022d224e0 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e947388 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166 #4: ffff888038c0a0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff888038c0a0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffff888038c0e250 (&devlink->lock_key#23){+.+.}-{3:3}, at: nsim_drv_probe+0xd5/0x1490 drivers/net/netdevsim/dev.c:1534 #6: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdevice_notifier_net+0x1c/0xf0 net/core/dev.c:1887 4 locks held by syz-executor.1/26526: #0: ffff88802a574420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff888024019088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888022d225d8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e947388 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 1 lock held by syz-executor.0/26759: #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6612 1 lock held by syz-executor.1/26769: #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6612 1 lock held by syz-executor.0/26910: #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6612 1 lock held by syz-executor.1/26925: #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e3ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6612 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18807 Comm: kworker/1:7 Not tainted 6.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:104 [inline] RIP: 0010:lock_release+0x14e/0x690 kernel/locking/lockdep.c:5770 Code: 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f0 04 00 00 41 8b b6 bc 0a 00 00 85 f6 0f 85 64 02 00 00 9c 8f 04 24 48 c7 c7 e0 b4 0c 8b e8 65 c7 58 09 48 89 da 83 e3 07 48 b8 00 RSP: 0018:ffffc9000351fbc0 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffffffff8f9d7cd8 RCX: ffffffff816aacc5 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802baba87c RBP: 1ffff920006a3f7a R08: 0000000000000000 R09: fffffbfff1f3a922 R10: ffffffff8f9d4917 R11: 0000000000000002 R12: ffffffff8e757078 R13: ffffffff8e756ec0 R14: ffff88802bab9dc0 R15: 0000000000000ade FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39d817e1f8 CR3: 000000000d57a000 CR4: 00000000003506f0 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] wg_ratelimiter_gc_entries+0x2b0/0x520 drivers/net/wireguard/ratelimiter.c:76 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242