syzbot


BUG: corrupted list in p9_fd_cancelled

Status: premoderation: reported syz repro on 2023/01/29 05:13
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+0df4872130a403143808@syzkaller.appspotmail.com
First crash: 239d, last: 8d08h
Cause bisection: introduced by (bisect log) :
commit 82ad105e1a55d4f10d62c4069650a32f68c6587e
Author: Geert Uytterhoeven <geert+renesas@glider.be>
Date: Fri Dec 2 16:49:21 2022 +0000

  ARM: dts: vf610: Fix pca9548 i2c-mux node names

Crash: BUG: corrupted list in p9_fd_cancelled (log)
Repro: syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/09/17 android13-5.15-lts (ToT) ea586874d2f9 C [report] BUG: corrupted list in p9_fd_cancelled
2023/09/17 lts (merge base) aff03380bda4 C Didn't crash
2023/09/17 upstream (ToT) f0b0d403eabb C Didn't crash
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 659d 659d 0/2 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) net v9fs syz error error 211 1d02h 1488d 0/25 upstream: reported syz repro on 2019/08/29 03:58
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 2 18d 20d 0/3 upstream: reported on 2023/09/05 22:05
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 1393d 1438d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 9 14d 132d 0/2 premoderation: reported on 2023/05/16 17:03
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 532d 567d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 820d 1029d 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 1412d 1475d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 28 21d 197d 0/3 upstream: reported on 2023/03/12 02:32
upstream BUG: corrupted list in p9_fd_cancelled net v9fs 16 1796d 1897d 0/25 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 628d 628d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 184d 184d 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 18 20d 671d 0/2 upstream: reported syz repro on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 241d 241d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 942d 942d 0/1 auto-closed as invalid on 2021/06/25 15:45
android-5-10 BUG: corrupted list in p9_fd_cancelled (3) syz done 26 4d19h 396d 0/2 premoderation: reported syz repro on 2022/08/25 12:46
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/09/17 13:28 16m retest repro android13-5.15-lts OK log
2023/09/17 13:28 24m retest repro android13-5.15-lts report log

Sample crash report:
list_del corruption, ffff88811e51dcf8->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: 970 Comm: syz-executor.1 Not tainted 5.15.98-syzkaller-00348-g7364b7abbafb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 ad 29 51 02 0f 0b 48 c7 c7 e0 c6 62 85 4c 89 f6 e8 9c 29 51 02 0f 0b 48 c7 c7 40 c7 62 85 4c 89 f6 e8 8b 29 51 02 <0f> 0b 48 c7 c7 a0 c7 62 85 4c 89 f6 e8 7a 29 51 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90000a57440 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 2689e3b9b51b1200
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000a57460 R08: ffffffff815690d5 R09: ffffed103ee065e8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11023ca3b90 R14: ffff88811e51dcf8 R15: dead000000000122
FS:  00007fd21b336700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8c63ce32c0 CR3: 000000010ff63000 CR4: 00000000003506b0
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+0xa5/0x230 net/9p/trans_fd.c:736
 p9_client_flush+0x392/0x570 net/9p/client.c:677
 p9_client_rpc+0xaf0/0x1390 net/9p/client.c:784
 p9_client_create+0x9be/0x1130 net/9p/client.c:1052
 v9fs_session_init+0x1fa/0x19b0 fs/9p/v9fs.c:409
 v9fs_mount+0x75/0x7f0 fs/9p/vfs_super.c:126
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:610
 vfs_get_tree+0x88/0x290 fs/super.c:1499
 do_new_mount+0x28b/0xac0 fs/namespace.c:2994
 path_mount+0x671/0x1070 fs/namespace.c:3324
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3522
 __x64_sys_mount+0xbf/0xd0 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:0x7fd21b7e40f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd21b336168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd21b904050 RCX: 00007fd21b7e40f9
RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007fd21b83fb39 R08: 0000000020000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffde1c52a6f R14: 00007fd21b336300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 32b8e714161bb6ba ]---
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 ad 29 51 02 0f 0b 48 c7 c7 e0 c6 62 85 4c 89 f6 e8 9c 29 51 02 0f 0b 48 c7 c7 40 c7 62 85 4c 89 f6 e8 8b 29 51 02 <0f> 0b 48 c7 c7 a0 c7 62 85 4c 89 f6 e8 7a 29 51 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90000a57440 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 2689e3b9b51b1200
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000a57460 R08: ffffffff815690d5 R09: ffffed103ee065e8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11023ca3b90 R14: ffff88811e51dcf8 R15: dead000000000122
FS:  00007fd21b336700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8c63ce32c0 CR3: 000000010ff63000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/29 21:00 android13-5.15-lts 7364b7abbafb f325deb0 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/09/03 12:01 android13-5.15-lts ac05872b1c1e 696ea0d2 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/08/22 07:51 android13-5.15-lts 1463976ddc64 6b415825 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/08/21 20:05 android13-5.15-lts 1463976ddc64 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/07/24 11:48 android13-5.15-lts 0ddfb214ca66 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/07/20 00:06 android13-5.15-lts 879959450ec7 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/07/14 08:08 android13-5.15-lts 879959450ec7 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/06/14 12:12 android13-5.15-lts 19c0ed55a470 d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/05/31 04:37 android13-5.15-lts 19c0ed55a470 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/05/07 16:55 android13-5.15-lts 19c0ed55a470 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/04/26 12:59 android13-5.15-lts 7364b7abbafb 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/04/20 02:47 android13-5.15-lts 7364b7abbafb a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/04/18 04:42 android13-5.15-lts 7364b7abbafb 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/04/17 18:28 android13-5.15-lts 7364b7abbafb c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/03/29 17:56 android13-5.15-lts 7364b7abbafb f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/02/28 11:55 android13-5.15-lts 5448b2fda85f 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/01/29 05:12 android13-5.15-lts d753150bdc01 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.