syzbot


BUG: corrupted list in p9_fd_cancelled (2)

Status: premoderation: reported syz repro on 2024/08/31 06:31
Reported-by: syzbot+351696be74566b907e4f@syzkaller.appspotmail.com
First crash: 240d, last: 6h13m
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/12/31 lts (merge base) b67dc5c9ade9 C Didn't crash
2024/12/31 upstream (ToT) ccb98ccef0e5 C Didn't crash
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 1240d 1240d 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 413d 2069d 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 515d 600d 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 1973d 2019d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 340d 712d 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 1113d 1148d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 1401d 1609d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-5.15 BUG: corrupted list in p9_fd_cancelled (3) origin:lts-only syz 2 169d 229d 0/3 auto-obsoleted due to no activity on 2025/02/17 18:13
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1993d 2056d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 394d 778d 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 225d 225d 0/3 auto-obsoleted due to no activity on 2024/12/24 10:47
android-5-15 BUG: corrupted list in p9_fd_cancelled origin:upstream missing-backport syz done error 30 94d 820d 0/2 auto-obsoleted due to no activity on 2025/04/23 20:43
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2377d 2477d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1208d 1208d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 765d 765d 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 387d 1252d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 13 16d 226d 0/28 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 4 215d 325d 0/2 auto-obsoleted due to no activity on 2024/12/24 01:20
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 822d 822d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1522d 1522d 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 455d 540d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff8881357f2528->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: 9302 Comm: syz.5.2716 Not tainted 6.1.134-syzkaller-00029-ga4fc1bef0501 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 48 89 de e8 80 d1 7c 02 0f 0b 48 c7 c7 20 f8 a9 85 48 89 de e8 6f d1 7c 02 0f 0b 48 c7 c7 80 f8 a9 85 48 89 de e8 5e d1 7c 02 <0f> 0b 48 c7 c7 e0 f8 a9 85 48 89 de e8 4d d1 7c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90005d47780 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff8881357f2528 RCX: 1e444f1695517200
RDX: ffffc9000fda1000 RSI: 00000000000076be RDI: 00000000000076bf
RBP: ffffc90005d477a0 R08: dffffc0000000000 R09: fffff52000ba8e91
R10: fffff52000ba8e91 R11: 1ffff92000ba8e90 R12: dffffc0000000000
R13: ffff88811c809500 R14: dead000000000100 R15: dead000000000122
FS:  00007f4695f976c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff32aa1d68 CR3: 0000000119d05000 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+0xa1/0x230 net/9p/trans_fd.c:734
 p9_client_flush+0x2e7/0x390 net/9p/client.c:614
 p9_client_rpc+0x83d/0xac0 net/9p/client.c:734
 p9_client_stat+0xf5/0x330 net/9p/client.c:1691
 v9fs_mount+0x6cf/0xaa0 fs/9p/vfs_super.c:172
 legacy_get_tree+0xfe/0x1a0 fs/fs_context.c:632
 vfs_get_tree+0x9a/0x270 fs/super.c:1575
 do_new_mount+0x25a/0xa20 fs/namespace.c:3056
 path_mount+0x675/0x1010 fs/namespace.c:3386
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount+0x318/0x380 fs/namespace.c:3584
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3584
 x64_sys_call+0x65d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f469518e969
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:00007f4695f97038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f46953b6160 RCX: 00007f469518e969
RDX: 0000200000000b80 RSI: 0000200000000040 RDI: 0000000000000000
RBP: 00007f4695210ab1 R08: 0000200000000500 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f46953b6160 R15: 00007ffdb04060c8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 48 89 de e8 80 d1 7c 02 0f 0b 48 c7 c7 20 f8 a9 85 48 89 de e8 6f d1 7c 02 0f 0b 48 c7 c7 80 f8 a9 85 48 89 de e8 5e d1 7c 02 <0f> 0b 48 c7 c7 e0 f8 a9 85 48 89 de e8 4d d1 7c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90005d47780 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff8881357f2528 RCX: 1e444f1695517200
RDX: ffffc9000fda1000 RSI: 00000000000076be RDI: 00000000000076bf
RBP: ffffc90005d477a0 R08: dffffc0000000000 R09: fffff52000ba8e91
R10: fffff52000ba8e91 R11: 1ffff92000ba8e90 R12: dffffc0000000000
R13: ffff88811c809500 R14: dead000000000100 R15: dead000000000122
FS:  00007f4695f976c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff32aa1d68 CR3: 0000000119d05000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/28 09:13 android14-6.1 a4fc1bef0501 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2025/03/21 21:25 android14-6.1 5145d157731f c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/12/28 15:27 android14-6.1 3f924195e222 d3ccff63 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/12/17 01:59 android14-6.1 e93c64d68326 eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/12/14 23:53 android14-6.1 22b7ded8b55b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/12/10 03:08 android14-6.1 affd0c026349 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/12/07 23:05 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/12/07 22:54 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
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.