================================================================== BUG: KASAN: use-after-free in __mutex_waiter_is_first kernel/locking/mutex.c:199 [inline] BUG: KASAN: use-after-free in __mutex_lock_common kernel/locking/mutex.c:694 [inline] BUG: KASAN: use-after-free in __mutex_lock+0x812/0x1300 kernel/locking/mutex.c:776 Read of size 8 at addr ffff88807cfd40a8 by task khidpd_15c25886/19141 CPU: 0 UID: 0 PID: 19141 Comm: khidpd_15c25886 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xba/0x230 mm/kasan/report.c:482 kasan_report+0x117/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+0x812/0x1300 kernel/locking/mutex.c:776 l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1721 hidp_session_thread+0x3cb/0x440 net/bluetooth/hidp/core.c:1304 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x38 pfn:0x7cfd4 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000038 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0x92820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_NOMEMALLOC), pid 5946, tgid 5946 (kworker/1:7), ts 777250160418, free_ts 777154213876 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x231/0x280 mm/page_alloc.c:1883 prep_new_page mm/page_alloc.c:1891 [inline] get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3956 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5244 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2485 alloc_frozen_pages_noprof mm/mempolicy.c:2556 [inline] alloc_pages_noprof+0xa8/0x190 mm/mempolicy.c:2576 stack_depot_save_flags+0x73c/0x810 lib/stackdepot.c:685 kasan_save_stack mm/kasan/common.c:58 [inline] kasan_save_track+0x4f/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5174 [inline] __kmalloc_noprof+0x35c/0x760 mm/slub.c:5186 kmalloc_noprof include/linux/slab.h:966 [inline] kzalloc_noprof include/linux/slab.h:1204 [inline] ieee802_11_parse_elems_full+0x159/0x2ab0 net/mac80211/parse.c:1031 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2475 [inline] ieee80211_inform_bss+0x161/0x1160 net/mac80211/scan.c:79 rdev_inform_bss net/wireless/rdev-ops.h:418 [inline] cfg80211_inform_single_bss_data+0xcf9/0x1ab0 net/wireless/scan.c:2373 cfg80211_inform_bss_data+0x23f/0x3c20 net/wireless/scan.c:3228 cfg80211_inform_bss_frame_data+0x3c7/0x710 net/wireless/scan.c:3319 ieee80211_bss_info_update+0x794/0xa40 net/mac80211/scan.c:230 ieee80211_scan_rx+0x552/0xa40 net/mac80211/scan.c:364 page last free pid 18588 tgid 18588 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1432 [inline] __free_frozen_pages+0xc01/0xd80 mm/page_alloc.c:2972 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/0x560 lib/kobject.c:737 vhci_release+0x15a/0x1a0 drivers/bluetooth/hci_vhci.c:691 __fput+0x44f/0xa70 fs/file_table.c:469 task_work_run+0x1d9/0x270 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x69b/0x2310 kernel/exit.c:971 do_group_exit+0x21b/0x2d0 kernel/exit.c:1112 __do_sys_exit_group kernel/exit.c:1123 [inline] __se_sys_exit_group kernel/exit.c:1121 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1121 x64_sys_call+0x221a/0x2240 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88807cfd3f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807cfd4000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88807cfd4080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88807cfd4100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807cfd4180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================