syzbot


WARNING: ODEBUG bug in hci_release_dev (2)

Status: upstream: reported on 2025/06/27 05:07
Reported-by: syzbot+b2f93094c00fd5ba07c6@syzkaller.appspotmail.com
First crash: 9d02h, last: 9d02h
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in hci_release_dev (2) bluetooth C error 300 6h34m 346d 0/29 upstream: reported C repro on 2024/07/24 13:25
upstream WARNING: ODEBUG bug in hci_release_dev bluetooth 1 1287d 1279d 0/29 auto-closed as invalid on 2022/04/25 11:54
linux-5.15 WARNING: ODEBUG bug in hci_release_dev 2 283d 299d 0/3 auto-obsoleted due to no activity on 2025/01/03 16:45
linux-6.1 WARNING: ODEBUG bug in hci_release_dev 1 189d 189d 0/3 auto-obsoleted due to no activity on 2025/04/07 09:11

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: arch_local_irq_disable arch/arm64/include/asm/irqflags.h:-1 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: arch_local_irq_save arch/arm64/include/asm/irqflags.h:112 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:1638
WARNING: CPU: 0 PID: 4027 at lib/debugobjects.c:521 debug_print_object lib/debugobjects.c:518 [inline]
WARNING: CPU: 0 PID: 4027 at lib/debugobjects.c:521 __debug_check_no_obj_freed lib/debugobjects.c:973 [inline]
WARNING: CPU: 0 PID: 4027 at lib/debugobjects.c:521 debug_check_no_obj_freed+0x38c/0x46c lib/debugobjects.c:1003
Modules linked in:
CPU: 0 PID: 4027 Comm: syz-executor Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : debug_print_object lib/debugobjects.c:518 [inline]
pc : __debug_check_no_obj_freed lib/debugobjects.c:973 [inline]
pc : debug_check_no_obj_freed+0x38c/0x46c lib/debugobjects.c:1003
lr : debug_print_object lib/debugobjects.c:518 [inline]
lr : __debug_check_no_obj_freed lib/debugobjects.c:973 [inline]
lr : debug_check_no_obj_freed+0x38c/0x46c lib/debugobjects.c:1003
sp : ffff80001f057730
x29: ffff80001f057770 x28: ffff0000c0ede000 x27: 0000000000000000
x26: ffff800011322ce0 x25: ffff0000c0edc798 x24: ffff8000081e6df0
x23: ffff0000c8772070 x22: 1fffe000195471e4 x21: dfff800000000000
x20: 0000000000000000 x19: ffff0000c0edc000 x18: 0000000000000002
x17: 0000000040000000 x16: ffff8000111a97c4 x15: 0000000000000002
x14: 0000000000ff0100 x13: 1ffff0000282c06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : fea0d21b00912000
x8 : fea0d21b00912000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a732684
x2 : ffff0001a10e9d10 x1 : 0000000100000000 x0 : 0000000000000061
Call trace:
 debug_print_object lib/debugobjects.c:518 [inline]
 __debug_check_no_obj_freed lib/debugobjects.c:973 [inline]
 debug_check_no_obj_freed+0x38c/0x46c lib/debugobjects.c:1003
 slab_free_hook mm/slub.c:1680 [inline]
 slab_free_freelist_hook+0x9c/0x1e8 mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kfree+0x170/0x40c mm/slub.c:4559
 hci_release_dev+0xfa8/0x10f0 net/bluetooth/hci_core.c:4096
 bt_host_release+0x70/0x8c net/bluetooth/hci_sysfs.c:85
 device_release+0x8c/0x1ac drivers/base/core.c:-1
 kobject_cleanup lib/kobject.c:713 [inline]
 kobject_release lib/kobject.c:744 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x2cc/0x454 lib/kobject.c:761
 put_device+0x28/0x40 drivers/base/core.c:3520
 hci_free_dev+0x24/0x34 net/bluetooth/hci_core.c:3895
 vhci_release+0x7c/0xc4 drivers/bluetooth/hci_vhci.c:346
 __fput+0x1c0/0x7f8 fs/file_table.c:311
 ____fput+0x20/0x30 fs/file_table.c:339
 task_work_run+0x12c/0x1e0 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x67c/0x1f58 kernel/exit.c:874
 do_group_exit+0x100/0x268 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1005
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 237714
hardirqs last  enabled at (237713): [<ffff800008244230>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline]
hardirqs last  enabled at (237713): [<ffff800008244230>] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:4784
hardirqs last disabled at (237714): [<ffff8000111a5098>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (237708): [<ffff80000819d1e8>] softirq_handle_end kernel/softirq.c:419 [inline]
softirqs last  enabled at (237708): [<ffff80000819d1e8>] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604
softirqs last disabled at (237701): [<ffff80000819d7ec>] __do_softirq kernel/softirq.c:610 [inline]
softirqs last disabled at (237701): [<ffff80000819d7ec>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (237701): [<ffff80000819d7ec>] invoke_softirq kernel/softirq.c:457 [inline]
softirqs last disabled at (237701): [<ffff80000819d7ec>] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:659
---[ end trace 63b7faffe47dd79c ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/27 05:07 linux-5.15.y 1c700860e8bc 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: ODEBUG bug in hci_release_dev
* Struck through repros no longer work on HEAD.