syzbot


upstream test error: BUG: corrupted list in worker_enter_idle

Status: upstream: reported on 2025/02/01 21:26
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+418416ca0fea920ad5c0@syzkaller.appspotmail.com
First crash: 7d09h, last: 7d09h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] upstream test error: BUG: corrupted list in worker_enter_idle 0 (1) 2025/02/01 21:26

Sample crash report:
Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
 slab kmalloc-192 start ffff88811a55b180 pointer offset 0 size 192
list_add corruption. next->prev should be prev (ffff88810315c040), but was 0000000000000000. (next=ffff88811a55b180).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:31!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI
CPU: 1 UID: 0 PID: 6062 Comm: kworker/u9:2 Not tainted 6.13.0-syzkaller-09196-gcd45f362fc1f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue:  0x0 (hci0)
RIP: 0010:__list_add_valid_or_report+0x211/0x2a0 lib/list_debug.c:29
Code: c7 83 20 03 00 00 00 00 00 00 4d 85 db 74 05 e8 35 46 51 01 48 c7 c7 0d 2a 39 91 4c 89 ee 4c 89 e2 4c 89 f1 e8 10 90 fc ff 90 <0f> 0b 4c 89 ef e8 d5 de 1a 01 4d 8b 7d 00 4c 89 ef e8 d9 3a 51 01
RSP: 0018:ffff888012477c78 EFLAGS: 00010086
RAX: 0000000000000075 RBX: ffff88812f4dccc8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888012477ce8 R08: ffffffff81a6e036 R09: 0000000000000000
R10: ffff88823fc64a90 R11: 0000000000000004 R12: 0000000000000000
R13: ffff88810315c040 R14: ffff88811a55b180 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88813fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000ff846b34 CR3: 000000012f796000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_add_valid include/linux/list.h:88 [inline]
 __list_add include/linux/list.h:150 [inline]
 list_add include/linux/list.h:169 [inline]
 worker_enter_idle+0x5d3/0x870 kernel/workqueue.c:1047
 worker_thread+0x1261/0x14f0 kernel/workqueue.c:3410
 kthread+0x6b9/0xef0 kernel/kthread.c:464
 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_add_valid_or_report+0x211/0x2a0 lib/list_debug.c:29
Code: c7 83 20 03 00 00 00 00 00 00 4d 85 db 74 05 e8 35 46 51 01 48 c7 c7 0d 2a 39 91 4c 89 ee 4c 89 e2 4c 89 f1 e8 10 90 fc ff 90 <0f> 0b 4c 89 ef e8 d5 de 1a 01 4d 8b 7d 00 4c 89 ef e8 d9 3a 51 01
RSP: 0018:ffff888012477c78 EFLAGS: 00010086
RAX: 0000000000000075 RBX: ffff88812f4dccc8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888012477ce8 R08: ffffffff81a6e036 R09: 0000000000000000
R10: ffff88823fc64a90 R11: 0000000000000004 R12: 0000000000000000
R13: ffff88810315c040 R14: ffff88811a55b180 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88813fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000ff846b34 CR3: 000000012f796000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/28 21:20 upstream cd45f362fc1f f5427d7c .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root upstream test error: BUG: corrupted list in worker_enter_idle
* Struck through repros no longer work on HEAD.