================================================================== 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+0x81d/0xa60 kernel/locking/mutex.c:735 Read of size 8 at addr ffffffff9a7614d0 by task syz.9.4514/26939 CPU: 1 UID: 0 PID: 26939 Comm: syz.9.4514 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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+0x81d/0xa60 kernel/locking/mutex.c:735 hci_devcd_register+0x47/0x170 net/bluetooth/coredump.c:415 force_devcd_write+0x175/0x350 drivers/bluetooth/hci_vhci.c:346 full_proxy_write+0xfb/0x1b0 fs/debugfs/file.c:356 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:0x7efcc9585d29 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:00007efcca35b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007efcc9775fa0 RCX: 00007efcc9585d29 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007efcc9601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efcc9775fa0 R15: 00007ffe8014ec98 The buggy address belongs to the variable: __key.0+0x30/0x40 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1a761 flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea000069d848 ffffea000069d848 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: ffffffff9a761380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff9a761400: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 00 00 f9 f9 >ffffffff9a761480: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 ^ ffffffff9a761500: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 ffffffff9a761580: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 ==================================================================