syzbot


BUG: corrupted list in p9_fd_cancelled (2)

Status: auto-closed as invalid on 2022/07/10 10:51
Reported-by: syzbot+09ecc137c43ea6211ddf@syzkaller.appspotmail.com
First crash: 773d, last: 738d
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 865d 865d 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 38d 1694d 0/26 upstream: reported syz repro on 2019/08/29 03:58
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 4 140d 225d 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 1599d 1644d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 25 56d 338d 0/2 premoderation: reported on 2023/05/16 17:03
android-54 BUG: corrupted list in p9_fd_cancelled 3 1026d 1234d 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 1618d 1681d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 19d 403d 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 11d 445d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2002d 2103d 0/26 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 833d 833d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 390d 390d 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 13d 877d 0/2 upstream: reported syz repro on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 447d 447d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1148d 1148d 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 81d 166d 0/2 upstream: reported C repro on 2023/11/04 18:14

Sample crash report:
list_del corruption, ffff888114e9b780->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:47!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7246 Comm: syz-executor.5 Tainted: G        W         5.10.109-syzkaller-00693-g414e6c8e941c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0xc0/0x100 lib/list_debug.c:45
Code: df e8 d4 8d 56 ff 48 8b 13 4c 39 f2 75 44 b0 01 5b 41 5c 41 5e 41 5f 5d c3 48 c7 c7 20 ca 43 85 4c 89 f6 31 c0 e8 8d d3 3f 02 <0f> 0b 48 c7 c7 80 ca 43 85 4c 89 f6 31 c0 e8 7a d3 3f 02 0f 0b 48
RSP: 0018:ffffc9000479f408 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 79c4b3320e2e2000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000479f428 R08: ffffffff8153b3c8 R09: ffffed103ee0a5d8
R10: ffffed103ee0a5d8 R11: 1ffff1103ee0a5d7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888114e9b780 R15: dead000000000122
FS:  00007f7da685d700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 00000001194e3000 CR4: 00000000003506b0
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+0x73/0x1d0 net/9p/trans_fd.c:722
 p9_client_flush+0x37b/0x570 net/9p/client.c:677
 p9_client_rpc+0x83e/0xa60 net/9p/client.c:784
 p9_client_version+0x179/0x680 net/9p/client.c:945
 p9_client_create+0x8f5/0xbb0 net/9p/client.c:1055
 v9fs_session_init+0x1ef/0x17c0 fs/9p/v9fs.c:406
 v9fs_mount+0x75/0x7b0 fs/9p/vfs_super.c:126
 legacy_get_tree+0xf0/0x190 fs/fs_context.c:592
 vfs_get_tree+0x88/0x290 fs/super.c:1549
 do_new_mount+0x289/0xad0 fs/namespace.c:2899
 path_mount+0x58d/0xce0 fs/namespace.c:3229
 do_mount fs/namespace.c:3242 [inline]
 __do_sys_mount fs/namespace.c:3450 [inline]
 __se_sys_mount+0x2d2/0x3c0 fs/namespace.c:3427
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3427
 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f7da774a049
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7da685d168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7da785d1d0 RCX: 00007f7da774a049
RDX: 0000000020000280 RSI: 00000000200002c0 RDI: 0000000000000000
RBP: 00007f7da77a408d R08: 0000000020003180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcb874647f R14: 00007f7da685d300 R15: 0000000000022000
Modules linked in:
---[ end trace da6eb45c7395a3a4 ]---
RIP: 0010:__list_del_entry_valid+0xc0/0x100 lib/list_debug.c:45
Code: df e8 d4 8d 56 ff 48 8b 13 4c 39 f2 75 44 b0 01 5b 41 5c 41 5e 41 5f 5d c3 48 c7 c7 20 ca 43 85 4c 89 f6 31 c0 e8 8d d3 3f 02 <0f> 0b 48 c7 c7 80 ca 43 85 4c 89 f6 31 c0 e8 7a d3 3f 02 0f 0b 48
RSP: 0018:ffffc9000479f408 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 79c4b3320e2e2000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000479f428 R08: ffffffff8153b3c8 R09: ffffed103ee0a5d8
R10: ffffed103ee0a5d8 R11: 1ffff1103ee0a5d7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888114e9b780 R15: dead000000000122
FS:  00007f7da685d700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 00000001194e3000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/11 10:42 android12-5.10-lts 414e6c8e941c e22c3da3 .config console log report info ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2022/03/16 09:26 android12-5.10-lts 5c5685cc64b4 9e8eaa75 .config console log report info ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2022/03/07 01:31 android12-5.10-lts e1b86e7f5cbb 7bdd8b2c .config console log report info ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.