syzbot


BUG: corrupted list in p9_fd_cancelled (3)

Status: upstream: reported C repro on 2023/11/04 18:14
Reported-by: syzbot+8487fe0b929fc4f48bb7@syzkaller.appspotmail.com
First crash: 546d, last: 25d
Cause bisection: introduced by (bisect log) :
commit 1be288fd3b0d2f6c7a763680faa614f4b5a08449
Author: Martin HundebΓΈll <martin@geanix.com>
Date: Wed Jun 7 08:27:12 2023 +0000

  mmc: meson-gx: remove redundant mmc_request_done() call from irq context

Crash: BUG: corrupted list in p9_fd_cancelled (log)
Repro: syz .config
  
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 809d 809d 0/2 closed as invalid on 2022/03/01 11:24
upstream BUG: corrupted list in p9_fd_cancelled (2) v9fs syz error error 266 9h25m 1638d 0/26 upstream: reported syz repro on 2019/08/29 03:58
linux-5.15 BUG: corrupted list in p9_fd_cancelled (2) 4 84d 169d 0/3 upstream: reported on 2023/09/05 22:05
linux-4.14 BUG: corrupted list in p9_fd_cancelled syz done 2 1543d 1588d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 25 13h49m 282d 0/2 premoderation: reported on 2023/05/16 17:03
android-5-10 BUG: corrupted list in p9_fd_cancelled (2) 3 682d 717d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-54 BUG: corrupted list in p9_fd_cancelled 3 970d 1178d 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 1562d 1625d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 53 7d03h 347d 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 13h22m 389d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 1946d 2047d 0/26 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 777d 777d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 334d 334d 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 27d 821d 0/2 upstream: reported syz repro on 2021/11/23 15:00
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 391d 391d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1092d 1092d 0/1 auto-closed as invalid on 2021/06/25 15:45
Last patch testing requests (6)
Created Duration User Patch Repo Result
2024/02/11 18:59 42m retest repro android13-5.10-lts OK log
2023/12/07 20:19 15m retest repro android13-5.10-lts OK log
2023/11/19 16:53 19m retest repro android13-5.10-lts report log
2023/11/19 16:53 12m retest repro android13-5.10-lts OK log
2023/09/19 21:12 41m retest repro android13-5.10-lts OK log
2023/09/19 21:12 22m retest repro android13-5.10-lts report log

