BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 8330 Comm: syz-executor Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3855 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0xf9c/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 prepare_to_wait_event+0x3c/0x3b8 kernel/sched/wait.c:294 synchronize_rcu_expedited+0x498/0x628 kernel/rcu/tree_exp.h:972 synchronize_net+0x80/0xa8 net/core/dev.c:12011 dev_deactivate_many+0x4b0/0xabc net/sched/sch_generic.c:1375 __dev_close_many+0x238/0x704 net/core/dev.c:1739 netif_close_many+0x1e8/0x448 net/core/dev.c:1780 unregister_netdevice_many_notify+0x4a8/0x1de0 net/core/dev.c:12110 unregister_netdevice_many net/core/dev.c:12211 [inline] unregister_netdevice_queue+0x2b4/0x300 net/core/dev.c:12055 unregister_netdevice include/linux/netdevice.h:3382 [inline] nsim_destroy+0x1c0/0x5f8 drivers/net/netdevsim/netdev.c:1136 __nsim_dev_port_del+0x13c/0x19c drivers/net/netdevsim/dev.c:1473 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1485 [inline] nsim_dev_reload_destroy+0x240/0x43c drivers/net/netdevsim/dev.c:1707 nsim_drv_remove+0x5c/0x154 drivers/net/netdevsim/dev.c:1722 nsim_bus_remove+0x20/0x30 drivers/net/netdevsim/bus.c:419 device_remove drivers/base/dd.c:569 [inline] __device_release_driver drivers/base/dd.c:1274 [inline] device_release_driver_internal+0x3a8/0x68c drivers/base/dd.c:1297 device_release_driver+0x28/0x38 drivers/base/dd.c:1320 bus_remove_device+0x310/0x3b0 drivers/base/bus.c:579 device_del+0x47c/0x808 drivers/base/core.c:3878 device_unregister+0x2c/0xcc drivers/base/core.c:3919 nsim_bus_dev_del drivers/net/netdevsim/bus.c:483 [inline] del_device_store+0x27c/0x31c drivers/net/netdevsim/bus.c:244 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x1a8/0x23c fs/sysfs/file.c:145 kernfs_fop_write_iter+0x314/0x488 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x540/0xa3c fs/read_write.c:686 ksys_write+0x120/0x210 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:746 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 netdevsim netdevsim4 netdevsim0: renamed from eth0 netdevsim netdevsim4 netdevsim1: renamed from eth1 netdevsim netdevsim4 netdevsim2: renamed from eth2 netdevsim netdevsim4 netdevsim3: renamed from eth3 8021q: adding VLAN 0 to HW filter on device bond0 8021q: adding VLAN 0 to HW filter on device team0 8021q: adding VLAN 0 to HW filter on device batadv0 veth0_vlan: entered promiscuous mode veth1_vlan: entered promiscuous mode veth0_macvtap: entered promiscuous mode veth1_macvtap: entered promiscuous mode batman_adv: batadv0: Interface activated: batadv_slave_0 batman_adv: batadv0: Interface activated: batadv_slave_1 ieee80211 phy32: Selected rate control algorithm 'minstrel_ht' ieee80211 phy33: Selected rate control algorithm 'minstrel_ht'