================================================================== BUG: KASAN: slab-use-after-free in hci_conn_hash_flush+0x90/0x210 Read of size 8 at addr ffff0000d6876000 by task syz-executor.4/6030 CPU: 1 PID: 6030 Comm: syz-executor.4 Not tainted 6.4.0-rc3-syzkaller-geb0f1697d729 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:351 [inline] print_report+0x174/0x514 mm/kasan/report.c:462 kasan_report+0xd4/0x130 mm/kasan/report.c:572 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381 hci_conn_hash_flush+0x90/0x210 hci_dev_close_sync+0x894/0xf8c net/bluetooth/hci_sync.c:4941 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0x1cc/0x454 net/bluetooth/hci_core.c:2703 vhci_release+0x7c/0xcc drivers/bluetooth/hci_vhci.c:669 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Allocated by task 6656: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x7c mm/kasan/common.c:52 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:510 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0xac/0xc4 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] kmalloc_trace+0x70/0x88 mm/slab_common.c:1062 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:680 [inline] hci_conn_add+0xcc/0x10b4 net/bluetooth/hci_conn.c:986 hci_connect_sco+0x94/0x2bc net/bluetooth/hci_conn.c:1663 sco_connect net/bluetooth/sco.c:264 [inline] sco_sock_connect+0x264/0x860 net/bluetooth/sco.c:610 __sys_connect_file net/socket.c:2003 [inline] __sys_connect+0x268/0x290 net/socket.c:2020 __do_sys_connect net/socket.c:2030 [inline] __se_sys_connect net/socket.c:2027 [inline] __arm64_sys_connect+0x7c/0x94 net/socket.c:2027 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Freed by task 6030: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x7c mm/kasan/common.c:52 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:521 ____kasan_slab_free+0x144/0x1c0 mm/kasan/common.c:236 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:244 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3786 [inline] __kmem_cache_free+0x2a8/0x49c mm/slub.c:3799 kfree+0xb8/0x19c mm/slab_common.c:1015 bt_link_release+0x20/0x30 net/bluetooth/hci_sysfs.c:14 device_release+0x8c/0x1ac kobject_cleanup lib/kobject.c:683 [inline] kobject_release lib/kobject.c:714 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2a8/0x41c lib/kobject.c:731 put_device+0x28/0x40 drivers/base/core.c:3733 hci_conn_put include/net/bluetooth/hci_core.h:1401 [inline] hci_conn_cleanup+0x4fc/0x694 net/bluetooth/hci_conn.c:178 hci_conn_del+0x314/0x4b8 net/bluetooth/hci_conn.c:1162 hci_conn_unlink+0x24c/0x2c4 net/bluetooth/hci_conn.c:1109 hci_conn_unlink+0x190/0x2c4 net/bluetooth/hci_conn.c:1087 hci_conn_hash_flush+0x188/0x210 net/bluetooth/hci_conn.c:2479 hci_dev_close_sync+0x894/0xf8c net/bluetooth/hci_sync.c:4941 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0x1cc/0x454 net/bluetooth/hci_core.c:2703 vhci_release+0x7c/0xcc drivers/bluetooth/hci_vhci.c:669 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Last potentially related work creation: kasan_save_stack+0x40/0x6c mm/kasan/common.c:45 __kasan_record_aux_stack+0xcc/0xe8 mm/kasan/generic.c:491 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:501 insert_work+0x64/0x384 kernel/workqueue.c:1365 __queue_work+0xd3c/0x1374 kernel/workqueue.c:1526 __queue_delayed_work kernel/workqueue.c:1674 [inline] queue_delayed_work_on+0x1f4/0x2e4 kernel/workqueue.c:1710 queue_delayed_work include/linux/workqueue.h:520 [inline] hci_conn_drop+0x198/0x2bc include/net/bluetooth/hci_core.h:1444 sco_chan_del net/bluetooth/sco.c:169 [inline] __sco_sock_close+0x288/0x7b0 net/bluetooth/sco.c:454 sco_sock_close net/bluetooth/sco.c:469 [inline] sco_sock_release+0xb4/0x2c0 net/bluetooth/sco.c:1267 __sock_release net/socket.c:653 [inline] sock_close+0xb8/0x1fc net/socket.c:1397 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 get_signal+0x13a4/0x159c kernel/signal.c:2650 do_signal arch/arm64/kernel/signal.c:1249 [inline] do_notify_resume+0x3cc/0x3c90 arch/arm64/kernel/signal.c:1302 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x90/0x15c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 The buggy address belongs to the object at ffff0000d6876000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 0 bytes inside of freed 4096-byte region [ffff0000d6876000, ffff0000d6877000) The buggy address belongs to the physical page: page:00000000c20ad6b8 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116870 head:00000000c20ad6b8 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 05ffc00000010200 ffff0000c0002a80 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d6875f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d6875f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d6876000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d6876080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000d6876100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ------------[ cut here ]------------ ODEBUG: assert_init not available (active state 0) object: 00000000a8a4dc46 object type: timer_list hint: hci_conn_timeout+0x0/0x3f4 net/bluetooth/hci_conn.c:976 WARNING: CPU: 1 PID: 6030 at lib/debugobjects.c:508 debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 Modules linked in: CPU: 1 PID: 6030 Comm: syz-executor.4 Tainted: G B 6.4.0-rc3-syzkaller-geb0f1697d729 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 lr : debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 sp : ffff80001e9073f0 x29: ffff80001e9073f0 x28: dfff800000000000 x27: ffff700003d20e8c x26: ffff0000df355638 x25: dfff800000000000 x24: ffff0000d68762b8 x23: ffff800012a719a0 x22: ffff8000115d1618 x21: 0000000000000000 x20: ffff8000125bb020 x19: ffff800012a71520 x18: 1fffe00036848bbe x17: 0000000000000000 x16: ffff800012381170 x15: 0000000000000002 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ebe071d792f57400 x8 : ebe071d792f57400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e906cd8 x4 : ffff800015f9e800 x3 : ffff80000835d3ec x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 debug_object_assert_init+0x318/0x3c8 lib/debugobjects.c:921 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __timer_delete+0xac/0x2f8 kernel/time/timer.c:1321 timer_delete+0x24/0x34 kernel/time/timer.c:1361 del_timer include/linux/timer.h:213 [inline] try_to_grab_pending+0x8c/0x618 kernel/workqueue.c:1282 __cancel_work_timer+0x118/0x540 kernel/workqueue.c:3235 cancel_delayed_work_sync+0x24/0x38 kernel/workqueue.c:3417 hci_conn_del+0x58/0x4b8 net/bluetooth/hci_conn.c:1118 hci_conn_hash_flush+0x190/0x210 net/bluetooth/hci_conn.c:2480 hci_dev_close_sync+0x894/0xf8c net/bluetooth/hci_sync.c:4941 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0x1cc/0x454 net/bluetooth/hci_core.c:2703 vhci_release+0x7c/0xcc drivers/bluetooth/hci_vhci.c:669 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 861709 hardirqs last enabled at (861709): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1378 [inline] hardirqs last enabled at (861709): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5095 hardirqs last disabled at (861708): [] __schedule+0x2b4/0x23b8 kernel/sched/core.c:6568 softirqs last enabled at (860576): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (860576): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (860295): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ODEBUG: assert_init not available (active state 0) object: 00000000ec14744b object type: timer_list hint: refcount_read include/linux/refcount.h:147 [inline] ODEBUG: assert_init not available (active state 0) object: 00000000ec14744b object type: timer_list hint: kref_read include/linux/kref.h:36 [inline] ODEBUG: assert_init not available (active state 0) object: 00000000ec14744b object type: timer_list hint: hci_dev_hold include/net/bluetooth/hci_core.h:1460 [inline] ODEBUG: assert_init not available (active state 0) object: 00000000ec14744b object type: timer_list hint: hci_connect_le_scan_remove net/bluetooth/hci_conn.c:222 [inline] ODEBUG: assert_init not available (active state 0) object: 00000000ec14744b object type: timer_list hint: hci_conn_auto_accept+0x0/0x58 net/bluetooth/hci_conn.c:685 WARNING: CPU: 1 PID: 6030 at lib/debugobjects.c:508 debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 Modules linked in: CPU: 1 PID: 6030 Comm: syz-executor.4 Tainted: G B W 6.4.0-rc3-syzkaller-geb0f1697d729 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 lr : debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 sp : ffff80001e9073f0 x29: ffff80001e9073f0 x28: dfff800000000000 x27: ffff700003d20e8c x26: ffff0000df355638 x25: dfff800000000000 x24: ffff0000d6876360 x23: ffff800012a719a0 x22: ffff8000115d1a0c x21: 0000000000000000 x20: ffff8000125bb020 x19: ffff800012a71520 x18: 1fffe00036848bbe x17: 0000000000000000 x16: ffff8000124340b0 x15: 0000000000000002 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ebe071d792f57400 x8 : ebe071d792f57400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e906cd8 x4 : ffff800015f9e800 x3 : ffff80000aa946e4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 debug_object_assert_init+0x318/0x3c8 lib/debugobjects.c:921 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __timer_delete+0xac/0x2f8 kernel/time/timer.c:1321 timer_delete+0x24/0x34 kernel/time/timer.c:1361 del_timer include/linux/timer.h:213 [inline] try_to_grab_pending+0x8c/0x618 kernel/workqueue.c:1282 __cancel_work_timer+0x118/0x540 kernel/workqueue.c:3235 cancel_delayed_work_sync+0x24/0x38 kernel/workqueue.c:3417 hci_conn_del+0x60/0x4b8 net/bluetooth/hci_conn.c:1119 hci_conn_hash_flush+0x190/0x210 net/bluetooth/hci_conn.c:2480 hci_dev_close_sync+0x894/0xf8c net/bluetooth/hci_sync.c:4941 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0x1cc/0x454 net/bluetooth/hci_core.c:2703 vhci_release+0x7c/0xcc drivers/bluetooth/hci_vhci.c:669 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 861709 hardirqs last enabled at (861709): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1378 [inline] hardirqs last enabled at (861709): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5095 hardirqs last disabled at (861708): [] __schedule+0x2b4/0x23b8 kernel/sched/core.c:6568 softirqs last enabled at (860576): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (860576): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (860295): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ODEBUG: assert_init not available (active state 0) object: 00000000bf741a0f object type: timer_list hint: hci_conn_idle+0x0/0x554 net/bluetooth/hci_conn.c:734 WARNING: CPU: 1 PID: 6030 at lib/debugobjects.c:508 debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 Modules linked in: CPU: 1 PID: 6030 Comm: syz-executor.4 Tainted: G B W 6.4.0-rc3-syzkaller-geb0f1697d729 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 lr : debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 sp : ffff80001e9073f0 x29: ffff80001e9073f0 x28: dfff800000000000 x27: ffff700003d20e8c x26: ffff0000df355638 x25: dfff800000000000 x24: ffff0000d6876408 x23: ffff800012a719a0 x22: ffff8000115d1a64 x21: 0000000000000000 x20: ffff8000125bb020 x19: ffff800012a71520 x18: 1fffe00036848bbe x17: 0000000000000000 x16: ffff8000124340b0 x15: 0000000000000002 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ebe071d792f57400 x8 : ebe071d792f57400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e906cd8 x4 : ffff800015f9e800 x3 : ffff80000aa946e4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: debug_print_object+0x15c/0x1d4 lib/debugobjects.c:505 debug_object_assert_init+0x318/0x3c8 lib/debugobjects.c:921 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __timer_delete+0xac/0x2f8 kernel/time/timer.c:1321 timer_delete+0x24/0x34 kernel/time/timer.c:1361 del_timer include/linux/timer.h:213 [inline] try_to_grab_pending+0x8c/0x618 kernel/workqueue.c:1282 __cancel_work_timer+0x118/0x540 kernel/workqueue.c:3235 cancel_delayed_work_sync+0x24/0x38 kernel/workqueue.c:3417 hci_conn_del+0x68/0x4b8 net/bluetooth/hci_conn.c:1120 hci_conn_hash_flush+0x190/0x210 net/bluetooth/hci_conn.c:2480 hci_dev_close_sync+0x894/0xf8c net/bluetooth/hci_sync.c:4941 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0x1cc/0x454 net/bluetooth/hci_core.c:2703 vhci_release+0x7c/0xcc drivers/bluetooth/hci_vhci.c:669 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 861709 hardirqs last enabled at (861709): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1378 [inline] hardirqs last enabled at (861709): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5095 hardirqs last disabled at (861708): [] __schedule+0x2b4/0x23b8 kernel/sched/core.c:6568 softirqs last enabled at (860576): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (860576): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (860295): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- Unable to handle kernel paging request at virtual address e0a7008b000002f1 KASAN: maybe wild-memory-access in range [0x053c045800001788-0x053c04580000178f] Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [e0a7008b000002f1] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6030 Comm: syz-executor.4 Tainted: G B W 6.4.0-rc3-syzkaller-geb0f1697d729 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __list_del_entry_valid+0x78/0x158 lib/list_debug.c:59 lr : __list_del_entry_valid+0x4c/0x158 lib/list_debug.c:47 sp : ffff80001e907820 x29: ffff80001e907820 x28: dfff800000000000 x27: 1ffff0000311f078 x26: ffff0000d1329ee0 x25: 1fffe0001ad0ec07 x24: ffff0000cfd54000 x23: dfff800000000000 x22: dfff800000000000 x21: 053c04580000178e x20: ffff0000d1329ee0 x19: ffff0000d6876000 x18: 1fffe00036848bbe x17: 0000000000000000 x16: ffff80000850af6c x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: ffff60001ad0ec3c x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80001a28f310 x8 : 00a7808b000002f1 x7 : 0000000000000000 x6 : ffff80001064feb8 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000aaeb514 x2 : dead000000000122 x1 : 0000000000000008 x0 : 0000000000000000 Call trace: __list_del_entry_valid+0x78/0x158 lib/list_debug.c:59 __list_del_entry include/linux/list.h:134 [inline] list_del_rcu include/linux/rculist.h:157 [inline] hci_conn_hash_del include/net/bluetooth/hci_core.h:1023 [inline] hci_conn_cleanup+0x14c/0x694 net/bluetooth/hci_conn.c:154 hci_conn_del+0x314/0x4b8 net/bluetooth/hci_conn.c:1162 hci_conn_hash_flush+0x190/0x210 net/bluetooth/hci_conn.c:2480 hci_dev_close_sync+0x894/0xf8c net/bluetooth/hci_sync.c:4941 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0x1cc/0x454 net/bluetooth/hci_core.c:2703 vhci_release+0x7c/0xcc drivers/bluetooth/hci_vhci.c:669 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 91008902 eb0202bf 54000520 d343fea8 (38766908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 91008902 add x2, x8, #0x22 4: eb0202bf cmp x21, x2 8: 54000520 b.eq 0xac // b.none c: d343fea8 lsr x8, x21, #3 * 10: 38766908 ldrb w8, [x8, x22] <-- trapping instruction