syzbot


BUG: corrupted list in p9_read_work

Status: upstream: reported syz repro on 2019/10/20 09:47
Reported-by: syzbot+56fb89065f70cacfbd9a@syzkaller.appspotmail.com
First crash: 1650d, last: 1377d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in p9_read_work v9fs syz 23 1999d 2111d 11/26 fixed on 2018/11/12 21:25
upstream BUG: corrupted list in p9_read_work (2) v9fs syz done error 38 1619d 1981d 15/26 fixed on 2020/09/16 22:51
linux-4.14 BUG: corrupted list in p9_read_work syz inconclusive 4 1421d 1608d 0/1 upstream: reported syz repro on 2019/11/30 22:01
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/08/28 09:27 12m retest repro linux-4.19.y error OK
2022/08/28 07:27 13m retest repro linux-4.19.y error OK

Sample crash report:
FS-Cache: N-cookie c=0000000083737deb [p=00000000983acc47 fl=2 nc=0 na=1]
FS-Cache: N-cookie d=00000000823c5dbb n=0000000040731d01
FS-Cache: N-key=[10] '34323934393534303837'
list_del corruption, ffff888095286cb0->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:45!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 19 Comm: kworker/1:0 Not tainted 4.19.133-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events p9_read_work
RIP: 0010:__list_del_entry_valid.cold+0x23/0x55 lib/list_debug.c:45
Code: e8 06 37 f4 fd 0f 0b 48 89 ee 48 c7 c7 00 07 cb 87 e8 f5 36 f4 fd 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 40 06 cb 87 e8 e1 36 f4 fd <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 a0 06 cb 87 e8 cd 36 f4 fd 0f 0b
RSP: 0018:ffff8880a9f7fc60 EFLAGS: 00010282
RAX: 000000000000004e RBX: ffff888095286c00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8154cd91 RDI: ffffed10153eff7e
RBP: ffff888095286cb0 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff88809ac2bd38 R15: ffff88809ac2bd48
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000955fa000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 p9_read_work+0x9cc/0xfc0 net/9p/trans_fd.c:378
 process_one_work+0x864/0x1570 kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
 kthread+0x30b/0x410 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace cf7e120b68ac1fbc ]---
RIP: 0010:__list_del_entry_valid.cold+0x23/0x55 lib/list_debug.c:45
Code: e8 06 37 f4 fd 0f 0b 48 89 ee 48 c7 c7 00 07 cb 87 e8 f5 36 f4 fd 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 40 06 cb 87 e8 e1 36 f4 fd <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 a0 06 cb 87 e8 cd 36 f4 fd 0f 0b
RSP: 0018:ffff8880a9f7fc60 EFLAGS: 00010282
RAX: 000000000000004e RBX: ffff888095286c00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8154cd91 RDI: ffffed10153eff7e
RBP: ffff888095286cb0 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff88809ac2bd38 R15: ffff88809ac2bd48
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000955fa000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/19 04:48 linux-4.19.y 17a87580a885 9c812472 .config console log report syz ci2-linux-4-19
2019/10/20 08:46 linux-4.19.y c3038e718a19 8c88c9c1 .config console log report syz ci2-linux-4-19
2019/12/21 12:08 linux-4.19.y 672481c2deff bc586918 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.