syzbot


BUG: corrupted list in p9_fd_cancelled (2)

Status: premoderation: reported on 2024/08/31 06:31
Reported-by: syzbot+351696be74566b907e4f@syzkaller.appspotmail.com
First crash: 44d, last: 2d12h
Similar bugs (21)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 1044d 1044d 0/2 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) v9fs syz error error 273 217d 1873d 0/28 auto-obsoleted due to no activity on 2024/06/03 04:59
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 4 319d 404d 0/3 auto-obsoleted due to no activity on 2024/03/09 04:25
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 1777d 1823d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 145d 517d 0/2 auto-obsoleted due to no activity on 2024/08/20 17:39
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 917d 952d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 1205d 1413d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-5.15 BUG: corrupted list in p9_fd_cancelled (3) syz 2 1d10h 33d 0/3 upstream: reported syz repro on 2024/09/11 14:53
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1797d 1860d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 198d 582d 0/3 auto-obsoleted due to no activity on 2024/07/04 11:58
linux-6.1 BUG: corrupted list in p9_fd_cancelled (2) 1 29d 29d 0/3 upstream: reported on 2024/09/15 10:47
android-5-15 BUG: corrupted list in p9_fd_cancelled origin:upstream missing-backport syz done 29 47d 624d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2181d 2282d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1012d 1012d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 569d 569d 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 25 192d 1056d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 6 6d08h 30d 0/28 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 4 19d 129d 0/2 premoderation: reported on 2024/06/07 05:15
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 626d 626d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1327d 1327d 0/1 auto-closed as invalid on 2021/06/25 15:45
android-5-10 BUG: corrupted list in p9_fd_cancelled (3) C done unreliable 38 259d 344d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff8881128062d0->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: 25278 Comm: syz.2.6737 Not tainted 6.1.99-syzkaller-00010-gd41d398db683 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 03 38 9c 02 0f 0b 48 c7 c7 c0 05 ea 85 4c 89 fe e8 f2 37 9c 02 0f 0b 48 c7 c7 20 06 ea 85 4c 89 fe e8 e1 37 9c 02 <0f> 0b 48 c7 c7 80 06 ea 85 4c 89 fe e8 d0 37 9c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90000daf740 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 5ea1dc44f7c08800
RDX: ffffc90005046000 RSI: 0000000000002c2a RDI: 0000000000002c2b
RBP: ffffc90000daf760 R08: ffffffff815b2b95 R09: fffff520001b5e85
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11022500c4b R14: dead000000000100 R15: ffff8881128062d0
FS:  00007fc23f1206c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f022a802000 CR3: 000000011eb4b000 CR4: 00000000003506a0
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_fd_cancelled+0xa5/0x230 net/9p/trans_fd.c:734
 p9_client_flush+0x3b6/0x530 net/9p/client.c:614
 p9_client_rpc+0x802/0xaa0 net/9p/client.c:734
 p9_client_stat+0x10e/0x390 net/9p/client.c:1681
 v9fs_mount+0x71d/0xb60 fs/9p/vfs_super.c:172
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:632
 vfs_get_tree+0x88/0x290 fs/super.c:1564
 do_new_mount+0x2ba/0xb30 fs/namespace.c:3051
 path_mount+0x671/0x1070 fs/namespace.c:3381
 do_mount fs/namespace.c:3394 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3579
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3579
 x64_sys_call+0x49d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc23e37dff9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc23f120038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fc23e536130 RCX: 00007fc23e37dff9
RDX: 0000000020000b80 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007fc23e3f0296 R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc23e536130 R15: 00007ffc52e6abb8
 </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 03 38 9c 02 0f 0b 48 c7 c7 c0 05 ea 85 4c 89 fe e8 f2 37 9c 02 0f 0b 48 c7 c7 20 06 ea 85 4c 89 fe e8 e1 37 9c 02 <0f> 0b 48 c7 c7 80 06 ea 85 4c 89 fe e8 d0 37 9c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90000daf740 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 5ea1dc44f7c08800
RDX: ffffc90005046000 RSI: 0000000000002c2a RDI: 0000000000002c2b
RBP: ffffc90000daf760 R08: ffffffff815b2b95 R09: fffff520001b5e85
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11022500c4b R14: dead000000000100 R15: ffff8881128062d0
FS:  00007fc23f1206c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f022a802000 CR3: 000000011eb4b000 CR4: 00000000003506a0
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
2024/10/12 05:38 android14-6.1 d41d398db683 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/09/14 06:13 android14-6.1 d1f3a046a65d b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/08/31 06:30 android14-6.1 b5e374dda921 1eda0d14 .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.