syzbot


BUG: corrupted list in p9_read_work

Status: upstream: reported syz repro on 2019/11/30 22:01
Reported-by: syzbot+cfb2d54d40b2cef84c78@syzkaller.appspotmail.com
First crash: 1776d, last: 1589d
Fix bisection the fix commit could be any of (bisect log):
  e1f7d50ae3a3 Linux 4.14.160
  4139fb08c05f Linux 4.14.187
  
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 2167d 2278d 11/28 fixed on 2018/11/12 21:25
upstream BUG: corrupted list in p9_read_work (2) v9fs syz done error 38 1787d 2148d 15/28 fixed on 2020/09/16 22:51
linux-4.19 BUG: corrupted list in p9_read_work syz error 3 1545d 1817d 0/1 upstream: reported syz repro on 2019/10/20 09:47
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/01/20 12:32 10m retest repro linux-4.14.y report log
2023/01/20 11:32 12m retest repro linux-4.14.y report log
2022/09/05 01:27 14m retest repro linux-4.14.y report log
2022/09/05 00:27 10m retest repro linux-4.14.y report log
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2020/07/04 23:34 36m bisect fix linux-4.14.y OK (2) job log
2020/06/04 23:08 26m bisect fix linux-4.14.y OK (0) job log log
2020/05/05 22:32 34m bisect fix linux-4.14.y OK (0) job log log
2020/04/05 22:05 27m bisect fix linux-4.14.y OK (0) job log log
2020/02/26 03:06 32m bisect fix linux-4.14.y OK (0) job log log
2020/01/27 02:29 36m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready
8021q: adding VLAN 0 to HW filter on device batadv0
list_del corruption, ffff8880889e3328->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kobject: '9p-121': free name
kernel BUG at lib/list_debug.c:45!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 23 Comm: kworker/1:1 Not tainted 4.14.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events p9_read_work
task: ffff8880a9eca600 task.stack: ffff8880a9ed0000
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4f lib/list_debug.c:45
RSP: 0018:ffff8880a9ed7c70 EFLAGS: 00010286
RAX: 000000000000004e RBX: ffff8880889e3300 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86cc4480 RDI: ffffed10153daf84
RBP: ffff8880a9ed7c88 R08: 000000000000004e R09: ffff8880a9ecaef0
R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff8880889e3328 R15: 0000000000000004
FS:  0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000400200 CR3: 00000000971b3000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kobject: 'loop0' (ffff8880a40a62a0): kobject_uevent_env
Call Trace:
kobject: 'loop0' (ffff8880a40a62a0): fill_kobj_path: path = '/devices/virtual/block/loop0'
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 p9_read_work+0x833/0xd80 net/9p/trans_fd.c:386
 process_one_work+0x863/0x1600 kernel/workqueue.c:2114
 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: e6 e8 54 83 40 fe 0f 0b 4c 89 f6 48 c7 c7 20 11 04 87 e8 43 83 40 fe 0f 0b 4c 89 ea 4c 89 f6 48 c7 c7 60 10 04 87 e8 2f 83 40 fe <0f> 0b 4c 89 e2 4c 89 f6 48 c7 c7 c0 10 04 87 e8 1b 83 40 fe 0f 
RIP: __list_del_entry_valid.cold+0x23/0x4f lib/list_debug.c:45 RSP: ffff8880a9ed7c70
---[ end trace cf82de01973612fd ]---
kobject: '9p-122' (ffff8880a987d4d0): kobject_uevent_env

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/28 02:29 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report syz ci2-linux-4-14
2019/11/30 21:00 linux-4.14.y 43598c571e7e 3a75be00 .config console log report syz ci2-linux-4-14
2020/03/06 22:05 linux-4.14.y 78d697fc93f9 fd2a5f28 .config console log report ci2-linux-4-14
2019/12/28 01:30 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.