================================================================== BUG: KASAN: out-of-bounds in __mutex_waiter_is_first kernel/locking/mutex.c:199 [inline] BUG: KASAN: out-of-bounds in __mutex_lock_common kernel/locking/mutex.c:694 [inline] BUG: KASAN: out-of-bounds in __mutex_lock+0x801/0x1350 kernel/locking/mutex.c:776 Read of size 8 at addr ffff8880af1140a8 by task khidpd_10cf5502/8307 CPU: 0 UID: 0 PID: 8307 Comm: khidpd_10cf5502 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 __mutex_waiter_is_first kernel/locking/mutex.c:199 [inline] __mutex_lock_common kernel/locking/mutex.c:694 [inline] __mutex_lock+0x801/0x1350 kernel/locking/mutex.c:776 l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1729 hidp_session_thread+0x3a1/0x420 net/bluetooth/hidp/core.c:1304 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880af117c00 pfn:0xaf114 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88805919e782 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f8(unknown) raw: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 raw: ffff8880af117c00 0000000000000000 00000000f8000000 ffff88805919e782 head: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 head: ffff8880af117c00 0000000000000000 00000000f8000000 ffff88805919e782 head: 00fff00000000002 ffffea0002bc4501 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0x5428c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_COMP|__GFP_HARDWALL|__GFP_ACCOUNT), pid 8752, tgid 8751 (syz.6.11843), ts 1808042533602, free_ts 1808037719652 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x234/0x290 mm/page_alloc.c:1846 prep_new_page mm/page_alloc.c:1854 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3915 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5210 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486 ___kmalloc_large_node+0x4e/0x150 mm/slub.c:5593 __kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:5624 __do_kmalloc_node mm/slub.c:5640 [inline] __kvmalloc_node_noprof+0x6e/0x920 mm/slub.c:7129 kvmalloc_array_node_noprof include/linux/slab.h:1122 [inline] io_alloc_hash_table io_uring/io_uring.c:259 [inline] io_ring_ctx_alloc+0x14c/0xc10 io_uring/io_uring.c:303 io_uring_create+0x50/0x940 io_uring/io_uring.c:3583 io_uring_setup io_uring/io_uring.c:3715 [inline] __do_sys_io_uring_setup io_uring/io_uring.c:3749 [inline] __se_sys_io_uring_setup+0x235/0x240 io_uring/io_uring.c:3740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 8013 tgid 8013 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2943 bt_host_release+0x82/0x90 net/bluetooth/hci_sysfs.c:87 device_release+0x9e/0x1d0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x228/0x570 lib/kobject.c:737 vhci_release+0x15a/0x1a0 drivers/bluetooth/hci_vhci.c:691 __fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6c5/0x2310 kernel/exit.c:971 do_group_exit+0x21c/0x2d0 kernel/exit.c:1112 get_signal+0x1285/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x7a0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:41 [inline] exit_to_user_mode_loop+0x87/0x4f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2e3/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff8880af113f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880af114000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880af114080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8880af114100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880af114180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================