BUG: corrupted list in mgmt_pending_remove

Status: upstream: reported C repro on 2026/09/10 17:17
Reported-by: syzbot+7e3a8b2eb6fe6a61d6dd@syzkaller.appspotmail.com
First crash: 2d00h, last: 11h14m
Similar bugs (6)
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 syz, C unreliable 9 1467d 1487d 22/29 fixed on 2023/02/24 14:17
linux-5.15 BUG: corrupted list in mgmt_pending_remove 8 1 166d 166d 0/3 auto-obsoleted due to no activity on 2026/07/08 05:18
upstream BUG: corrupted list in mgmt_pending_remove bluetooth 19 syz, C error 44 469d 741d 29/29 fixed on 2025/08/06 17:37
linux-5.15 KASAN: use-after-free Read in mgmt_pending_remove 19 1 598d 598d 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 303d 300d 29/29 fixed on 2026/01/07 12:29
linux-6.1 KASAN: use-after-free Read in mgmt_pending_remove 19 1 316d 316d 0/3 auto-obsoleted due to no activity on 2026/02/08 16:52

Sample crash report:
list_del corruption, ffff8880766d9180->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:58!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 51 Comm: kworker/u5:0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: hci0 hci_cmd_sync_work
RIP: 0010:__list_del_entry_valid_or_report+0xe9/0x130 lib/list_debug.c:56
Code: 48 89 de e8 69 78 49 06 0f 0b 48 c7 c7 60 39 1d 8b 48 89 de e8 58 78 49 06 0f 0b 48 c7 c7 c0 39 1d 8b 48 89 de e8 47 78 49 06 <0f> 0b 48 c7 c7 20 3a 1d 8b 48 89 de e8 36 78 49 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90000bbfa00 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff8880766d9180 RCX: fc3d1c2f96d6db00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 1ffff1100ecdb233 R08: ffffc90000bbf707 R09: 1ffff92000177ee0
R10: dffffc0000000000 R11: fffff52000177ee1 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e0994d97d0 CR3: 0000000030a51000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 __list_del_entry_valid include/linux/list.h:124 [inline]
 __list_del_entry include/linux/list.h:215 [inline]
 list_del include/linux/list.h:229 [inline]
 mgmt_pending_remove+0x53/0x1f0 net/bluetooth/mgmt_util.c:317
 mgmt_add_adv_patterns_monitor_complete+0x45d/0x730 net/bluetooth/mgmt.c:5417
 hci_cmd_sync_work+0x24b/0x380 net/bluetooth/hci_sync.c:335
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0xe9/0x130 lib/list_debug.c:56
Code: 48 89 de e8 69 78 49 06 0f 0b 48 c7 c7 60 39 1d 8b 48 89 de e8 58 78 49 06 0f 0b 48 c7 c7 c0 39 1d 8b 48 89 de e8 47 78 49 06 <0f> 0b 48 c7 c7 20 3a 1d 8b 48 89 de e8 36 78 49 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90000bbfa00 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff8880766d9180 RCX: fc3d1c2f96d6db00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 1ffff1100ecdb233 R08: ffffc90000bbf707 R09: 1ffff92000177ee0
R10: dffffc0000000000 R11: fffff52000177ee1 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: dead000000000122
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e0994d97d0 CR3: 0000000030a51000 CR4: 00000000003506e0

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/10 22:53 linux-6.6.y 8b73de7da85f 1fe56c0a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 06:06 linux-6.6.y 8b73de7da85f 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 06:06 linux-6.6.y 8b73de7da85f 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 05:27 linux-6.6.y 8b73de7da85f 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 01:51 linux-6.6.y 8b73de7da85f 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 01:51 linux-6.6.y 8b73de7da85f 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 00:37 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 00:36 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 00:31 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/12 00:31 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/11 21:46 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/11 21:45 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/11 21:44 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/11 21:42 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/11 21:41 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/10 20:03 linux-6.6.y 8b73de7da85f 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/10 20:00 linux-6.6.y 8b73de7da85f 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/10 19:59 linux-6.6.y 8b73de7da85f 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
2026/09/10 17:16 linux-6.6.y 8b73de7da85f 1fe56c0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: corrupted list in mgmt_pending_remove
* Struck through repros no longer work on HEAD.