syzbot


BUG: corrupted list in p9_fd_cancelled (3)

Status: upstream: reported syz repro on 2024/09/11 14:53
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+5d878242607732f2004f@syzkaller.appspotmail.com
First crash: 139d, last: 80d
Bug presence (2)
Date Name Commit Repro Result
2024/11/09 linux-5.15.y (ToT) 3c17fc483905 C [report] BUG: corrupted list in p9_fd_cancelled
2024/11/09 upstream (ToT) da4373fbcf00 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 1150d 1150d 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 324d 1979d 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 425d 510d 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 1884d 1929d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 251d 623d 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 1023d 1058d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-6-1 BUG: corrupted list in p9_fd_cancelled (2) syz 9 31d 150d 0/2 premoderation: reported syz repro on 2024/08/31 06:31
android-54 BUG: corrupted list in p9_fd_cancelled 3 1311d 1519d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1903d 1966d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 304d 688d 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 135d 135d 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 5d01h 730d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2287d 2388d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1118d 1118d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 675d 675d 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 298d 1162d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 11 31d 136d 0/28 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 4 125d 235d 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 732d 732d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1433d 1433d 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 366d 451d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/01/18 19:01 18m retest repro linux-5.15.y OK log
2024/10/27 17:26 16m retest repro linux-5.15.y report log

Sample crash report:
list_del corruption, ffff888020a28ab0->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: 4199 Comm: syz.4.94 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 5d 2c 25 06 0f 0b 48 c7 c7 40 08 d9 8a 4c 89 f6 e8 4c 2c 25 06 0f 0b 48 c7 c7 a0 08 d9 8a 4c 89 f6 e8 3b 2c 25 06 <0f> 0b 48 c7 c7 00 09 d9 8a 4c 89 f6 e8 2a 2c 25 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90004c3f510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: e8aa61728d640100
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffff888020a28a00 R08: ffffffff81668a3c R09: ffffed10172067a8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88805cdaa800 R14: ffff888020a28ab0 R15: dead000000000122
FS:  00007f817f62b6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002008c030 CR3: 0000000074f14000 CR4: 00000000003506f0
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+0x95/0x220 net/9p/trans_fd.c:736
 p9_client_flush+0x392/0x570 net/9p/client.c:681
 p9_client_rpc+0xb35/0x1290 net/9p/client.c:788
 p9_client_create+0x9b4/0x1000 net/9p/client.c:1056
 v9fs_session_init+0x1fe/0x1910 fs/9p/v9fs.c:409
 v9fs_mount+0x72/0x860 fs/9p/vfs_super.c:126
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1528
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f818040dff9
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:00007f817f62b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f81805c6208 RCX: 00007f818040dff9
RDX: 0000000020000400 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f8180480296 R08: 0000000020000280 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f81805c6208 R15: 00007ffd2e4b85e8
 </TASK>
Modules linked in:
---[ end trace 33acfdb6a0bfe629 ]---
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 5d 2c 25 06 0f 0b 48 c7 c7 40 08 d9 8a 4c 89 f6 e8 4c 2c 25 06 0f 0b 48 c7 c7 a0 08 d9 8a 4c 89 f6 e8 3b 2c 25 06 <0f> 0b 48 c7 c7 00 09 d9 8a 4c 89 f6 e8 2a 2c 25 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90004c3f510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: e8aa61728d640100
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffff888020a28a00 R08: ffffffff81668a3c R09: ffffed10172067a8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88805cdaa800 R14: ffff888020a28ab0 R15: dead000000000122
FS:  00007f817f62b6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002008c030 CR3: 0000000074f14000 CR4: 00000000003506f0
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/10/13 07:17 linux-5.15.y 3a5928702e71 084d8178 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in p9_fd_cancelled
2024/09/11 14:52 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.