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: 14d, last: 15h48m
Similar bugs (20)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 1014d 1014d 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 188d 1843d 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 289d 374d 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 1748d 1793d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 115d 487d 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 887d 922d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 1175d 1383d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-5.15 BUG: corrupted list in p9_fd_cancelled (3) 1 3d07h 3d07h 0/3 upstream: reported on 2024/09/11 14:53
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1767d 1830d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 168d 552d 0/3 auto-obsoleted due to no activity on 2024/07/04 11:58
android-5-15 BUG: corrupted list in p9_fd_cancelled origin:upstream missing-backport syz done 29 17d 594d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2151d 2252d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 982d 982d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 539d 539d 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 162d 1026d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 5 18h02m 18h01m 0/28 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 3 32d 99d 0/2 premoderation: reported on 2024/06/07 05:15
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 596d 596d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1297d 1297d 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 230d 315d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff88811508bf50->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: 532 Comm: syz.1.46 Not tainted 6.1.93-syzkaller-00008-gd1f3a046a65d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 d3 fc 9b 02 0f 0b 48 c7 c7 60 01 ea 85 4c 89 fe e8 c2 fc 9b 02 0f 0b 48 c7 c7 c0 01 ea 85 4c 89 fe e8 b1 fc 9b 02 <0f> 0b 48 c7 c7 20 02 ea 85 4c 89 fe e8 a0 fc 9b 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90000bff440 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 481c7472ff7a8000
RDX: ffffc9000cae1000 RSI: 0000000000000920 RDI: 0000000000000921
RBP: ffffc90000bff460 R08: ffffffff815b2d55 R09: fffff5200017fe25
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11022a117db R14: dead000000000100 R15: ffff88811508bf50
FS:  00007fb50f9de6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555562e24a8 CR3: 0000000134bf8000 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:612
 p9_client_rpc+0x802/0xaa0 net/9p/client.c:732
 p9_client_create+0x9e7/0x11c0 net/9p/client.c:1023
 v9fs_session_init+0x1f2/0x1950 fs/9p/v9fs.c:408
 v9fs_mount+0xca/0xb60 fs/9p/vfs_super.c:126
 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:0x7fb50fb7def9
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:00007fb50f9de038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fb50fd36130 RCX: 00007fb50fb7def9
RDX: 0000000020000b80 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007fb50fbf0b76 R08: 0000000020000140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb50fd36130 R15: 00007ffc4e68f748
 </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 d3 fc 9b 02 0f 0b 48 c7 c7 60 01 ea 85 4c 89 fe e8 c2 fc 9b 02 0f 0b 48 c7 c7 c0 01 ea 85 4c 89 fe e8 b1 fc 9b 02 <0f> 0b 48 c7 c7 20 02 ea 85 4c 89 fe e8 a0 fc 9b 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90000bff440 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: 481c7472ff7a8000
RDX: ffffc9000cae1000 RSI: 0000000000000920 RDI: 0000000000000921
RBP: ffffc90000bff460 R08: ffffffff815b2d55 R09: fffff5200017fe25
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11022a117db R14: dead000000000100 R15: ffff88811508bf50
FS:  00007fb50f9de6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555562e24a8 CR3: 0000000134bf8000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.