BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 7455 Comm: syz-executor Not tainted 6.1.119-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/0x58 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 down_read+0x64/0x308 kernel/locking/rwsem.c:1520 kernfs_find_and_get_ns+0x78/0x150 fs/kernfs/dir.c:905 kernfs_find_and_get include/linux/kernfs.h:601 [inline] sysfs_unmerge_group+0x6c/0x138 fs/sysfs/group.c:365 pm_qos_sysfs_remove_resume_latency+0x28/0x38 drivers/base/power/sysfs.c:800 dev_pm_qos_constraints_destroy+0x44/0x478 drivers/base/power/qos.c:259 dpm_sysfs_remove+0x74/0xd4 drivers/base/power/sysfs.c:834 device_del+0x268/0x9bc drivers/base/core.c:3854 netdev_unregister_kobject+0x14c/0x204 net/core/net-sysfs.c:1985 unregister_netdevice_many+0x11b8/0x175c net/core/dev.c:10917 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