syzbot


BUG: corrupted list in p9_fd_cancelled (4)

Status: premoderation: reported on 2024/06/07 05:15
Reported-by: syzbot+ce9e7c44e38522943afd@syzkaller.appspotmail.com
First crash: 47d, last: 26d
Similar bugs (18)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 961d 961d 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 135d 1791d 0/27 auto-obsoleted due to no activity on 2024/06/03 04:59
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 4 237d 322d 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 1695d 1741d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 62d 434d 0/2 premoderation: reported on 2023/05/16 17:03
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 834d 870d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 1122d 1331d 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 1715d 1777d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 116d 500d 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 9d22h 542d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2098d 2199d 0/27 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 930d 930d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 487d 487d 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 109d 973d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 1 36d 32d 0/27 moderation: reported on 2024/06/22 02:35
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 543d 543d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1244d 1244d 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 177d 262d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff8881238fb078->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: 20915 Comm: syz.0.5481 Tainted: G        W         5.10.216-syzkaller-00510-ga4a2b7a82ee4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 ce 29 55 02 0f 0b 48 c7 c7 c0 21 60 85 4c 89 f6 e8 bd 29 55 02 0f 0b 48 c7 c7 20 22 60 85 4c 89 f6 e8 ac 29 55 02 <0f> 0b 48 c7 c7 80 22 60 85 4c 89 f6 e8 9b 29 55 02 0f 0b 48 c7 c7
RSP: 0018:ffffc900000f7468 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 2db1f2d3c57e7100
RDX: ffffc900052d3000 RSI: 000000000000071e RDI: 000000000000071f
RBP: ffffc900000f7488 R08: ffffffff81521e68 R09: ffffed103ee2a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8881238fb078 R15: dead000000000122
FS:  00007f35bc0686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555572cf4a8 CR3: 000000010a5cf000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:132 [inline]
 list_del include/linux/list.h:146 [inline]
 p9_fd_cancelled+0x74/0x1d0 net/9p/trans_fd.c:725
 p9_client_flush+0x392/0x570 net/9p/client.c:680
 p9_client_rpc+0xae6/0x1390 net/9p/client.c:787
 p9_client_create+0x9be/0x1130 net/9p/client.c:1055
 v9fs_session_init+0x1fa/0x19b0 fs/9p/v9fs.c:406
 v9fs_mount+0x75/0x7b0 fs/9p/vfs_super.c:126
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:593
 vfs_get_tree+0x88/0x290 fs/super.c:1559
 do_new_mount+0x2ba/0xb30 fs/namespace.c:2910
 path_mount+0x56f/0xcb0 fs/namespace.c:3240
 do_mount fs/namespace.c:3253 [inline]
 __do_sys_mount fs/namespace.c:3461 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3438
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3438
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f35bce28b29
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:00007f35bc068048 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f35bcfb7140 RCX: 00007f35bce28b29
RDX: 0000000020000b80 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f35bcea9756 R08: 0000000020000140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f35bcfb7140 R15: 00007fff61136ab8
Modules linked in:
---[ end trace e4a5ebd11039c19e ]---
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 ce 29 55 02 0f 0b 48 c7 c7 c0 21 60 85 4c 89 f6 e8 bd 29 55 02 0f 0b 48 c7 c7 20 22 60 85 4c 89 f6 e8 ac 29 55 02 <0f> 0b 48 c7 c7 80 22 60 85 4c 89 f6 e8 9b 29 55 02 0f 0b 48 c7 c7
RSP: 0018:ffffc900000f7468 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 2db1f2d3c57e7100
RDX: ffffc900052d3000 RSI: 000000000000071e RDI: 000000000000071f
RBP: ffffc900000f7488 R08: ffffffff81521e68 R09: ffffed103ee2a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8881238fb078 R15: dead000000000122
FS:  00007f35bc0686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555572cf4a8 CR3: 000000010a5cf000 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/06/28 01:34 android13-5.10-lts a4a2b7a82ee4 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/06/07 05:14 android13-5.10-lts d3c4d815bf09 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.