BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 9043 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 include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __kernfs_new_node+0x104/0x5c4 fs/kernfs/dir.c:642 kernfs_new_node+0xe8/0x1f4 fs/kernfs/dir.c:713 kernfs_create_dir_ns+0x58/0x12c fs/kernfs/dir.c:1083 sysfs_create_dir_ns+0x114/0x24c fs/sysfs/dir.c:59 create_dir lib/kobject.c:73 [inline] kobject_add_internal+0x5a8/0xb20 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_add+0x134/0x200 lib/kobject.c:426 class_dir_create_and_add drivers/base/core.c:3232 [inline] get_device_parent+0x2c8/0x350 drivers/base/core.c:3283 device_add+0x294/0xa60 drivers/base/core.c:3613 netdev_register_kobject+0x15c/0x2e0 net/core/net-sysfs.c:2356 register_netdevice+0xb58/0x1248 net/core/dev.c:11189 nsim_init_netdevsim drivers/net/netdevsim/netdev.c:1030 [inline] nsim_create+0x9c8/0xd48 drivers/net/netdevsim/netdev.c:1101 __nsim_dev_port_add+0x544/0x898 drivers/net/netdevsim/dev.c:1438 nsim_dev_port_add_all+0x50/0x114 drivers/net/netdevsim/dev.c:1494 nsim_drv_probe+0x78c/0x988 drivers/net/netdevsim/dev.c:1653 nsim_bus_probe+0x20/0x30 drivers/net/netdevsim/bus.c:412 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x3b4/0x944 drivers/base/dd.c:659 __driver_probe_device+0x180/0x2d4 drivers/base/dd.c:801 driver_probe_device+0x78/0x330 drivers/base/dd.c:831 __device_attach_driver+0x290/0x4e0 drivers/base/dd.c:959 bus_for_each_drv+0x220/0x2b4 drivers/base/bus.c:462 __device_attach+0x26c/0x388 drivers/base/dd.c:1031 device_initial_probe+0x24/0x34 drivers/base/dd.c:1080 bus_probe_device+0x178/0x240 drivers/base/bus.c:537 device_add+0x71c/0xa60 drivers/base/core.c:3689 device_register+0x28/0x38 drivers/base/core.c:3771 nsim_bus_dev_new drivers/net/netdevsim/bus.c:463 [inline] new_device_store+0x2c0/0x594 drivers/net/netdevsim/bus.c:191 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 netdevsim6 netdevsim0: renamed from eth0 netdevsim netdevsim6 netdevsim1: renamed from eth1 netdevsim netdevsim6 netdevsim2: renamed from eth2 netdevsim netdevsim6 netdevsim3: renamed from eth3 8021q: adding VLAN 0 to HW filter on device bond0 8021q: adding VLAN 0 to HW filter on device team0 hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network 8021q: adding VLAN 0 to HW filter on device batadv0