================================================================== BUG: KASAN: use-after-free in hci_chan_del+0x40/0x1bc net/bluetooth/hci_conn.c:2780 Read of size 8 at addr ffff0000d35cd118 by task kworker/1:1/24 CPU: 1 PID: 24 Comm: kworker/1:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events delayed_fput Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load8_noabort+0x2c/0x38 mm/kasan/report_generic.c:351 hci_chan_del+0x40/0x1bc net/bluetooth/hci_conn.c:2780 l2cap_conn_free net/bluetooth/l2cap_core.c:1894 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_conn_put+0x80/0x10c net/bluetooth/l2cap_core.c:1908 l2cap_chan_destroy net/bluetooth/l2cap_core.c:528 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_chan_put+0x194/0x26c net/bluetooth/l2cap_core.c:555 l2cap_sock_release+0x160/0x1c8 net/bluetooth/l2cap_sock.c:1498 __sock_release net/socket.c:654 [inline] sock_close+0xac/0x1ec net/socket.c:1400 __fput+0x1b4/0x7b0 fs/file_table.c:320 delayed_fput+0x78/0xa8 fs/file_table.c:343 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Allocated by task 4339: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xd8/0x180 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x260/0x484 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x4b4/0x508 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1c4/0x540 security/tomoyo/file.c:723 tomoyo_file_ioctl+0x2c/0x3c security/tomoyo/tomoyo.c:336 security_file_ioctl+0x80/0xbc security/security.c:1572 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0xa8/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:656 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Freed by task 4339: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:516 ____kasan_slab_free+0x148/0x1b0 mm/kasan/common.c:237 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:245 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1735 [inline] slab_free_freelist_hook+0x16c/0x1e8 mm/slub.c:1761 slab_free mm/slub.c:3694 [inline] __kmem_cache_free+0xbc/0x21c mm/slub.c:3707 kfree+0xd0/0x1a8 mm/slab_common.c:988 tomoyo_path_number_perm+0x404/0x540 security/tomoyo/file.c:736 tomoyo_file_ioctl+0x2c/0x3c security/tomoyo/tomoyo.c:336 security_file_ioctl+0x80/0xbc security/security.c:1572 __do_sys_ioctl fs/ioctl.c:864 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0xa8/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:656 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 The buggy address belongs to the object at ffff0000d35cd100 which belongs to the cache kmalloc-128 of size 128 The buggy address is located 24 bytes inside of 128-byte region [ffff0000d35cd100, ffff0000d35cd180) The buggy address belongs to the physical page: page:000000007f4e2fdc refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1135cd flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc0003343d80 dead000000000004 ffff0000c0002300 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d35cd000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000d35cd080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d35cd100: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d35cd180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d35cd200: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== Unable to handle kernel paging request at virtual address dfff800000000155 KASAN: null-ptr-deref in range [0x0000000000000aa8-0x0000000000000aaf] Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000155] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 24 Comm: kworker/1:1 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events delayed_fput pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hci_chan_del+0x4c/0x1bc net/bluetooth/hci_conn.c:2781 lr : hci_chan_del+0x40/0x1bc net/bluetooth/hci_conn.c:2780 sp : ffff80001dcf79c0 x29: ffff80001dcf79c0 x28: 1fffe0001b377454 x27: dfff800000000000 x26: 0000000000000000 x25: 1fffe0001b377455 x24: ffff0000d7329498 x23: ffff0000d7329490 x22: dfff800000000000 x21: 0000000000000aa8 x20: 0000000000000000 x19: ffff0000d35cd100 x18: 1fffe00033c1c97e x17: 0000000000000000 x16: ffff800011bcfba4 x15: 0000000000000000 x14: 0000000000000001 x13: 1ffff00003203368 x12: 0000000000000000 x11: ff00800008196a98 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000155 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001dcf7398 x4 : ffff800016504ec0 x3 : ffff800008196a5c x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000001 Call trace: hci_chan_del+0x4c/0x1bc net/bluetooth/hci_conn.c:2781 l2cap_conn_free net/bluetooth/l2cap_core.c:1894 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_conn_put+0x80/0x10c net/bluetooth/l2cap_core.c:1908 l2cap_chan_destroy net/bluetooth/l2cap_core.c:528 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_chan_put+0x194/0x26c net/bluetooth/l2cap_core.c:555 l2cap_sock_release+0x160/0x1c8 net/bluetooth/l2cap_sock.c:1498 __sock_release net/socket.c:654 [inline] sock_close+0xac/0x1ec net/socket.c:1400 __fput+0x1b4/0x7b0 fs/file_table.c:320 delayed_fput+0x78/0xa8 fs/file_table.c:343 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Code: 97c96cfb f9400294 912aa295 d343fea8 (38766908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97c96cfb bl 0xffffffffff25b3ec 4: f9400294 ldr x20, [x20] 8: 912aa295 add x21, x20, #0xaa8 c: d343fea8 lsr x8, x21, #3 * 10: 38766908 ldrb w8, [x8, x22] <-- trapping instruction