------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 17898 at kernel/locking/mutex.c:564 __mutex_lock_common kernel/locking/mutex.c:564 [inline] WARNING: CPU: 1 PID: 17898 at kernel/locking/mutex.c:564 __mutex_lock+0x3a3/0xb10 kernel/locking/mutex.c:730 Modules linked in: CPU: 1 UID: 0 PID: 17898 Comm: syz.3.2519 Tainted: G U 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Tainted: [U]=USER Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline] RIP: 0010:__mutex_lock+0x3a3/0xb10 kernel/locking/mutex.c:730 Code: d0 7c 08 84 d2 0f 85 59 07 00 00 8b 0d 86 fa 0b 05 85 c9 75 19 90 48 c7 c6 c0 e6 6c 8b 48 c7 c7 40 e6 6c 8b e8 2e 5a 23 f6 90 <0f> 0b 90 90 90 e9 b8 fd ff ff 4c 8d b5 60 ff ff ff 48 89 df 4c 89 RSP: 0018:ffffc90003f4fa80 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88805e1a2010 RCX: ffffc9000ccda000 RDX: 0000000000080000 RSI: ffffffff817a2276 RDI: 0000000000000001 RBP: ffffc90003f4fbc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: fffffffffffd7758 R12: dffffc0000000000 R13: 0000000000000002 R14: 0000000000000000 R15: ffffc90003f4fb00 FS: 00007f44b3e546c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d119ff8 CR3: 0000000066782000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_devcd_register+0x47/0x170 net/bluetooth/coredump.c:415 force_devcd_write+0x173/0x330 drivers/bluetooth/hci_vhci.c:346 full_proxy_write+0x13c/0x200 fs/debugfs/file.c:398 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x12b/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f44b2f8d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f44b3e54038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f44b31a6080 RCX: 00007f44b2f8d169 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f44b300e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f44b31a6080 R15: 00007fff923093a8