syzbot


BUG: corrupted list in p9_fd_cancelled

Status: auto-closed as invalid on 2021/10/25 12:29
Reported-by: syzbot+8edd00b8edb393f8dd95@syzkaller.appspotmail.com
First crash: 571d, last: 362d
similar bugs (9):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 201d 201d 0/3 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) syz error error 13 39d 1030d 0/22 upstream: reported syz repro on 2019/08/29 03:58
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 935d 980d 1/1 fixed on 2020/01/03 09:37
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 74d 110d 0/3 premoderation: reported on 2022/03/07 01:32
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 954d 1017d 1/1 fixed on 2019/12/18 17:42
upstream BUG: corrupted list in p9_fd_cancelled 16 1338d 1439d 0/22 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 170d 170d 0/1 auto-closed as invalid on 2022/05/05 22:32
android-54 BUG: corrupted list in p9_fd_cancelled (2) 5 17d 213d 0/2 upstream: reported on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 484d 484d 0/1 auto-closed as invalid on 2021/06/25 15:45

Sample crash report:
list_del corruption, ffff8881e81382f0->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:47!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3741 Comm: syz-executor.1 Not tainted 5.4.125-syzkaller-00234-g47fe7966921f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0xbb/0x100 lib/list_debug.c:45
Code: 89 df e8 98 37 67 ff 48 8b 13 4c 39 f2 75 43 b0 01 5b 41 5c 41 5e 41 5f c3 48 c7 c7 00 8a 03 85 4c 89 f6 31 c0 e8 f1 91 21 ff <0f> 0b 48 c7 c7 60 8a 03 85 4c 89 f6 31 c0 e8 de 91 21 ff 0f 0b 48
RSP: 0018:ffff8881f2dcf398 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 93979dc085024600
RDX: ffffc90001fb6000 RSI: 00000000000104c2 RDI: 00000000000104c3
RBP: 0000000000000005 R08: ffffffff814e9057 R09: ffffed103ede5e08
R10: ffffed103ede5e08 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8881e8138270 R14: ffff8881e81382f0 R15: dead000000000122
FS:  00007f57deccc700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdf3f54d48 CR3: 00000001f0a99000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:131 [inline]
 list_del include/linux/list.h:139 [inline]
 p9_fd_cancelled+0x71/0x1b0 net/9p/trans_fd.c:722
 p9_client_flush+0x374/0x560 net/9p/client.c:675
 p9_client_rpc+0x837/0xab0 net/9p/client.c:782
 p9_client_walk+0x1d9/0x7b0 net/9p/client.c:1191
 clone_fid fs/9p/fid.h:20 [inline]
 v9fs_fid_clone fs/9p/fid.h:24 [inline]
 v9fs_file_open+0x2e4/0x6b0 fs/9p/vfs_file.c:62
 do_dentry_open+0x949/0x1100 fs/open.c:796
 do_last fs/namei.c:3495 [inline]
 path_openat+0x1127/0x3da0 fs/namei.c:3612
 do_filp_open+0x208/0x450 fs/namei.c:3642
 do_sys_open+0x383/0x7c0 fs/open.c:1113
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4665d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f57deccc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffd8ef353af R14: 00007f57deccc300 R15: 0000000000022000
Modules linked in:
---[ end trace 263983080a7cac6c ]---
RIP: 0010:__list_del_entry_valid+0xbb/0x100 lib/list_debug.c:45
Code: 89 df e8 98 37 67 ff 48 8b 13 4c 39 f2 75 43 b0 01 5b 41 5c 41 5e 41 5f c3 48 c7 c7 00 8a 03 85 4c 89 f6 31 c0 e8 f1 91 21 ff <0f> 0b 48 c7 c7 60 8a 03 85 4c 89 f6 31 c0 e8 de 91 21 ff 0f 0b 48
RSP: 0018:ffff8881f2dcf398 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 93979dc085024600
RDX: ffffc90001fb6000 RSI: 00000000000104c2 RDI: 00000000000104c3
RBP: 0000000000000005 R08: ffffffff814e9057 R09: ffffed103ede5e08
R10: ffffed103ede5e08 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8881e8138270 R14: ffff8881e81382f0 R15: dead000000000122
FS:  00007f57deccc700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdf3f54d48 CR3: 00000001f0a99000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2021/06/27 12:28 android12-5.4 47fe7966921f 9d2ab5df .config log report info BUG: corrupted list in p9_fd_cancelled
ci2-android-5-4-kasan 2021/03/03 16:57 android12-5.4 a8baa288543d 06ed56cd .config log report info BUG: corrupted list in p9_fd_cancelled
ci2-android-5-4-kasan 2020/11/30 22:07 android12-5.4 e37aca80313f 76831598 .config log report info