BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 47 Comm: kworker/u5:0 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: hci5 hci_error_reset 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_switch+0x394/0x5e8 kernel/sched/psi.c:999 psi_sched_switch kernel/sched/stats.h:203 [inline] __schedule+0x1664/0x1d44 kernel/sched/core.c:6553 schedule+0xc4/0x170 kernel/sched/core.c:6634 rwsem_down_write_slowpath+0xc80/0x156c kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write+0x84/0x88 kernel/locking/rwsem.c:1574 kernfs_remove_by_name_ns+0x7c/0x188 fs/kernfs/dir.c:1661 kernfs_remove_by_name include/linux/kernfs.h:622 [inline] sysfs_unmerge_group+0xd8/0x138 fs/sysfs/group.c:368 rpm_sysfs_remove drivers/base/power/sysfs.c:826 [inline] dpm_sysfs_remove+0x84/0xd4 drivers/base/power/sysfs.c:835 device_del+0x268/0x9bc drivers/base/core.c:3854 device_unregister+0x2c/0xcc drivers/base/core.c:3920 hci_conn_del_sysfs+0xf0/0x170 net/bluetooth/hci_sysfs.c:84 hci_conn_cleanup+0x4dc/0x69c net/bluetooth/hci_conn.c:172 hci_conn_del+0x3cc/0x5a8 net/bluetooth/hci_conn.c:1151 hci_conn_hash_flush+0x1e4/0x27c net/bluetooth/hci_conn.c:2510 hci_dev_close_sync+0x7e0/0xf1c net/bluetooth/hci_sync.c:5061 hci_dev_do_close net/bluetooth/hci_core.c:510 [inline] hci_error_reset+0x108/0x35c net/bluetooth/hci_core.c:1021 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 Bluetooth: hci5: Opcode 0x0c03 failed: -110