BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 PID: 6053 Comm: syz-executor Not tainted 6.1.114-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 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_report_exp_rnp+0x6d8/0x96c kernel/rcu/tree_exp.h:202 rcu_report_exp_cpu_mult+0xec/0x53c kernel/rcu/tree_exp.h:251 rcu_report_exp_rdp kernel/rcu/tree_exp.h:260 [inline] rcu_preempt_deferred_qs_irqrestore+0x15c/0xf40 kernel/rcu/tree_plugin.h:506 rcu_preempt_deferred_qs kernel/rcu/tree_plugin.h:607 [inline] rcu_note_context_switch+0x27c/0x1048 kernel/rcu/tree_plugin.h:344 __schedule+0x2b0/0x1d44 kernel/sched/core.c:6457 preempt_schedule_irq+0x8c/0x1b8 kernel/sched/core.c:6870 arm64_preempt_schedule_irq arch/arm64/kernel/entry-common.c:265 [inline] __el1_irq arch/arm64/kernel/entry-common.c:474 [inline] el1_interrupt+0x4c/0x68 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] lockdep_unregister_key+0x3c4/0x494 kernel/locking/lockdep.c:6365 __qdisc_destroy+0x13c/0x558 net/sched/sch_generic.c:1069 qdisc_put net/sched/sch_generic.c:1095 [inline] dev_shutdown+0x360/0x480 net/sched/sch_generic.c:1483 unregister_netdevice_many+0x934/0x175c net/core/dev.c:10877 unregister_netdevice_queue+0x2d0/0x31c net/core/dev.c:10817 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:1430 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1442 [inline] nsim_dev_reload_destroy+0x240/0x43c drivers/net/netdevsim/dev.c:1659 nsim_drv_remove+0x64/0x154 drivers/net/netdevsim/dev.c:1675 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:3880 device_unregister+0x2c/0xcc drivers/base/core.c:3923 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/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 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