BUG: corrupted list in nvmet_fc_remove_port

Status: upstream: reported C repro on 2026/10/11 17:32
Subsystems: nvme
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+c98b21427617af7f547a@syzkaller.appspotmail.com
First crash: 1d17h, last: 1d15h
Cause bisection: failed (error log, bisect log)
  
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
3ac3e4c1 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ BUG: corrupted list in nvmet_fc_remove_port 2026/10/11 05:05 2026/10/11 05:06 2026/10/11 05:44 4f92358f
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [nvme?] BUG: corrupted list in nvmet_fc_remove_port 4 (9) 2026/10/12 13:11
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: corrupted list in nvmet_fc_remove_port 8 syz, C 4 7d14h 7d22h 0/3 upstream: reported C repro on 2026/10/05 00:02
linux-6.1 BUG: corrupted list in nvmet_fc_remove_port 8 syz, C 1 7d20h 7d20h 0/3 upstream: reported C repro on 2026/10/05 02:04
▶ ▼ Last patch testing requests (4)
Created Duration User Patch Repo Result
2026/10/12 12:42 27m hdanton@sina.com patch upstream report job log log
2026/10/12 10:33 20m hdanton@sina.com patch upstream report job log log
2026/10/12 07:59 21m hdanton@sina.com patch upstream report job log log
2026/10/12 05:11 18m hdanton@sina.com patch upstream report job log log

Sample crash report:
nvmet_tcp: enabling port 1 (127.0.0.1:4420)
 non-slab/vmalloc memory
list_del corruption. prev->next should be ffff88802af3b020, but was 0000000000000000. (prev=ffffffff9aecd340)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:64!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 5680 Comm: syz-executor403 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__list_del_entry_valid_or_report+0x15a/0x190 lib/list_debug.c:62
Code: e8 ab ea 37 fd 43 80 3c 2c 00 74 08 4c 89 ff e8 6c b1 58 fd 49 8b 17 48 c7 c7 40 71 cc 8b 48 89 de 4c 89 f9 e8 a7 7a 4c fc 90 <0f> 0b 4c 89 f7 e8 7c ea 37 fd 43 80 3c 2c 00 74 08 4c 89 ff e8 3d
RSP: 0018:ffffc90004cdfc30 EFLAGS: 00010246
RAX: 000000000000006d RBX: ffff88802af3b020 RCX: 7d3c36a647dfae00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000201 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed101708490b R12: 1ffffffff35d9a68
R13: dffffc0000000000 R14: ffffffff85f7f740 R15: ffffffff9aecd340
FS:  0000555594721400(0000) GS:ffff8881249bb000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555594721340 CR3: 0000000038dd8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __list_del_entry_valid include/linux/list.h:140 [inline]
 __list_del_entry include/linux/list.h:261 [inline]
 list_del include/linux/list.h:275 [inline]
 nvmet_fc_portentry_unbind drivers/nvme/target/fc.c:1281 [inline]
 nvmet_fc_remove_port+0x16b/0x320 drivers/nvme/target/fc.c:2927
 nvmet_disable_port+0x13e/0x1f0 drivers/nvme/target/core.c:400
 nvmet_port_subsys_drop_link+0x1e8/0x210 drivers/nvme/target/configfs.c:1123
 configfs_unlink+0x44f/0x6b0 fs/configfs/symlink.c:258
 vfs_unlink+0x27b/0x6e0 fs/namei.c:5678
 filename_unlinkat+0x3d3/0x610 fs/namei.c:5748
 __do_sys_unlinkat fs/namei.c:5777 [inline]
 __se_sys_unlinkat+0x83/0x1a0 fs/namei.c:5769
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0ad400d8b9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe650d4178 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000200000000780 RCX: 00007f0ad400d8b9
RDX: 0000000000000000 RSI: 0000200000000780 RDI: 00000000ffffff9c
RBP: 00000000000f4240 R08: 0000000000000009 R09: 0000000000000009
R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000014e22
R13: 00007ffe650d418c R14: 00007ffe650d41a0 R15: 00007ffe650d4190
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x15a/0x190 lib/list_debug.c:62
Code: e8 ab ea 37 fd 43 80 3c 2c 00 74 08 4c 89 ff e8 6c b1 58 fd 49 8b 17 48 c7 c7 40 71 cc 8b 48 89 de 4c 89 f9 e8 a7 7a 4c fc 90 <0f> 0b 4c 89 f7 e8 7c ea 37 fd 43 80 3c 2c 00 74 08 4c 89 ff e8 3d
RSP: 0018:ffffc90004cdfc30 EFLAGS: 00010246
RAX: 000000000000006d RBX: ffff88802af3b020 RCX: 7d3c36a647dfae00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000201 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed101708490b R12: 1ffffffff35d9a68
R13: dffffc0000000000 R14: ffffffff85f7f740 R15: ffffffff9aecd340
FS:  0000555594721400(0000) GS:ffff8881249bb000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555594721340 CR3: 0000000038dd8000 CR4: 00000000003526f0

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/11 07:17 upstream a5ebb76233b7 4f92358f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: corrupted list in nvmet_fc_remove_port
2026/10/11 05:05 upstream a5ebb76233b7 4f92358f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: corrupted list in nvmet_fc_remove_port
* Struck through repros no longer work on HEAD.