syzbot


WARNING: ODEBUG bug in hci_release_dev

Status: upstream: reported on 2024/09/09 22:12
Reported-by: syzbot+20c2faed46b6168629fe@syzkaller.appspotmail.com
First crash: 27d, last: 11d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in hci_release_dev (2) bluetooth 30 2h22m 74d 0/28 upstream: reported on 2024/07/24 13:25
upstream WARNING: ODEBUG bug in hci_release_dev bluetooth 1 1015d 1007d 0/28 auto-closed as invalid on 2022/04/25 11:54

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x80
WARNING: CPU: 1 PID: 3570 at lib/debugobjects.c:520 debug_print_object lib/debugobjects.c:517 [inline]
WARNING: CPU: 1 PID: 3570 at lib/debugobjects.c:520 __debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
WARNING: CPU: 1 PID: 3570 at lib/debugobjects.c:520 debug_check_no_obj_freed+0x38e/0x4e0 lib/debugobjects.c:1002
Modules linked in:
CPU: 0 PID: 3570 Comm: syz-executor Not tainted 5.15.166-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:debug_print_object lib/debugobjects.c:517 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
RIP: 0010:debug_check_no_obj_freed+0x38e/0x4e0 lib/debugobjects.c:1002
Code: ef e8 06 0f bc fd 4c 8b 45 00 48 c7 c7 20 0a d9 8a 48 c7 c6 e0 06 d9 8a 48 c7 c2 80 0b d9 8a 8b 0c 24 49 89 d9 e8 52 f0 3d fd <0f> 0b ff 05 e2 7a db 09 48 83 c5 30 48 89 e8 48 c1 e8 03 48 b9 00
RSP: 0018:ffffc90002d07998 EFLAGS: 00010246
RAX: 17f25f6970760d00 RBX: ffffffff8152c840 RCX: ffff88801878bb80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff8a8caa40 R08: ffffffff816689dc R09: ffffed10172267a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880782fc798
R13: ffffffff96a8dbc8 R14: ffff8880782fe000 R15: ffff88807c4f60c8
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000028ac2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 slab_free_hook mm/slub.c:1680 [inline]
 slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kfree+0xf1/0x270 mm/slub.c:4559
 hci_release_dev+0x149e/0x1620 net/bluetooth/hci_core.c:4096
 bt_host_release+0x7f/0x90 net/bluetooth/hci_sysfs.c:92
 device_release+0x91/0x1c0
 kobject_cleanup lib/kobject.c:713 [inline]
 kobject_release lib/kobject.c:744 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x224/0x460 lib/kobject.c:761
 vhci_release+0x7b/0xc0 drivers/bluetooth/hci_vhci.c:346
 __fput+0x3fe/0x8e0 fs/file_table.c:280
 task_work_run+0x129/0x1a0 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:874
 do_group_exit+0x144/0x310 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0fecca9ef9
Code: Unable to access opcode bytes at RIP 0x7f0fecca9ecf.
RSP: 002b:00007ffdbafde4f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f0fecd1bf09 RCX: 00007f0fecca9ef9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000005 R08: 00007ffdbafdc297 R09: 00007ffdbafdf7b0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdbafdf7b0
R13: 00007f0fecd1bee4 R14: 0000000000011d9b R15: 00007ffdbafe0870
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/09 22:11 linux-5.15.y 14e468424d3e 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: ODEBUG bug in hci_release_dev
2024/09/25 16:44 linux-5.15.y 3a5928702e71 349a68c4 .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.