syzbot


BUG: corrupted list in p9_fd_cancelled

Status: premoderation: reported syz repro on 2023/01/29 05:13
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+0df4872130a403143808@syzkaller.appspotmail.com
First crash: 649d, last: 9d00h
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
  
Fix bisection: failed (error log, bisect log)
  
Bug presence (4)
Date Name Commit Repro Result
2024/01/22 android13-5.15-lts (ToT) 1c3a1f32bcbd C [report] BUG: corrupted list in p9_fd_cancelled
2023/12/08 lts (merge base) 80529b4968a8 C Didn't crash
2023/12/08 upstream (ToT) 5e3f5b81de80 C [report] BUG: corrupted list in p9_fd_cancelled
2024/01/22 upstream (ToT) 6613476e225e C Didn't crash
Similar bugs (21)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in p9_fd_cancelled 1 1069d 1069d 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 243d 1898d 0/28 auto-obsoleted due to no activity on 2024/06/03 04:59
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 4 344d 430d 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 1803d 1848d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 170d 542d 0/2 auto-obsoleted due to no activity on 2024/08/20 17:39
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 942d 977d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-6-1 BUG: corrupted list in p9_fd_cancelled (2) 3 27d 69d 0/2 premoderation: reported on 2024/08/31 06:31
android-54 BUG: corrupted list in p9_fd_cancelled 3 1230d 1439d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-5.15 BUG: corrupted list in p9_fd_cancelled (3) syz 2 12d 58d 0/3 upstream: reported syz repro on 2024/09/11 14:53
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1822d 1885d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 223d 607d 0/3 auto-obsoleted due to no activity on 2024/07/04 11:58
linux-6.1 BUG: corrupted list in p9_fd_cancelled (2) 1 54d 54d 0/3 upstream: reported on 2024/09/15 10:47
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2206d 2307d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1038d 1038d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 594d 594d 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 217d 1081d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
upstream BUG: corrupted list in p9_fd_cancelled (3) v9fs 8 2d08h 55d 0/28 upstream: reported on 2024/09/14 04:00
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 4 44d 154d 0/2 premoderation: reported on 2024/06/07 05:15
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 651d 651d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1352d 1352d 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 285d 370d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52
Last patch testing requests (6)
Created Duration User Patch Repo Result
2024/08/28 16:58 12m retest repro android13-5.15-lts report log
2024/08/11 03:38 54m retest repro android13-5.15-lts report log
2024/06/19 05:34 10m retest repro android13-5.15-lts report log
2024/06/02 02:43 12m retest repro android13-5.15-lts report log
2024/04/07 04:26 14m retest repro android13-5.15-lts report log
2024/02/22 07:35 17m retest repro android13-5.15-lts report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/10/15 03:41 0m bisect fix android13-5.15-lts error job log
2024/03/24 00:44 1h23m bisect fix android13-5.15-lts OK (0) job log log
2023/12/26 04:29 1h41m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
list_del corruption. prev->next should be ffff888122d93208, but was ffffc9000226fb80
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1066 Comm: syz-executor.3 Not tainted 5.15.145-syzkaller-00162-gea2937bdd12f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__list_del_entry_valid+0x10c/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 ab 6e 58 02 0f 0b 48 c7 c7 60 fd 82 85 4c 89 f6 e8 9a 6e 58 02 0f 0b 48 c7 c7 c0 fd 82 85 4c 89 f6 e8 89 6e 58 02 <0f> 0b 48 c7 c7 20 fe 82 85 4c 89 f6 e8 78 6e 58 02 0f 0b cc 55 48
RSP: 0018:ffffc900023b7440 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffffc9000226fb80 RCX: 7e3dece6705b8f00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900023b7460 R08: ffffffff81574ab5 R09: ffffed103ee065e8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff110245b2632 R14: ffff888122d93208 R15: ffffc9000226fb80
FS:  00007fbe8f2216c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555562ee818 CR3: 0000000114b42000 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:679
 p9_client_rpc+0xaf0/0x13a0 net/9p/client.c:786
 p9_client_create+0x9be/0x1130 net/9p/client.c:1054
 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:611
 vfs_get_tree+0x88/0x290 fs/super.c:1517
 do_new_mount+0x28b/0xad0 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:0x7fbe8f6bfda9
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:00007fbe8f2210c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fbe8f7ef050 RCX: 00007fbe8f6bfda9
RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007fbe8f70c47a R08: 0000000020000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fbe8f7ef050 R15: 00007ffe3738e078
 </TASK>
Modules linked in:
---[ end trace 2371b4b90096b2b1 ]---
RIP: 0010:__list_del_entry_valid+0x10c/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 ab 6e 58 02 0f 0b 48 c7 c7 60 fd 82 85 4c 89 f6 e8 9a 6e 58 02 0f 0b 48 c7 c7 c0 fd 82 85 4c 89 f6 e8 89 6e 58 02 <0f> 0b 48 c7 c7 20 fe 82 85 4c 89 f6 e8 78 6e 58 02 0f 0b cc 55 48
RSP: 0018:ffffc900023b7440 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffffc9000226fb80 RCX: 7e3dece6705b8f00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900023b7460 R08: ffffffff81574ab5 R09: ffffed103ee065e8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff110245b2632 R14: ffff888122d93208 R15: ffffc9000226fb80
FS:  00007fbe8f2216c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555562ee818 CR3: 0000000114b42000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/13 00:20 android13-5.15-lts ea2937bdd12f 551587c1 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/11/03 10:31 android13-5.15-lts 61cfd264993d c4ac074c .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/11/24 08:51 android13-5.15-lts 61cfd264993d 5b429f39 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/11/01 01:11 android13-5.15-lts 61cfd264993d 58499c95 .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/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
2024/10/30 23:22 android13-5.15-lts 5e4635681cf1 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2024/07/14 06:44 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2024/02/08 07:20 android13-5.15-lts 3802b45594e1 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2024/01/26 09:25 android13-5.15-lts 1c3a1f32bcbd cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2024/01/12 17:02 android13-5.15-lts ea2937bdd12f 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/11/24 08:19 android13-5.15-lts 61cfd264993d 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/11/23 18:54 android13-5.15-lts 61cfd264993d 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/10/31 13:32 android13-5.15-lts 61cfd264993d 58499c95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in p9_fd_cancelled
2023/10/07 07:46 android13-5.15-lts ea586874d2f9 5e837c76 .config console log report info [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.