syzbot


BUG: corrupted list in kobj_kset_join

Status: auto-obsoleted due to no activity on 2023/01/09 17:20
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+5a2d2b4a8ca80ad216a9@syzkaller.appspotmail.com
First crash: 589d, last: 589d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] BUG: corrupted list in kobject_add_internal (4) 7 (8) 2022/09/20 20:23
[syzbot] BUG: corrupted list in kobj_kset_join 0 (1) 2022/09/15 17:23
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/20 17:31 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2022/09/19 07:31 15m yin31149@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log

Sample crash report:
list_add double add: new=ffff0000caf13540, prev=ffff0000caf13540, next=ffff0000c0368000.
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:35!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 44 Comm: kworker/u5:0 Not tainted 6.0.0-rc4-syzkaller-17255-ga6b443748715 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: hci0 hci_rx_work
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __list_add_valid+0x68/0xb8 lib/list_debug.c:33
lr : __list_add_valid+0x68/0xb8 lib/list_debug.c:33
sp : ffff80000f683a70
x29: ffff80000f683a70 x28: ffff80000c537f58 x27: ffff0000c91b9300
x26: ffff80000b95b3bc x25: 000000000000001c x24: 000000000000001c
x23: ffff0000caf13558 x22: ffff0000c0368000 x21: ffff0000caf13540
x20: ffff0000caf13540 x19: ffff0000caf13538 x18: 00000000000000c0
x17: 3034353331666163 x16: ffff80000db78658 x15: ffff0000c0d93500
x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c0d93500
x11: ff808000081c1fa0 x10: 0000000000000000 x9 : 67eb532626346d00
x8 : 67eb532626346d00 x7 : ffff8000081965e0 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0001fefddcd0 x1 : 0000000000000001 x0 : 0000000000000058
Call trace:
 __list_add_valid+0x68/0xb8 lib/list_debug.c:33
 __list_add include/linux/list.h:69 [inline]
 list_add_tail include/linux/list.h:102 [inline]
 kobj_kset_join+0xd0/0x14c lib/kobject.c:164
 kobject_add_internal+0x1b8/0x530 lib/kobject.c:214
 kobject_add_varg lib/kobject.c:358 [inline]
 kobject_add+0xb8/0x130 lib/kobject.c:410
 device_add+0x248/0x958 drivers/base/core.c:3452
 hci_conn_add_sysfs+0x4c/0xf4 net/bluetooth/hci_sysfs.c:53
 hci_le_cis_estabilished_evt+0x180/0x21c net/bluetooth/hci_event.c:6799
 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
Code: 9001b4c0 911b6c00 aa0803e2 94a795bf (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/11 17:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 356d8217 .config console log report syz C [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: corrupted list in kobj_kset_join
* Struck through repros no longer work on HEAD.