================================================================== BUG: KASAN: global-out-of-bounds in __mutex_lock_common kernel/locking/mutex.c:564 [inline] BUG: KASAN: global-out-of-bounds in __mutex_lock+0x8b9/0xb10 kernel/locking/mutex.c:730 Read of size 8 at addr ffffffff8ccbe210 by task syz.5.3920/14035 CPU: 1 UID: 0 PID: 14035 Comm: syz.5.3920 Not tainted 6.14.0-rc1-syzkaller-00235-g9946eaf552b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xc3/0x620 mm/kasan/report.c:489 kasan_report+0xd9/0x110 mm/kasan/report.c:602 __mutex_lock_common kernel/locking/mutex.c:564 [inline] __mutex_lock+0x8b9/0xb10 kernel/locking/mutex.c:730 hci_devcd_register+0x47/0x170 net/bluetooth/coredump.c:415 force_devcd_write+0x175/0x350 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:0x7fbf1fb8cde9 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:00007fbf20a8d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fbf1fda5fa0 RCX: 00007fbf1fb8cde9 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fbf1fc0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbf1fda5fa0 R15: 00007ffe6e0659c8 The buggy address belongs to the variable: __func__.1+0xb0/0x880 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xccbe flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea0000332f88 ffffea0000332f88 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff8ccbe100: f9 f9 f9 f9 00 00 04 f9 f9 f9 f9 f9 00 00 00 05 ffffffff8ccbe180: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 00 01 f9 >ffffffff8ccbe200: f9 f9 f9 f9 00 00 01 f9 f9 f9 f9 f9 00 00 00 05 ^ ffffffff8ccbe280: f9 f9 f9 f9 00 07 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 ffffffff8ccbe300: f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9 00 00 05 f9 ==================================================================