syzbot


BUG: corrupted list in p9_fd_cancelled (2)

Status: auto-obsoleted due to no activity on 2024/03/09 04:25
Reported-by: syzbot+6d0d93a1b3e626cac256@syzkaller.appspotmail.com
First crash: 239d, last: 153d
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 878d 878d 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 52d 1707d 0/26 upstream: reported syz repro on 2019/08/29 03:58
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 1612d 1657d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 25 69d 351d 0/2 premoderation: reported on 2023/05/16 17:03
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 751d 786d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 1039d 1248d 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 1631d 1694d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 32d 416d 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 24d 458d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2015d 2116d 0/26 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 847d 847d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 403d 403d 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 26d 890d 0/2 upstream: reported syz repro on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 460d 460d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1161d 1161d 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 94d 179d 0/2 upstream: reported C repro on 2023/11/04 18:14

Sample crash report:
list_del corruption, ffff8880708a13b0->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: 11602 Comm: syz-executor.1 Not tainted 5.15.140-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 c6 dc 0e 06 0f 0b 48 c7 c7 80 80 d8 8a 4c 89 f6 e8 b5 dc 0e 06 0f 0b 48 c7 c7 e0 80 d8 8a 4c 89 f6 e8 a4 dc 0e 06 <0f> 0b 48 c7 c7 40 81 d8 8a 4c 89 f6 e8 93 dc 0e 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90004a97510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 1293dff0c4148100
RDX: ffffc90006112000 RSI: 00000000000084f3 RDI: 00000000000084f4
RBP: ffff8880708a1300 R08: ffffffff81665afc R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88807a0f6400 R14: ffff8880708a13b0 R15: dead000000000122
FS:  00007f0d154b96c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd8721ec8d0 CR3: 00000000449ab000 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:679
 p9_client_rpc+0xb35/0x1290 net/9p/client.c:786
 p9_client_create+0x9b4/0x1000 net/9p/client.c:1054
 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:1517
 do_new_mount+0x28b/0xae0 fs/namespace.c:2994
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f0d16f9aae9
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:00007f0d154b90c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f0d170ba1f0 RCX: 00007f0d16f9aae9
RDX: 0000000020000140 RSI: 0000000020000400 RDI: 0000000000000000
RBP: 00007f0d16fe647a R08: 0000000020000480 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f0d170ba1f0 R15: 00007fff7ecfd068
 </TASK>
Modules linked in:
---[ end trace a230c677e3f2bfa3 ]---
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 c6 dc 0e 06 0f 0b 48 c7 c7 80 80 d8 8a 4c 89 f6 e8 b5 dc 0e 06 0f 0b 48 c7 c7 e0 80 d8 8a 4c 89 f6 e8 a4 dc 0e 06 <0f> 0b 48 c7 c7 40 81 d8 8a 4c 89 f6 e8 93 dc 0e 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90004a97510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 1293dff0c4148100
RDX: ffffc90006112000 RSI: 00000000000084f3 RDI: 00000000000084f4
RBP: ffff8880708a1300 R08: ffffffff81665afc R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88807a0f6400 R14: ffff8880708a13b0 R15: dead000000000122
FS:  00007f0d154b96c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd8721ec8d0 CR3: 00000000449ab000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/30 04:25 linux-5.15.y a78d278e01b1 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in p9_fd_cancelled
2023/11/28 19:07 linux-5.15.y a78d278e01b1 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in p9_fd_cancelled
2023/09/07 01:18 linux-5.15.y aff03380bda4 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in p9_fd_cancelled
2023/09/05 22:04 linux-5.15.y 8f790700c974 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.