Sample crash report:
list_del corruption, ffff88810ecfde88->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: 1453 Comm: syz-executor235 Not tainted 5.10.199-syzkaller-00307-gd30b996835c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 67 90 54 02 0f 0b 48 c7 c7 40 06 60 85 4c 89 f6 e8 56 90 54 02 0f 0b 48 c7 c7 a0 06 60 85 4c 89 f6 e8 45 90 54 02 <0f> 0b 48 c7 c7 00 07 60 85 4c 89 f6 e8 34 90 54 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90001687468 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 5ce9b53308b50500
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90001687488 R08: ffffffff81521b18 R09: ffffed103ee0a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88810ecfde88 R15: dead000000000122
FS:  00007f2c7b2826c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c7b339878 CR3: 000000011d225000 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+0x74/0x1d0 net/9p/trans_fd.c:725
 p9_client_flush+0x392/0x570 net/9p/client.c:677
 p9_client_rpc+0xae6/0x1380 net/9p/client.c:784
 p9_client_create+0x9be/0x1130 net/9p/client.c:1052
 v9fs_session_init+0x1fa/0x19b0 fs/9p/v9fs.c:406
 v9fs_mount+0x75/0x7b0 fs/9p/vfs_super.c:126
 legacy_get_tree+0xf1/0x190 fs/fs_context.c:593
 vfs_get_tree+0x88/0x290 fs/super.c:1559
 do_new_mount+0x28b/0xad0 fs/namespace.c:2899
 path_mount+0x56f/0xcb0 fs/namespace.c:3229
 do_mount fs/namespace.c:3242 [inline]
 __do_sys_mount fs/namespace.c:3450 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3427
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3427
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f2c7b2e3719
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 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:00007f2c7b282168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2c7b36d418 RCX: 00007f2c7b2e3719
RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f2c7b36d410 R08: 0000000020000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2c7b36d41c
R13: 000000000000006e R14: 00007fff5afa6f20 R15: 00007fff5afa7008
Modules linked in:
---[ end trace 813a199e10c46369 ]---
RIP: 0010:__list_del_entry_valid+0xea/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 67 90 54 02 0f 0b 48 c7 c7 40 06 60 85 4c 89 f6 e8 56 90 54 02 0f 0b 48 c7 c7 a0 06 60 85 4c 89 f6 e8 45 90 54 02 <0f> 0b 48 c7 c7 00 07 60 85 4c 89 f6 e8 34 90 54 02 0f 0b 48 c7 c7
RSP: 0018:ffffc90001687468 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 5ce9b53308b50500
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90001687488 R08: ffffffff81521b18 R09: ffffed103ee0a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88810ecfde88 R15: dead000000000122
FS:  00007f2c7b2826c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c7b339878 CR3: 000000011d225000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (38):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/04 18:10 android13-5.10-lts d30b996835c0 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/11/05 16:44 android13-5.10-lts d30b996835c0 500bfdc4 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/28 23:54 android13-5.10-lts 8a427269c016 92476829 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/18 17:06 android13-5.10-lts 59b65efafe20 022df2bb .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/01/28 18:51 android13-5.10-lts 1a7db4583e18 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/01/20 08:17 android13-5.10-lts 1a7db4583e18 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/01/19 08:22 android13-5.10-lts 1a7db4583e18 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/01/15 16:02 android13-5.10-lts d25beb655398 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/01/10 02:29 android13-5.10-lts 721689706261 b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2024/01/07 17:19 android13-5.10-lts f7977422e132 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/12/18 18:42 android13-5.10-lts f722f6ad16cf 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/11/23 20:10 android13-5.10-lts d30b996835c0 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/11/20 01:13 android13-5.10-lts d30b996835c0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/10/05 18:52 android13-5.10-lts a27512601c2d db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/09/21 05:40 android13-5.10-lts a27512601c2d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/09/05 21:02 android13-5.10-lts a27512601c2d 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/08/30 06:15 android13-5.10-lts c8ca447a86a2 ce731e62 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/08/20 09:22 android13-5.10-lts 8a427269c016 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/08/16 18:23 android13-5.10-lts 8a427269c016 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/28 13:40 android13-5.10-lts 8a427269c016 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/18 15:14 android13-5.10-lts 59b65efafe20 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/13 14:56 android13-5.10-lts 59b65efafe20 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/06 12:14 android13-5.10-lts 59b65efafe20 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/07/01 09:18 android13-5.10-lts 28cc6246b5e7 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/06/21 23:20 android13-5.10-lts 571f442f6752 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/06/20 14:43 android13-5.10-lts 8a30c9beebe8 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/05/24 05:50 android13-5.10-lts 43c801dc3325 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/05/18 22:56 android13-5.10-lts 43c801dc3325 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/05/09 06:48 android13-5.10-lts 3ad342cf5b2c c7a5e2a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/04/24 11:20 android12-5.10-lts 416c4356f372 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/04/15 04:28 android12-5.10-lts 416c4356f372 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/03/19 10:24 android12-5.10-lts 416c4356f372 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/02/09 06:19 android12-5.10-lts 416c4356f372 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2023/01/18 01:26 android12-5.10-lts 416c4356f372 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2022/12/10 10:43 android12-5.10-lts f3226d86f8ce 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2022/11/27 11:17 android12-5.10-lts 673a7341bdab f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2022/11/17 12:26 android12-5.10-lts 6b31c548a114 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
2022/08/25 12:46 android12-5.10-lts a634d588813f 514514f6 .config console log report info ci2-android-5-10 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.