syzbot


WARNING: ODEBUG bug in bt_host_release

Status: auto-closed as invalid on 2021/06/11 00:58
Reported-by: syzbot+7f4796d30220601449ac@syzkaller.appspotmail.com
First crash: 1392d, last: 1392d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in bt_host_release bluetooth syz done done 7 1331d 1584d 22/28 fixed on 2022/09/20 07:46
linux-4.14 WARNING: ODEBUG bug in bt_host_release syz error 2 1009d 1564d 0/1 upstream: reported syz repro on 2020/08/22 10:22

Sample crash report:
Bluetooth: hci0: command 0x0401 tx timeout
Bluetooth: hci4: command 0x0401 tx timeout
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:4950
WARNING: CPU: 0 PID: 12520 at lib/debugobjects.c:325 debug_print_object+0x160/0x250 syzkaller/managers/linux-4-19/kernel/lib/debugobjects.c:325
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 12520 Comm: syz-executor.5 Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118
 panic+0x26a/0x50e syzkaller/managers/linux-4-19/kernel/kernel/panic.c:186
 __warn.cold+0x20/0x5a syzkaller/managers/linux-4-19/kernel/kernel/panic.c:541
 report_bug+0x262/0x2b0 syzkaller/managers/linux-4-19/kernel/lib/bug.c:186
 fixup_bug syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/traps.c:178 [inline]
 fixup_bug syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:1038
RIP: 0010:debug_print_object+0x160/0x250 syzkaller/managers/linux-4-19/kernel/lib/debugobjects.c:325
Code: dd c0 cd b3 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd c0 cd b3 88 48 c7 c7 e0 c1 b3 88 e8 e5 04 7a 04 <0f> 0b 83 05 13 4e b1 07 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89
RSP: 0018:ffff888092d4f888 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 000000000001ab82 RSI: ffffffff814de0d1 RDI: ffffed10125a9f03
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: ffffffff8c65d01b R12: ffffffff89f90880
R13: ffffffff8152f1f0 R14: ffff8880a66ed2d8 R15: dffffc0000000000
 __debug_check_no_obj_freed syzkaller/managers/linux-4-19/kernel/lib/debugobjects.c:785 [inline]
 debug_check_no_obj_freed+0x271/0x490 syzkaller/managers/linux-4-19/kernel/lib/debugobjects.c:817
 kfree+0xb9/0x210 syzkaller/managers/linux-4-19/kernel/mm/slab.c:3821
 bt_host_release+0x15/0x20 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_sysfs.c:86
 device_release+0x76/0x210 syzkaller/managers/linux-4-19/kernel/drivers/base/core.c:1076
 kobject_cleanup syzkaller/managers/linux-4-19/kernel/lib/kobject.c:662 [inline]
 kobject_release syzkaller/managers/linux-4-19/kernel/lib/kobject.c:691 [inline]
 kref_put syzkaller/managers/linux-4-19/kernel/./include/linux/kref.h:70 [inline]
 kobject_put+0x28b/0x5d0 syzkaller/managers/linux-4-19/kernel/lib/kobject.c:708
 put_device+0x1c/0x30 syzkaller/managers/linux-4-19/kernel/drivers/base/core.c:2266
 hci_dev_put syzkaller/managers/linux-4-19/kernel/./include/net/bluetooth/hci_core.h:1009 [inline]
 hci_inquiry+0x5af/0x920 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_core.c:1354
 hci_sock_ioctl+0x1a7/0x7d0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_sock.c:1048
 sock_do_ioctl+0xcb/0x2d0 syzkaller/managers/linux-4-19/kernel/net/socket.c:950
 sock_ioctl+0x2ef/0x5d0 syzkaller/managers/linux-4-19/kernel/net/socket.c:1074
 vfs_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:46 [inline]
 file_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:705
 __do_sys_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:712 [inline]
 __se_sys_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x465b09
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0f090f0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09
RDX: 0000000020000240 RSI: 00000000800448f0 RDI: 0000000000000005
RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffd41950eff R14: 00007f0f090f0300 R15: 0000000000022000
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/11 00:57 linux-4.19.y 811218eceeaa a52ee10a .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in bt_host_release
* Struck through repros no longer work on HEAD.