syzbot


BUG: corrupted list in p9_fd_cancelled

Status: premoderation: reported on 2023/05/16 17:03
Reported-by: syzbot+810db3ff78c2045c60db@syzkaller.appspotmail.com
First crash: 288d, last: 6d22h
Similar bugs (16)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 815d 815d 0/2 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) v9fs syz error error 268 5d00h 1645d 0/26 upstream: reported syz repro on 2019/08/29 03:58
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 4 91d 176d 0/3 upstream: reported on 2023/09/05 22:05
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 1549d 1594d 1/1 fixed on 2020/01/03 09:37
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 688d 724d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 976d 1185d 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 1569d 1631d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 53 13d 354d 0/3 upstream: reported on 2023/03/12 02:32
android-5-15 BUG: corrupted list in p9_fd_cancelled origin:upstream missing-backport syz done 28 6d21h 396d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 1952d 2053d 0/26 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 784d 784d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 341d 341d 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 24 33d 827d 0/2 upstream: reported syz repro on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 397d 397d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1098d 1098d 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 38 31d 116d 0/2 upstream: reported C repro on 2023/11/04 18:14

Sample crash report:
list_del corruption, ffff88813d5ffe88->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: 18218 Comm: syz-executor.3 Not tainted 6.1.68-syzkaller-00026-ga7f647f49daf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 6c c4 7c 02 0f 0b 48 c7 c7 60 b9 a9 85 4c 89 fe e8 5b c4 7c 02 0f 0b 48 c7 c7 c0 b9 a9 85 4c 89 fe e8 4a c4 7c 02 <0f> 0b 48 c7 c7 20 ba a9 85 4c 89 fe e8 39 c4 7c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc9000ce8f440 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: cd6e839c2b9ddb00
RDX: ffffc90004d82000 RSI: 00000000000008f5 RDI: 00000000000008f6
RBP: ffffc9000ce8f460 R08: ffffffff815ad655 R09: fffff520019d1e25
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11027abffc2 R14: dead000000000100 R15: ffff88813d5ffe88
FS:  00007fd56e5ff6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556dc4430 CR3: 000000014adf9000 CR4: 00000000003506b0
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+0xa5/0x230 net/9p/trans_fd.c:734
 p9_client_flush+0x3b6/0x530 net/9p/client.c:612
 p9_client_rpc+0x802/0xaa0 net/9p/client.c:732
 p9_client_create+0x9e7/0x11c0 net/9p/client.c:1023
 v9fs_session_init+0x1f2/0x1950 fs/9p/v9fs.c:408
 v9fs_mount+0xca/0xb60 fs/9p/vfs_super.c:126
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:632
 vfs_get_tree+0x88/0x290 fs/super.c:1564
 do_new_mount+0x28b/0xad0 fs/namespace.c:3040
 path_mount+0x671/0x1070 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3568
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd56f27dda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd56e5ff0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd56f3ac120 RCX: 00007fd56f27dda9
RDX: 0000000020000140 RSI: 0000000020000400 RDI: 0000000000000000
RBP: 00007fd56f2ca47a R08: 0000000020000480 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fd56f3ac120 R15: 00007ffcb8cb0e28
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0xea/0x130 lib/list_debug.c:53
Code: 4c 89 fe e8 6c c4 7c 02 0f 0b 48 c7 c7 60 b9 a9 85 4c 89 fe e8 5b c4 7c 02 0f 0b 48 c7 c7 c0 b9 a9 85 4c 89 fe e8 4a c4 7c 02 <0f> 0b 48 c7 c7 20 ba a9 85 4c 89 fe e8 39 c4 7c 02 0f 0b 48 c7 c7
RSP: 0018:ffffc9000ce8f440 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: cd6e839c2b9ddb00
RDX: ffffc90004d82000 RSI: 00000000000008f5 RDI: 00000000000008f6
RBP: ffffc9000ce8f460 R08: ffffffff815ad655 R09: fffff520019d1e25
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11027abffc2 R14: dead000000000100 R15: ffff88813d5ffe88
FS:  00007fd56e5ff6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556dc4430 CR3: 000000014adf9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/22 07:25 android14-6.1 a7f647f49daf 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/01/23 06:28 android14-6.1 2d3f0c9d4108 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/01/17 10:15 android14-6.1 e6712ed4f007 c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/01/06 01:12 android14-6.1 ac90f0829243 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/01/03 15:13 android14-6.1 2c085909e7a7 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2024/01/02 06:37 android14-6.1 d3006fb9449d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/12/23 18:38 android14-6.1 401a2769d990 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/12/19 20:49 android14-6.1 07775f9683d4 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/12/19 09:55 android14-6.1 efa8f34b5aa8 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/12/16 15:14 android14-6.1 cee8ebf7c508 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/11/02 15:46 android14-6.1 2799026a2823 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/10/18 18:36 android14-6.1 1c9040893195 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/10/16 07:33 android14-6.1 acb072863888 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/10/06 16:54 android14-6.1 324c8522f9cd ea12a918 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/10/05 20:57 android14-6.1 4e10001b7cb5 db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/09/26 20:36 android14-6.1 ae5ea9043de1 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/09/11 17:56 android14-6.1 478ec4dbea42 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/09/05 18:19 android14-6.1 404522c763df 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/08/26 04:10 android14-6.1 4db95aa21ae4 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/08/07 13:04 android14-6.1 5e1d25ac2ab6 dda824c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/07/27 06:23 android14-6.1 544ae28cf6b5 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/07/06 09:32 android14-6.1 2e2b1f49826e ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/06/12 16:17 android14-6.1 09e0f8509684 aaed0183 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/05/19 16:25 android14-6.1 bfbebce3f712 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in p9_fd_cancelled
2023/05/16 17:02 android14-6.1 10e4c804f2f9 11c89444 .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.