BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 PID: 6577 Comm: syz-executor Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 do_write_seqcount_begin_nested include/linux/seqlock.h:515 [inline] do_write_seqcount_begin include/linux/seqlock.h:541 [inline] psi_group_change+0x278/0x134c kernel/sched/psi.c:801 psi_task_change+0xf4/0x228 kernel/sched/psi.c:924 psi_enqueue kernel/sched/stats.h:145 [inline] enqueue_task kernel/sched/core.c:2052 [inline] activate_task+0x268/0x2d0 kernel/sched/core.c:2084 ttwu_do_activate+0x150/0x25c kernel/sched/core.c:3696 ttwu_queue kernel/sched/core.c:3901 [inline] try_to_wake_up+0x514/0xe60 kernel/sched/core.c:4224 wake_up_process+0x18/0x24 kernel/sched/core.c:4358 swake_up_locked kernel/sched/swait.c:29 [inline] swake_up_one+0x70/0x134 kernel/sched/swait.c:52 swake_up_one_online+0xe8/0x1e8 kernel/rcu/tree.c:1082 rcu_gp_kthread_wake kernel/rcu/tree.c:1110 [inline] rcu_report_qs_rsp+0x274/0x42c kernel/rcu/tree.c:1931 rcu_report_unblock_qs_rnp kernel/rcu/tree.c:2035 [inline] rcu_preempt_deferred_qs_irqrestore+0xa44/0xf40 kernel/rcu/tree_plugin.h:557 rcu_read_unlock_special+0xa0/0x48c kernel/rcu/tree_plugin.h:681 __rcu_read_unlock+0xac/0x13c kernel/rcu/tree_plugin.h:426 rcu_read_unlock include/linux/rcupdate.h:823 [inline] net_generic+0x1f4/0x240 include/net/netns/generic.h:48 tee_netdev_event+0x7c/0x3b8 net/netfilter/xt_TEE.c:65 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:1970 [inline] call_netdevice_notifiers_extack net/core/dev.c:2008 [inline] call_netdevice_notifiers net/core/dev.c:2022 [inline] dev_close_many+0x2fc/0x468 net/core/dev.c:1570 unregister_netdevice_many+0x3fc/0x175c net/core/dev.c:10864 unregister_netdevice_queue+0x2d0/0x31c net/core/dev.c:10821 unregister_netdevice include/linux/netdevice.h:3045 [inline] nsim_destroy+0x58/0x164 drivers/net/netdevsim/netdev.c:382 __nsim_dev_port_del+0x148/0x1a8 drivers/net/netdevsim/dev.c:1433 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1445 [inline] nsim_dev_reload_destroy+0x240/0x43c drivers/net/netdevsim/dev.c:1662 nsim_drv_remove+0x64/0x154 drivers/net/netdevsim/dev.c:1678 nsim_bus_remove+0x20/0x30 drivers/net/netdevsim/bus.c:246 device_remove drivers/base/dd.c:548 [inline] __device_release_driver drivers/base/dd.c:1260 [inline] device_release_driver_internal+0x42c/0x724 drivers/base/dd.c:1286 device_release_driver+0x28/0x38 drivers/base/dd.c:1309 bus_remove_device+0x298/0x38c drivers/base/bus.c:531 device_del+0x57c/0x9bc drivers/base/core.c:3877 device_unregister+0x2c/0xcc drivers/base/core.c:3920 nsim_bus_dev_del drivers/net/netdevsim/bus.c:310 [inline] del_device_store+0x2c4/0x39c drivers/net/netdevsim/bus.c:219 bus_attr_store+0x80/0xa4 drivers/base/bus.c:124 sysfs_kf_write+0x200/0x280 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x334/0x48c fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x91c fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585