syzbot


BUG: corrupted list in p9_fd_cancelled (2)

Status: premoderation: reported on 2025/05/27 13:45
Reported-by: syzbot+56ac4a53f819a48f70f9@syzkaller.appspotmail.com
First crash: 53d, last: 53d
Similar bugs (22)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 8 1 1322d 1322d 0/2 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) v9fs 8 syz error error 273 496d 2151d 0/29 auto-obsoleted due to no activity on 2024/06/03 04:59
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 8 4 597d 683d 0/3 auto-obsoleted due to no activity on 2024/03/09 04:25
linux-4.14 BUG: corrupted list in p9_fd_cancelled 8 syz done 2 2056d 2101d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 8 27 423d 795d 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) 8 3 1195d 1231d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-6-1 BUG: corrupted list in p9_fd_cancelled (2) 8 syz error 13 26d 322d 0/2 premoderation: reported syz repro on 2024/08/31 06:31
android-54 BUG: corrupted list in p9_fd_cancelled 8 3 1483d 1692d 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 8 syz 2 252d 311d 0/3 auto-obsoleted due to no activity on 2025/02/17 18:13
linux-4.19 BUG: corrupted list in p9_fd_cancelled 8 syz done 2 2076d 2138d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 8 56 477d 861d 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) 8 1 307d 307d 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 8 syz done error 30 177d 902d 0/2 auto-obsoleted due to no activity on 2025/04/23 20:43
upstream BUG: corrupted list in p9_fd_cancelled v9fs 8 16 2459d 2560d 0/29 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 8 1 1291d 1291d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 8 1 847d 847d 0/3 auto-obsoleted due to no activity on 2023/07/23 04:06
android-54 BUG: corrupted list in p9_fd_cancelled (2) 8 syz 25 470d 1334d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 8 15 30d 308d 0/29 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 8 4 298d 407d 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) 8 1 904d 904d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 8 1 1605d 1605d 0/1 auto-closed as invalid on 2021/06/25 15:45
android-5-10 BUG: corrupted list in p9_fd_cancelled (3) 8 C done unreliable 38 538d 623d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff88811db03848->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:55!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5726 Comm: syz.6.1504 Tainted: G        W         5.15.184-syzkaller-00118-g4b77ae0e7f58 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 48 89 de e8 78 64 4c 02 0f 0b 48 c7 c7 20 30 63 85 48 89 de e8 67 64 4c 02 0f 0b 48 c7 c7 80 30 63 85 48 89 de e8 56 64 4c 02 <0f> 0b 48 c7 c7 e0 30 63 85 48 89 de e8 45 64 4c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90001a374c0 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff88811db03848 RCX: 8ccf42d20133e500
RDX: ffffc9000d18f000 RSI: 00000000000074ac RDI: 00000000000074ad
RBP: ffffc90001a374e0 R08: dffffc0000000000 R09: ffffed103ee065e8
R10: ffffed103ee065e8 R11: 1ffff1103ee065e7 R12: dffffc0000000000
R13: ffff88811c159a00 R14: dead000000000100 R15: dead000000000122
FS:  00007fbd9c2866c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558dfbf4a8 CR3: 000000012374e000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:132 [inline]
 list_del include/linux/list.h:146 [inline]
 p9_fd_cancelled+0xa1/0x230 net/9p/trans_fd.c:736
 p9_client_flush+0x2d9/0x3e0 net/9p/client.c:681
 p9_client_rpc+0x844/0x1070 net/9p/client.c:788
 p9_client_version net/9p/client.c:-1 [inline]
 p9_client_create+0x8dd/0x1010 net/9p/client.c:1058
 v9fs_session_init+0x1dd/0x16f0 fs/9p/v9fs.c:409
 v9fs_mount+0x76/0x7e0 fs/9p/vfs_super.c:126
 legacy_get_tree+0xed/0x190 fs/fs_context.c:611
 vfs_get_tree+0x89/0x260 fs/super.c:1530
 do_new_mount+0x25a/0xa20 fs/namespace.c:3014
 path_mount+0x675/0x1020 fs/namespace.c:3344
 do_mount fs/namespace.c:3357 [inline]
 __do_sys_mount fs/namespace.c:3565 [inline]
 __se_sys_mount+0x318/0x380 fs/namespace.c:3542
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3542
 x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fbd9dc5f969
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:00007fbd9c286038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fbd9de87160 RCX: 00007fbd9dc5f969
RDX: 0000200000000b80 RSI: 0000200000000040 RDI: 0000000000000000
RBP: 00007fbd9dce1ab1 R08: 0000200000000580 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbd9de87160 R15: 00007ffc15855748
 </TASK>
Modules linked in:
---[ end trace 204e9b995d23826d ]---
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 48 89 de e8 78 64 4c 02 0f 0b 48 c7 c7 20 30 63 85 48 89 de e8 67 64 4c 02 0f 0b 48 c7 c7 80 30 63 85 48 89 de e8 56 64 4c 02 <0f> 0b 48 c7 c7 e0 30 63 85 48 89 de e8 45 64 4c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90001a374c0 EFLAGS: 00010246
RAX: 000000000000004e RBX: ffff88811db03848 RCX: 8ccf42d20133e500
RDX: ffffc9000d18f000 RSI: 00000000000074ac RDI: 00000000000074ad
RBP: ffffc90001a374e0 R08: dffffc0000000000 R09: ffffed103ee065e8
R10: ffffed103ee065e8 R11: 1ffff1103ee065e7 R12: dffffc0000000000
R13: ffff88811c159a00 R14: dead000000000100 R15: dead000000000122
FS:  00007fbd9c2866c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558dfbf4a8 CR3: 000000012374e000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/27 13:44 android13-5.15-lts 4b77ae0e7f58 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.