syzbot


WARNING: ODEBUG bug in hci_release_dev (2)

Status: upstream: reported syz repro on 2024/07/24 13:25
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+b170dbf55520ebf5969a@syzkaller.appspotmail.com
First crash: 123d, last: 27d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] WARNING: ODEBUG bug in hci_release_dev (2) 0 (2) 2024/10/14 23:11
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in hci_release_dev bluetooth 1 1060d 1052d 0/28 auto-closed as invalid on 2022/04/25 11:54
linux-5.15 WARNING: ODEBUG bug in hci_release_dev 2 56d 72d 0/3 upstream: reported on 2024/09/09 22:12
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/11/07 19:35 22m retest repro net OK log

Sample crash report:
Bluetooth: hci0: Opcode 0x0401 failed: -22
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff888028b5c978 object type: timer_list hint: hci_cmd_timeout+0x0/0x260 net/bluetooth/hci_core.c:408
WARNING: CPU: 0 PID: 9520 at lib/debugobjects.c:514 debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:514
Modules linked in:
CPU: 0 UID: 0 PID: 9520 Comm: syz.5.633 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:514
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 54 48 8b 14 dd 80 bc d1 8b 41 56 4c 89 e6 48 c7 c7 e0 af d1 8b e8 fe 25 b9 fc 90 <0f> 0b 90 90 58 83 05 4d 34 ca 0b 01 48 83 c4 18 5b 5d 41 5c 41 5d
RSP: 0018:ffffc9000b62f818 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffc900042b1000
RDX: 0000000000040000 RSI: ffffffff814e71b6 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff8bd1b680
R13: ffffffff8b6f77c0 R14: ffffffff8a120070 R15: ffffc9000b62f928
FS:  00007f296583a6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd8a6f37a8c CR3: 000000002755c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
 debug_check_no_obj_freed+0x4b8/0x600 lib/debugobjects.c:1019
 slab_free_hook mm/slub.c:2273 [inline]
 slab_free mm/slub.c:4579 [inline]
 kfree+0x2b3/0x4b0 mm/slub.c:4727
 hci_release_dev+0x4d9/0x600 net/bluetooth/hci_core.c:2759
 bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:94
 device_release+0xa1/0x240 drivers/base/core.c:2575
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1e4/0x5a0 lib/kobject.c:737
 put_device+0x1f/0x30 drivers/base/core.c:3783
 hci_dev_put include/net/bluetooth/hci_core.h:1581 [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:1227
 sock_ioctl+0x228/0x6c0 net/socket.c:1346
 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+0x18f/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:0x7f296497e719
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:00007f296583a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2964b36058 RCX: 00007f296497e719
RDX: 0000000020000000 RSI: 00000000800448f0 RDI: 000000000000000a
RBP: 00007f29649f12be R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f2964b36058 R15: 00007fffdbd507c8
 </TASK>

Crashes (42):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/24 18:31 upstream c2ee9f594da8 9fc8fe02 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING: ODEBUG bug in hci_release_dev
2024/10/18 03:28 upstream 6efbea77b390 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING: ODEBUG bug in hci_release_dev
2024/09/19 22:39 upstream 2a17bb8c204f 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: ODEBUG bug in hci_release_dev
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/10/16 07:27 upstream 2f87d0916ce0 bde2d81c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: ODEBUG bug in hci_release_dev
2024/10/07 06:17 upstream 2a130b7e1fcd d7906eff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: ODEBUG bug in hci_release_dev
2024/09/09 19:10 upstream da3ea35007d0 8f722c94 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: ODEBUG bug in hci_release_dev
2024/10/23 18:41 net 34d35b4edbbe 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/21 04:58 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/14 23:10 net 0b84db5d8f25 b01b6661 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/14 21:14 net 0b84db5d8f25 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/10 09:06 net a354733c738d 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/07 09:45 net 9234a2549cb6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/04 03:47 net 55e802468e1d d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/01 10:09 net 6c24a03a61a2 bbd4e0a4 .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/29 03:17 net d505d3593b52 ba29ff75 .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/25 21:45 net 0cbfd45fbcf0 349a68c4 .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/17 00:26 net 9410645520e9 49cf0773 .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/13 19:40 net 1f2e900ac26f 158f4851 .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/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/10/23 17:05 net-next 6d858708d465 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/21 13:23 net-next 6d858708d465 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/15 02:40 net-next 76d37e4fd638 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/10/06 06:03 net-next d521db38f339 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: ODEBUG bug in hci_release_dev
2024/09/12 23:39 net-next 3cfb5aa10cb7 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-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.