syzbot


BUG: corrupted list in p9_conn_cancel

Status: premoderation: reported on 2024/12/28 03:34
Reported-by: syzbot+6c57807825f0f5b3669e@syzkaller.appspotmail.com
First crash: 18d, last: 18d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in p9_conn_cancel (3) v9fs 1 517d 513d 0/28 auto-obsoleted due to no activity on 2023/11/14 18:11
upstream BUG: corrupted list in p9_conn_cancel (2) v9fs 1 707d 703d 0/28 auto-obsoleted due to no activity on 2023/05/08 23:23
linux-4.14 BUG: corrupted list in p9_conn_cancel syz error 5 1683d 1933d 0/1 upstream: reported syz repro on 2019/10/01 03:22
upstream BUG: corrupted list in p9_conn_cancel v9fs C done 18 2281d 2381d 13/28 fixed on 2019/11/11 16:48

Sample crash report:
list_del corruption, ffff88811c27e140->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:55!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 850 Comm: kworker/0:7 Not tainted 6.1.118-syzkaller-00077-g3f924195e222 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events p9_read_work
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 83 65 9d 02 0f 0b 48 c7 c7 a0 17 ea 85 4c 89 fe e8 72 65 9d 02 0f 0b 48 c7 c7 00 18 ea 85 4c 89 fe e8 61 65 9d 02 <0f> 0b 48 c7 c7 60 18 ea 85 4c 89 fe e8 50 65 9d 02 0f 0b 48 c7 c7
RSP: 0018:ffffc9000fdcfaf0 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 01a13b8800df4800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000fdcfb10 R08: ffffffff815b4c55 R09: fffff52001fb9ef9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: ffff88811c27e140
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e00dff8 CR3: 000000000700f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:134 [inline]
 list_del include/linux/list.h:148 [inline]
 p9_conn_cancel+0x5bc/0x7f0 net/9p/trans_fd.c:216
 p9_read_work+0x54f/0x1090 net/9p/trans_fd.c:408
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 83 65 9d 02 0f 0b 48 c7 c7 a0 17 ea 85 4c 89 fe e8 72 65 9d 02 0f 0b 48 c7 c7 00 18 ea 85 4c 89 fe e8 61 65 9d 02 <0f> 0b 48 c7 c7 60 18 ea 85 4c 89 fe e8 50 65 9d 02 0f 0b 48 c7 c7
RSP: 0018:ffffc9000fdcfaf0 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 01a13b8800df4800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000fdcfb10 R08: ffffffff815b4c55 R09: fffff52001fb9ef9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: dead000000000100 R15: ffff88811c27e140
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e41dff8 CR3: 0000000112ab7000 CR4: 00000000003506b0
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
2024/12/28 03:33 android14-6.1 3f924195e222 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_conn_cancel
* Struck through repros no longer work on HEAD.