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: 156d, last: 14d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly v9fs report (Oct 2024) 0 (1) 2024/10/31 09:10
[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 1081d 1081d 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 255d 1911d 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 357d 442d 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 1815d 1861d 1/1 fixed on 2020/01/03 09:37
android-6-1 BUG: corrupted list in p9_fd_cancelled 27 182d 554d 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 954d 990d 0/2 auto-closed as invalid on 2022/07/10 10:51
android-6-1 BUG: corrupted list in p9_fd_cancelled (2) 3 40d 82d 0/2 premoderation: reported on 2024/08/31 06:31
android-54 BUG: corrupted list in p9_fd_cancelled 3 1242d 1451d 0/2 auto-closed as invalid on 2021/10/25 12:29
linux-5.15 BUG: corrupted list in p9_fd_cancelled (3) origin:lts-only syz 2 11d 70d 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 1835d 1897d 1/1 fixed on 2019/12/18 17:42
linux-6.1 BUG: corrupted list in p9_fd_cancelled 56 236d 620d 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 66d 66d 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 error 30 6d22h 662d 0/2 premoderation: reported syz repro on 2023/01/29 05:13
upstream BUG: corrupted list in p9_fd_cancelled v9fs 16 2218d 2319d 0/28 auto-closed as invalid on 2019/04/23 06:51
linux-4.19 BUG: corrupted list in p9_fd_cancelled (3) 1 1050d 1050d 0/1 auto-closed as invalid on 2022/05/05 22:32
linux-5.15 BUG: corrupted list in p9_fd_cancelled 1 607d 607d 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 229d 1093d 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 57d 167d 0/2 premoderation: reported on 2024/06/07 05:15
linux-4.19 BUG: corrupted list in p9_fd_cancelled (4) 1 663d 663d 0/1 upstream: reported on 2023/01/27 06:50
linux-4.19 BUG: corrupted list in p9_fd_cancelled (2) 1 1364d 1364d 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 297d 382d 0/2 auto-obsoleted due to no activity on 2024/05/07 18:52

Sample crash report:
list_del corruption, ffff8880331dd610->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:56!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 12232 Comm: syz.2.1233 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__list_del_entry_valid_or_report+0x108/0x1c0 lib/list_debug.c:56
Code: c7 c7 a0 a9 d1 8b e8 07 6c d9 fc 90 0f 0b 48 c7 c7 00 aa d1 8b e8 f8 6b d9 fc 90 0f 0b 48 c7 c7 60 aa d1 8b e8 e9 6b d9 fc 90 <0f> 0b 48 89 ca 48 c7 c7 c0 aa d1 8b e8 d7 6b d9 fc 90 0f 0b 48 89
RSP: 0018:ffffc900041776a0 EFLAGS: 00010282
RAX: 000000000000004e RBX: ffff8880331dd550 RCX: ffffc9000e164000
RDX: 0000000000000000 RSI: ffffffff816de776 RDI: 0000000000000005
RBP: ffff88802a873000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000001 R11: 0000000000000000 R12: ffff88807daef030
R13: 0000000000000005 R14: ffff8880331dd610 R15: ffff8880331dd618
FS:  00007f562a7846c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557feb35c8 CR3: 000000003339a000 CR4: 0000000000350ef0
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+0x34e/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/0x1200 net/9p/client.c:1036
 v9fs_session_init+0x1f8/0x1a80 fs/9p/v9fs.c:410
 v9fs_mount+0xc6/0xa30 fs/9p/vfs_super.c:122
 legacy_get_tree+0x10c/0x220 fs/fs_context.c:662
 vfs_get_tree+0x92/0x380 fs/super.c:1814
 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:4057 [inline]
 __se_sys_mount fs/namespace.c:4034 [inline]
 __x64_sys_mount+0x294/0x320 fs/namespace.c:4034
 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:0x7f562997e719
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:00007f562a784038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5629b36208 RCX: 00007f562997e719
RDX: 0000000020000240 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f56299f139e R08: 0000000020000580 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5629b36208 R15: 00007ffcc506cf48
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x108/0x1c0 lib/list_debug.c:56
Code: c7 c7 a0 a9 d1 8b e8 07 6c d9 fc 90 0f 0b 48 c7 c7 00 aa d1 8b e8 f8 6b d9 fc 90 0f 0b 48 c7 c7 60 aa d1 8b e8 e9 6b d9 fc 90 <0f> 0b 48 89 ca 48 c7 c7 c0 aa d1 8b e8 d7 6b d9 fc 90 0f 0b 48 89
RSP: 0018:ffffc900041776a0 EFLAGS: 00010282
RAX: 000000000000004e RBX: ffff8880331dd550 RCX: ffffc9000e164000
RDX: 0000000000000000 RSI: ffffffff816de776 RDI: 0000000000000005
RBP: ffff88802a873000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000001 R11: 0000000000000000 R12: ffff88807daef030
R13: 0000000000000005 R14: ffff8880331dd610 R15: ffff8880331dd618
FS:  00007f562a7846c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557feb35c8 CR3: 000000003339a000 CR4: 0000000000350ef0

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/06 15:39 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root BUG: corrupted list in p9_fd_cancelled
2024/10/19 12:28 upstream 3d5ad2d4eca3 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: corrupted list in p9_fd_cancelled
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.