syzbot


BUG: corrupted list in p9_fd_cancelled (3)

Status: upstream: reported on 2024/09/14 04:00
Subsystems: v9fs
[Documentation on labels]
Reported-by: syzbot+15a08eabe3d3838fb641@syzkaller.appspotmail.com
First crash: 116d, last: 4d09h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [v9fs?] BUG: corrupted list in p9_fd_cancelled (3) 0 (1) 2024/09/14 04:00
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 1042d 1042d 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 215d 1871d 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 317d 402d 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 1775d 1821d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 143d 515d 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 915d 950d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-6-1 BUG: corrupted list in p9_fd_cancelled (2) 3 13h34m 42d 0/2 premoderation: reported on 2024/08/31 06:31
android-54 BUG: corrupted list in p9_fd_cancelled 3 1203d 1411d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-5.15 BUG: corrupted list in p9_fd_cancelled (3) 1 31d 31d 0/3 upstream: reported on 2024/09/11 14:53
linux-4.19 BUG: corrupted list in p9_fd_cancelled syz done 2 1795d 1858d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 196d 580d 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 27d 27d 0/3 upstream: reported on 2024/09/15 10:47
android-5-15 BUG: corrupted list in p9_fd_cancelled origin:upstream missing-backport syz done 29 45d 622d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2179d 2280d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1010d 1010d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 567d 567d 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 190d 1054d 0/2 auto-obsoleted due to no activity on 2024/07/14 15:48
android-5-10 BUG: corrupted list in p9_fd_cancelled (4) 4 17d 127d 0/2 premoderation: reported on 2024/06/07 05:15
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 624d 624d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1325d 1325d 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 258d 343d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption. prev->next should be ffff8880704e1b60, but was ffffc90004287b78. (prev=ffffc90004287b78)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:62!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 25005 Comm: syz.0.4006 Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__list_del_entry_valid_or_report+0x12c/0x1c0 lib/list_debug.c:62
Code: e8 39 90 d8 fc 90 0f 0b 48 89 ca 48 c7 c7 c0 a4 d1 8b e8 27 90 d8 fc 90 0f 0b 48 89 c2 48 c7 c7 20 a5 d1 8b e8 15 90 d8 fc 90 <0f> 0b 48 89 d1 48 c7 c7 a0 a5 d1 8b 48 89 c2 e8 00 90 d8 fc 90 0f
RSP: 0018:ffffc9001120f6a0 EFLAGS: 00010282
RAX: 000000000000006d RBX: ffff8880704e1aa0 RCX: ffffc90019900000
RDX: 0000000000000000 RSI: ffffffff816dee96 RDI: 0000000000000005
RBP: ffff8880647d6400 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000048dc0 R12: ffff888064a17830
R13: 0000000000000005 R14: ffff8880704e1b60 R15: ffff8880704e1b68
FS:  00007effae5ff6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32602ff8 CR3: 000000004af34000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry_valid include/linux/list.h:124 [inline]
 __list_del_entry include/linux/list.h:215 [inline]
 list_del include/linux/list.h:229 [inline]
 p9_fd_cancelled+0xa2/0x2a0 net/9p/trans_fd.c:736
 p9_client_flush.isra.0+0x34b/0x420 net/9p/client.c:618
 p9_client_rpc+0xaef/0xc10 net/9p/client.c:741
 p9_client_version net/9p/client.c:930 [inline]
 p9_client_create+0xc65/0x11b0 net/9p/client.c:1034
 v9fs_session_init+0x1f8/0x1a80 fs/9p/v9fs.c:410
 v9fs_mount+0xc6/0xa50 fs/9p/vfs_super.c:122
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8f/0x380 fs/super.c:1800
 do_new_mount fs/namespace.c:3507 [inline]
 path_mount+0x14e6/0x1f20 fs/namespace.c:3834
 do_mount fs/namespace.c:3847 [inline]
 __do_sys_mount fs/namespace.c:4055 [inline]
 __se_sys_mount fs/namespace.c:4032 [inline]
 __x64_sys_mount+0x294/0x320 fs/namespace.c:4032
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7effaeb7dff9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007effae5ff038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007effaed36058 RCX: 00007effaeb7dff9
RDX: 0000000020000140 RSI: 0000000020000200 RDI: 0000000000000000
RBP: 00007effaebf0296 R08: 00000000200002c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007effaed36058 R15: 00007ffcbb526908
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x12c/0x1c0 lib/list_debug.c:62
Code: e8 39 90 d8 fc 90 0f 0b 48 89 ca 48 c7 c7 c0 a4 d1 8b e8 27 90 d8 fc 90 0f 0b 48 89 c2 48 c7 c7 20 a5 d1 8b e8 15 90 d8 fc 90 <0f> 0b 48 89 d1 48 c7 c7 a0 a5 d1 8b 48 89 c2 e8 00 90 d8 fc 90 0f
RSP: 0018:ffffc9001120f6a0 EFLAGS: 00010282
RAX: 000000000000006d RBX: ffff8880704e1aa0 RCX: ffffc90019900000
RDX: 0000000000000000 RSI: ffffffff816dee96 RDI: 0000000000000005
RBP: ffff8880647d6400 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000048dc0 R12: ffff888064a17830
R13: 0000000000000005 R14: ffff8880704e1b60 R15: ffff8880704e1b68
FS:  00007effae5ff6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32602ff8 CR3: 000000004af34000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/08 09:44 upstream 87d6aab2389e 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in p9_fd_cancelled
2024/09/14 03:59 upstream e936e7d4a83b 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in p9_fd_cancelled
2024/09/08 14:38 upstream d1f2d51b711a 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in p9_fd_cancelled
2024/08/27 01:39 upstream 5be63fc19fca 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in p9_fd_cancelled
2024/08/27 01:39 upstream 5be63fc19fca 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root BUG: corrupted list in p9_fd_cancelled
2024/06/18 02:30 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: corrupted list in p9_fd_cancelled
* Struck through repros no longer work on HEAD.