================================================================== 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 ffffffff8bb22830 by task syz.1.2779/16069 CPU: 1 UID: 0 PID: 16069 Comm: syz.1.2779 Not tainted 6.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:408 [inline] print_report+0xc3/0x670 mm/kasan/report.c:521 kasan_report+0xd9/0x110 mm/kasan/report.c:634 __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+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:0x7f885798d169 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:00007f88587bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8857ba6080 RCX: 00007f885798d169 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f8857a0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8857ba6080 R15: 00007ffd3e5ab0a8 The buggy address belongs to the variable: afs_RXCMxxxx+0x70/0x1580 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xbb22 flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea00002ec888 ffffea00002ec888 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: ffffffff8bb22700: 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 ffffffff8bb22780: 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 >ffffffff8bb22800: f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 00 00 00 00 ^ ffffffff8bb22880: 00 05 f9 f9 f9 f9 f9 f9 00 00 00 00 00 02 f9 f9 ffffffff8bb22900: f9 f9 f9 f9 00 00 00 03 f9 f9 f9 f9 00 00 00 00 ==================================================================