syzbot


WARNING: ODEBUG bug in hci_release_dev (2)

Status: upstream: reported on 2024/07/24 13:25
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+b170dbf55520ebf5969a@syzkaller.appspotmail.com
First crash: 49d, last: 18h01m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] WARNING: ODEBUG bug in hci_release_dev (2) 0 (1) 2024/07/24 13:25
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in hci_release_dev bluetooth 1 986d 978d 0/27 auto-closed as invalid on 2022/04/25 11:54

Sample crash report:
Bluetooth: hci0: Opcode 0x0401 failed: -22
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88806b024978 object type: timer_list hint: hci_cmd_timeout+0x0/0x260 net/bluetooth/hci_core.c:408
WARNING: CPU: 1 PID: 11942 at lib/debugobjects.c:515 debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:515
Modules linked in:
CPU: 1 UID: 0 PID: 11942 Comm: syz.0.1502 Not tainted 6.11.0-rc1-syzkaller-00334-ga5dbd76a8942 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:515
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 54 48 8b 14 dd 40 97 b0 8b 41 56 4c 89 e6 48 c7 c7 a0 8a b0 8b e8 ce 8d c3 fc 90 <0f> 0b 90 90 58 83 05 b5 cb 89 0b 01 48 83 c4 18 5b 5d 41 5c 41 5d
RSP: 0018:ffffc9000411f828 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffc9000b93b000
RDX: 0000000000040000 RSI: ffffffff814cc386 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff8bb09140
R13: ffffffff8b4f40e0 R14: ffffffff8a01b2e0 R15: ffffc9000411f938
FS:  00007f35de7e66c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f28b1157290 CR3: 000000004f494000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:990 [inline]
 debug_check_no_obj_freed+0x4b8/0x600 lib/debugobjects.c:1020
 slab_free_hook mm/slub.c:2219 [inline]
 slab_free mm/slub.c:4473 [inline]
 kfree+0x284/0x3b0 mm/slub.c:4594
 hci_release_dev+0x4d9/0x600 net/bluetooth/hci_core.c:2753
 bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:94
 device_release+0xa1/0x240 drivers/base/core.c:2581
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1fa/0x5b0 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3787
 hci_dev_put include/net/bluetooth/hci_core.h:1586 [inline]
 hci_inquiry+0x1f4/0x970 net/bluetooth/hci_core.c:400
 hci_sock_ioctl+0x2bb/0x880 net/bluetooth/hci_sock.c:1153
 sock_do_ioctl+0x116/0x280 net/socket.c:1222
 sock_ioctl+0x22e/0x6c0 net/socket.c:1341
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f35dd9779f9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f35de7e6048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f35ddb06130 RCX: 00007f35dd9779f9
RDX: 0000000020000040 RSI: 00000000800448f0 RDI: 000000000000000b
RBP: 00007f35dd9e58ee R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f35ddb06130 R15: 00007fffbd566208
 </TASK>

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/04 17:03 upstream a5dbd76a8942 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING: ODEBUG bug in hci_release_dev
2024/08/31 13:51 net fe1910f9337b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/26 11:00 net 8af174ea863c d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/24 17:47 net 8af174ea863c d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/01 21:13 net b9e7fc0aeda7 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/01 01:31 net 0bf50cead4c4 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/09/07 05:18 net-next f723224742fc 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/09/02 23:58 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/09/01 08:29 net-next 43d0035b2c6a 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/28 04:52 net-next f8fdda9e4f98 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/17 01:42 net-next 399117317001 76120936 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/15 00:57 net-next 2984e69a24af e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/08/03 00:01 net-next ce21e520fdef 53683cf2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/07/30 06:44 net-next 1722389b0d86 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/07/28 04:02 net-next 1722389b0d86 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/07/25 19:24 net-next d7e78951a8b8 32fcf98f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/07/21 16:09 net-next d7e78951a8b8 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/07/20 07:47 net-next d7e78951a8b8 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/07/20 07:46 net-next d7e78951a8b8 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
* Struck through repros no longer work on HEAD.