syzbot


BUG: corrupted list in mgmt_pending_remove

Status: upstream: reported on 2026/03/30 05:18
Reported-by: syzbot+2ddf7c7bd890988ef41a@syzkaller.appspotmail.com
First crash: 13d, last: 13d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: use-after-free Read in mgmt_pending_remove bluetooth 19 C unreliable 9 1314d 1334d 22/29 fixed on 2023/02/24 14:17
upstream BUG: corrupted list in mgmt_pending_remove bluetooth 19 C error 44 316d 588d 29/29 fixed on 2025/08/06 17:37
linux-5.15 KASAN: use-after-free Read in mgmt_pending_remove 19 1 445d 445d 0/3 auto-obsoleted due to no activity on 2025/05/01 22:08
upstream KASAN: slab-use-after-free Read in mgmt_pending_remove bluetooth 19 syz 2 150d 147d 29/29 fixed on 2026/01/07 12:29
linux-6.1 KASAN: use-after-free Read in mgmt_pending_remove 19 1 162d 162d 0/3 auto-obsoleted due to no activity on 2026/02/08 16:52

Sample crash report:
list_del corruption, ffff88802ab44e80->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:55!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4197 Comm: kworker/u5:4 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: hci0 hci_power_on
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 48 89 de e8 ed 9b c9 05 0f 0b 48 c7 c7 00 fd 79 8a 48 89 de e8 dc 9b c9 05 0f 0b 48 c7 c7 60 fd 79 8a 48 89 de e8 cb 9b c9 05 <0f> 0b 48 c7 c7 c0 fd 79 8a 48 89 de e8 ba 9b c9 05 0f 0b 48 c7 c7
RSP: 0018:ffffc900033afb00 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff88802ab44e80 RCX: 3a17e44d1ee90f00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900033afc30 R08: ffff8880b9133d7f R09: 1ffff110172267af
R10: dffffc0000000000 R11: ffffed10172267b0 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8496cf5eb8 CR3: 000000002b394000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:132 [inline]
 list_del include/linux/list.h:146 [inline]
 mgmt_pending_remove+0x24/0x1a0 net/bluetooth/mgmt_util.c:268
 hci_power_on+0x2c7/0x610 net/bluetooth/hci_core.c:2268
 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310
 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace 95ca6ada2511f427 ]---
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 48 89 de e8 ed 9b c9 05 0f 0b 48 c7 c7 00 fd 79 8a 48 89 de e8 dc 9b c9 05 0f 0b 48 c7 c7 60 fd 79 8a 48 89 de e8 cb 9b c9 05 <0f> 0b 48 c7 c7 c0 fd 79 8a 48 89 de e8 ba 9b c9 05 0f 0b 48 c7 c7
RSP: 0018:ffffc900033afb00 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff88802ab44e80 RCX: 3a17e44d1ee90f00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900033afc30 R08: ffff8880b9133d7f R09: 1ffff110172267af
R10: dffffc0000000000 R11: ffffed10172267b0 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8496cf5eb8 CR3: 000000002b394000 CR4: 00000000003506e0
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
2026/03/30 05:17 linux-5.15.y 91d48252ad4b b5ceaad2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in mgmt_pending_remove
* Struck through repros no longer work on HEAD.