syzbot


BUG: corrupted list in p9_fd_cancelled

Status: premoderation: reported on 2023/05/16 17:03
Reported-by: syzbot+810db3ff78c2045c60db@syzkaller.appspotmail.com
First crash: 139d, last: 6d10h
Similar bugs (16)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 666d 666d 0/2 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) net v9fs syz error error 215 2d19h 1496d 0/25 upstream: reported syz repro on 2019/08/29 03:58
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 2 26d 27d 0/3 upstream: reported on 2023/09/05 22:05
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 1400d 1446d 1/1 fixed on 2020/01/03 09:37
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 539d 575d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 827d 1036d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1420d 1483d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 29 4d14h 205d 0/3 upstream: reported on 2023/03/12 02:32
android-5-15 BUG: corrupted list in p9_fd_cancelled origin:downstream syz done 17 15d 247d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled net v9fs 16 1804d 1904d 0/25 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 635d 635d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 192d 192d 0/3 auto-obsoleted due to no activity on 2023/07/23 04:06
android-54 BUG: corrupted list in p9_fd_cancelled (2) syz 19 5d18h 678d 0/2 upstream: reported syz repro on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 249d 249d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 949d 949d 0/1 auto-closed as invalid on 2021/06/25 15:45
android-5-10 BUG: corrupted list in p9_fd_cancelled (3) syz done 26 12d 403d 0/2 premoderation: reported syz repro on 2022/08/25 12:46

Sample crash report:
list_del corruption, ffff88811f6c2398->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:55!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5117 Comm: syz-executor.5 Tainted: G        W          6.1.25-syzkaller-00046-gae5ea9043de1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 cc 10 7a 02 0f 0b 48 c7 c7 80 77 a9 85 4c 89 fe e8 bb 10 7a 02 0f 0b 48 c7 c7 e0 77 a9 85 4c 89 fe e8 aa 10 7a 02 <0f> 0b 48 c7 c7 40 78 a9 85 4c 89 fe e8 99 10 7a 02 0f 0b 48 c7 c7
RSP: 0000:ffffc90001bdf740 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 11246dea7dd53600
RDX: ffffc9000ac71000 RSI: 0000000000002e2a RDI: 0000000000002e2b
RBP: ffffc90001bdf760 R08: ffffffff815a9895 R09: fffff5200037be85
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11023ed8464 R14: dead000000000100 R15: ffff88811f6c2398
FS:  00007f35049d76c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c42e000 CR3: 00000001832b3000 CR4: 00000000003506a0
DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:134 [inline]
 list_del include/linux/list.h:148 [inline]
 p9_fd_cancelled+0xa5/0x230 net/9p/trans_fd.c:734
 p9_client_flush+0x3b6/0x530 net/9p/client.c:610
 p9_client_rpc+0x802/0xaa0 net/9p/client.c:730
 p9_client_stat+0x10e/0x390 net/9p/client.c:1677
 v9fs_mount+0x71d/0xb60 fs/9p/vfs_super.c:172
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:610
 vfs_get_tree+0x88/0x290 fs/super.c:1555
 do_new_mount+0x28b/0xac0 fs/namespace.c:3040
 path_mount+0x671/0x1070 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3568
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3503c7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f35049d70c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3503d9c1f0 RCX: 00007f3503c7cae9
RDX: 0000000020000040 RSI: 0000000020000180 RDI: 0000000000000000
RBP: 00007f3503cc847a R08: 0000000020000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f3503d9c1f0 R15: 00007ffda794dd08
 </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 cc 10 7a 02 0f 0b 48 c7 c7 80 77 a9 85 4c 89 fe e8 bb 10 7a 02 0f 0b 48 c7 c7 e0 77 a9 85 4c 89 fe e8 aa 10 7a 02 <0f> 0b 48 c7 c7 40 78 a9 85 4c 89 fe e8 99 10 7a 02 0f 0b 48 c7 c7
RSP: 0000:ffffc90001bdf740 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 11246dea7dd53600
RDX: ffffc9000ac71000 RSI: 0000000000002e2a RDI: 0000000000002e2b
RBP: ffffc90001bdf760 R08: ffffffff815a9895 R09: fffff5200037be85
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11023ed8464 R14: dead000000000100 R15: ffff88811f6c2398
FS:  00007f35049d76c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c42e000 CR3: 00000001832b3000 CR4: 00000000003506a0
DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/26 20:36 android14-6.1 ae5ea9043de1 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/09/11 17:56 android14-6.1 478ec4dbea42 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/09/05 18:19 android14-6.1 404522c763df 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/08/26 04:10 android14-6.1 4db95aa21ae4 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/08/07 13:04 android14-6.1 5e1d25ac2ab6 dda824c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/07/27 06:23 android14-6.1 544ae28cf6b5 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/07/06 09:32 android14-6.1 2e2b1f49826e ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/06/12 16:17 android14-6.1 09e0f8509684 aaed0183 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/05/19 16:25 android14-6.1 bfbebce3f712 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/05/16 17:02 android14-6.1 10e4c804f2f9 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.