syzbot


BUG: corrupted list in hci_conn_del_sysfs

Status: auto-obsoleted due to no activity on 2023/02/24 17:48
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+1c67b5b16a787760811b@syzkaller.appspotmail.com
First crash: 567d, last: 545d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: corrupted list in hci_conn_del_sysfs 0 (1) 2022/10/16 00:15
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: corrupted list in hci_conn_del_sysfs C error 7 461d 559d 0/1 upstream: reported C repro on 2022/10/13 16:32
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/02/04 18:32 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log

Sample crash report:
Bluetooth: hci0: failed to register connection device
list_del corruption. prev->next should be ffff0000c7b86540, but was ffff0000c923f540. (prev=ffff0000c923f540)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3033 Comm: kworker/u5:2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Workqueue: hci0 hci_rx_work
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __list_del_entry_valid+0xbc/0xd0 lib/list_debug.c:59
lr : __list_del_entry_valid+0xbc/0xd0 lib/list_debug.c:59
sp : ffff80001273baa0
x29: ffff80001273baa0 x28: ffff80000c5286b0 x27: ffff0000c903c100
x26: ffff0000c7b86648 x25: ffff0000c7b86658 x24: 0000000000000000
x23: ffff0000c37c3500 x22: 0000000004208060 x21: 000000000000000c
x20: ffff0000c7b86540 x19: ffff0000c7b86538 x18: 00000000000000c0
x17: 20747562202c3034 x16: ffff80000db49158 x15: ffff0000c37c3500
x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c37c3500
x11: ff808000081c0d5c x10: 0000000000000000 x9 : 0333914f3ceeb000
x8 : 0333914f3ceeb000 x7 : ffff80000819545c x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0001fefbecd0 x1 : 0000000100000001 x0 : 000000000000006d
Call trace:
 __list_del_entry_valid+0xbc/0xd0 lib/list_debug.c:59
 __list_del_entry include/linux/list.h:134 [inline]
 list_del_init include/linux/list.h:206 [inline]
 kobj_kset_leave lib/kobject.c:175 [inline]
 __kobject_del+0xa8/0x1f8 lib/kobject.c:592
 kobject_del+0x28/0x110 lib/kobject.c:611
 device_del+0x46c/0x5bc drivers/base/core.c:3715
 hci_conn_del_sysfs+0xb0/0xfc net/bluetooth/hci_sysfs.c:78
 hci_conn_cleanup+0x2d4/0x380 net/bluetooth/hci_conn.c:147
 hci_conn_del+0x144/0x2a8 net/bluetooth/hci_conn.c:1022
 hci_le_cis_estabilished_evt+0x1c4/0x21c net/bluetooth/hci_event.c:6805
 hci_le_meta_evt+0x1e4/0x230 net/bluetooth/hci_event.c:7110
 hci_event_func net/bluetooth/hci_event.c:7440 [inline]
 hci_event_packet+0x4e0/0x60c net/bluetooth/hci_event.c:7495
 hci_rx_work+0x1a4/0x2f4 net/bluetooth/hci_core.c:4007
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
Code: d001b460 91346000 aa0803e3 94a76157 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/16 00:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 67cb024c .config console log report syz C [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/27 17:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 86777b7f .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/25 15:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 45645420 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/25 09:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 45645420 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/21 07:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 63e790dd .config console log report info ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/20 19:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 a0fd4dab .config console log report info ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/20 07:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 b31320fc .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/19 21:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 b31320fc .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/19 20:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 b31320fc .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/18 10:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/10 18:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/09 19:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/06 00:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2c6543ad .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
2022/10/05 17:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 267e3bb1 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in hci_conn_del_sysfs
* Struck through repros no longer work on HEAD.