BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 6418 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 wake_up_worker kernel/workqueue.c:859 [inline] insert_work+0x2ac/0x384 kernel/workqueue.c:1369 __queue_work+0xd48/0x136c kernel/workqueue.c:1520 queue_work_on+0xc0/0x16c kernel/workqueue.c:1548 nsim_fib_event_nb+0xb20/0xe28 drivers/net/netdevsim/fib.c:1043 notifier_call_chain kernel/notifier.c:87 [inline] atomic_notifier_call_chain+0x174/0x2a0 kernel/notifier.c:225 call_fib_notifiers+0x44/0x78 net/core/fib_notifier.c:35 call_fib4_notifiers+0xa0/0x114 net/ipv4/fib_notifier.c:26 call_fib_entry_notifiers net/ipv4/fib_trie.c:106 [inline] fib_notify_alias_delete net/ipv4/fib_trie.c:1708 [inline] fib_table_delete+0xb98/0xec0 net/ipv4/fib_trie.c:1767 fib_magic net/ipv4/fib_frontend.c:1106 [inline] fib_del_ifaddr+0x1884/0x2244 net/ipv4/fib_frontend.c:1317 fib_inetaddr_event+0xb0/0x2fc net/ipv4/fib_frontend.c:1448 notifier_call_chain kernel/notifier.c:87 [inline] blocking_notifier_call_chain+0xf0/0x198 kernel/notifier.c:382 __inet_del_ifa+0x764/0xe50 net/ipv4/devinet.c:431 inet_del_ifa net/ipv4/devinet.c:468 [inline] inetdev_destroy net/ipv4/devinet.c:321 [inline] inetdev_event+0x444/0x1214 net/ipv4/devinet.c:1600 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] unregister_netdevice_many+0xe44/0x175c net/core/dev.c:10886 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