BUG: corrupted list in nvmet_fc_remove_port

Status: upstream: reported C repro on 2026/10/05 00:02
Reported-by: syzbot+97852c0cff28ad39e9b7@syzkaller.appspotmail.com
First crash: 9d18h, last: 9d10h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in nvmet_fc_remove_port nvme prio:normal 8 syz, C error 2 3d11h 3d01h 0/29 upstream: reported C repro on 2026/10/11 17:32
linux-6.1 BUG: corrupted list in nvmet_fc_remove_port 8 syz, C 1 9d16h 9d16h 0/3 upstream: reported C repro on 2026/10/05 02:04

Sample crash report:
nvmet_tcp: enabling port 1 (127.0.0.1:4420)
list_del corruption. prev->next should be ffff888078ab2420, but was 0000000000000000
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4474 Comm: syz.3.68 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 48 89 de e8 cb f3 c9 05 0f 0b 48 c7 c7 c0 4f 7a 8a 48 89 de e8 ba f3 c9 05 0f 0b 48 c7 c7 20 50 7a 8a 48 89 de e8 a9 f3 c9 05 <0f> 0b 48 c7 c7 80 50 7a 8a 48 89 de e8 98 f3 c9 05 0f 0b 00 00 cc
RSP: 0018:ffffc9000381fc50 EFLAGS: 00010046

RAX: 0000000000000054 RBX: ffff888078ab2420 RCX: e7012d8727f10a00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff8880b902795b R09: 1ffff11017204f2b
R10: dffffc0000000000 R11: ffffed1017204f2c R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff85191ce0 R15: ffffffff9665c480
FS:  00005555568ca500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31163fff CR3: 00000000206b9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:139 [inline]
 list_del include/linux/list.h:153 [inline]
 nvmet_fc_portentry_unbind drivers/nvme/target/fc.c:1288 [inline]
 nvmet_fc_remove_port+0xa6/0x1d0 drivers/nvme/target/fc.c:2895
 nvmet_disable_port+0x134/0x1e0 drivers/nvme/target/core.c:378
 nvmet_port_subsys_drop_link+0x1e4/0x210 drivers/nvme/target/configfs.c:877
 configfs_unlink+0x452/0x6b0 fs/configfs/symlink.c:250
 vfs_unlink+0x376/0x600 fs/namei.c:4331
 do_unlinkat+0x391/0x710 fs/namei.c:4399
 __do_sys_unlinkat fs/namei.c:4442 [inline]
 __se_sys_unlinkat fs/namei.c:4435 [inline]
 __x64_sys_unlinkat+0xd1/0xe0 fs/namei.c:4435
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1f96e9d159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffee7cdb0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f1f97124fa0 RCX: 00007f1f96e9d159
RDX: 0000000000000000 RSI: 0000200000000780 RDI: ffffffffffffff9c
RBP: 00007f1f96f3406b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1f97124fac R14: 00007f1f97124fa0 R15: 00007f1f97124fa0
 </TASK>
Modules linked in:
---[ end trace 6646f21ea73107cc ]---
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 48 89 de e8 cb f3 c9 05 0f 0b 48 c7 c7 c0 4f 7a 8a 48 89 de e8 ba f3 c9 05 0f 0b 48 c7 c7 20 50 7a 8a 48 89 de e8 a9 f3 c9 05 <0f> 0b 48 c7 c7 80 50 7a 8a 48 89 de e8 98 f3 c9 05 0f 0b 00 00 cc
RSP: 0018:ffffc9000381fc50 EFLAGS: 00010046
RAX: 0000000000000054 RBX: ffff888078ab2420 RCX: e7012d8727f10a00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff8880b902795b R09: 1ffff11017204f2b
R10: dffffc0000000000 R11: ffffed1017204f2c R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff85191ce0 R15: ffffffff9665c480
FS:  00005555568ca500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31163fff CR3: 00000000206b9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/05 08:34 linux-5.15.y a051a4bf909f 57bbd979 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in nvmet_fc_remove_port
2026/10/05 05:10 linux-5.15.y a051a4bf909f 57bbd979 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in nvmet_fc_remove_port
2026/10/05 00:04 linux-5.15.y a051a4bf909f 57bbd979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in nvmet_fc_remove_port
2026/10/05 00:01 linux-5.15.y a051a4bf909f 57bbd979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in nvmet_fc_remove_port
* Struck through repros no longer work on HEAD.