BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 7307 Comm: syz.5.921 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3735 [inline] validate_chain kernel/locking/lockdep.c:3756 [inline] __lock_acquire+0x1b30/0x651c kernel/locking/lockdep.c:5012 lock_acquire+0x1f4/0x620 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xc4/0x14c kernel/locking/spinlock.c:162 __debug_object_init+0xcc/0x98c lib/debugobjects.c:619 debug_object_init+0x20/0x2c lib/debugobjects.c:657 __init_work kernel/workqueue.c:522 [inline] init_pwq kernel/workqueue.c:3831 [inline] alloc_unbound_pwq+0x8e0/0xcc0 kernel/workqueue.c:3874 apply_wqattrs_prepare+0x30c/0xa70 kernel/workqueue.c:4013 apply_workqueue_attrs_locked+0xc4/0x264 kernel/workqueue.c:4096 apply_workqueue_attrs kernel/workqueue.c:4133 [inline] alloc_and_link_pwqs kernel/workqueue.c:4251 [inline] alloc_workqueue+0x9c8/0xe54 kernel/workqueue.c:4365 hci_register_dev+0x23c/0x854 net/bluetooth/hci_core.c:3933 hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:690 [inline] hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:716 [inline] hci_uart_tty_ioctl+0x774/0xb2c drivers/bluetooth/hci_ldisc.c:772 tty_ioctl+0x94c/0xde0 drivers/tty/tty_io.c:2819 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584