syzbot


BUG: corrupted list in p9_fd_cancelled (2)

Status: upstream: reported on 2024/09/15 10:47
Reported-by: syzbot+98941ab46ff17e0a89fc@syzkaller.appspotmail.com
First crash: 48d, last: 48d
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 1063d 1063d 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 237d 1892d 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 338d 424d 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 1797d 1842d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 164d 536d 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 936d 971d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-6-1 BUG: corrupted list in p9_fd_cancelled (2) 3 21d 63d 0/2 premoderation: reported on 2024/08/31 06:31
android-54 BUG: corrupted list in p9_fd_cancelled 3 1224d 1433d 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 6d04h 52d 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 1816d 1879d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 217d 601d 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 error 30 2d22h 643d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2200d 2301d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1031d 1031d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 588d 588d 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 211d 1075d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 7 14d 49d 0/28 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 4 38d 148d 0/2 premoderation: reported on 2024/06/07 05:15
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 645d 645d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1346d 1346d 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 279d 364d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff88807cbeb3b0->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: 8650 Comm: syz.1.1088 Not tainted 6.1.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 fe e8 ad b1 66 06 0f 0b 48 c7 c7 40 71 5d 8b 4c 89 fe e8 9c b1 66 06 0f 0b 48 c7 c7 a0 71 5d 8b 4c 89 fe e8 8b b1 66 06 <0f> 0b 48 c7 c7 00 72 5d 8b 4c 89 fe e8 7a b1 66 06 0f 0b 48 c7 c7
RSP: 0018:ffffc9000436f510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: e3abe647cbdd9700
RDX: ffffc9000eb91000 RSI: 0000000000008430 RDI: 0000000000008431
RBP: ffff88807cbeb300 R08: ffffffff816e4eac R09: fffff5200086de41
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88805cf09c00 R14: dead000000000100 R15: ffff88807cbeb3b0
FS:  00007ff4df5316c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f41163052d8 CR3: 000000006a1c7000 CR4: 00000000003506f0
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+0x95/0x220 net/9p/trans_fd.c:734
 p9_client_flush+0x3b6/0x530 net/9p/client.c:614
 p9_client_rpc+0x82b/0x9e0 net/9p/client.c:734
 p9_client_create+0x98b/0xfe0 net/9p/client.c:1025
 v9fs_session_init+0x1ed/0x1950 fs/9p/v9fs.c:408
 v9fs_mount+0xca/0xc30 fs/9p/vfs_super.c:126
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:632
 vfs_get_tree+0x88/0x270 fs/super.c:1573
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3051
 do_mount fs/namespace.c:3394 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
 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:0x7ff4de77def9
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:00007ff4df531038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff4de936130 RCX: 00007ff4de77def9
RDX: 0000000020000b80 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007ff4de7f0b76 R08: 0000000020000400 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff4de936130 R15: 00007ffd898a6108
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 fe e8 ad b1 66 06 0f 0b 48 c7 c7 40 71 5d 8b 4c 89 fe e8 9c b1 66 06 0f 0b 48 c7 c7 a0 71 5d 8b 4c 89 fe e8 8b b1 66 06 <0f> 0b 48 c7 c7 00 72 5d 8b 4c 89 fe e8 7a b1 66 06 0f 0b 48 c7 c7
RSP: 0018:ffffc9000436f510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: e3abe647cbdd9700
RDX: ffffc9000eb91000 RSI: 0000000000008430 RDI: 0000000000008431
RBP: ffff88807cbeb300 R08: ffffffff816e4eac R09: fffff5200086de41
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88805cf09c00 R14: dead000000000100 R15: ffff88807cbeb3b0
FS:  00007ff4df5316c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f41163052d8 CR3: 000000006a1c7000 CR4: 00000000003506f0
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
2024/09/15 10:46 linux-6.1.y 5f55cad62cc9 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.