syzbot


BUG: corrupted list in p9_fd_cancel

Status: auto-obsoleted due to no activity on 2023/05/27 07:47
Reported-by: syzbot+5d0b7b47fba1d8103429@syzkaller.appspotmail.com
First crash: 453d, last: 453d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in p9_fd_cancel v9fs C 34 2101d 2115d 8/26 fixed on 2018/08/28 17:48
upstream BUG: corrupted list in p9_fd_cancel (2) v9fs fuse C error 8 523d 548d 22/26 fixed on 2023/02/24 13:50
android-5-15 BUG: corrupted list in p9_fd_cancel C done 2 457d 457d 2/2 fixed on 2023/01/27 09:47

Sample crash report:
list_del corruption, ffff8881ed2a8be0->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: 3886 Comm: syz-executor.2 Not tainted 5.4.225-syzkaller-00026-g0ed90f62b184 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:__list_del_entry_valid+0xef/0x130 lib/list_debug.c:53
Code: 7e 58 18 02 0f 0b 48 c7 c7 40 4a fe 84 4c 89 f6 31 c0 e8 6b 58 18 02 0f 0b 48 c7 c7 a0 4a fe 84 4c 89 f6 31 c0 e8 58 58 18 02 <0f> 0b 48 c7 c7 00 4b fe 84 4c 89 f6 31 c0 e8 45 58 18 02 0f 0b 48
RSP: 0018:ffff8881cee97538 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 529d43086a633700
RDX: ffffc90002556000 RSI: 0000000000016221 RDI: 0000000000016222
RBP: 0000000000000001 R08: ffffffff814e6f67 R09: ffffed103edcaa08
R10: ffffed103edcaa08 R11: 1ffff1103edcaa07 R12: dffffc0000000000
R13: ffff8881ed2a8b60 R14: ffff8881ed2a8be0 R15: dead000000000122
FS:  00007fd870374700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001d1164000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:131 [inline]
 list_del include/linux/list.h:139 [inline]
 p9_fd_cancel+0x68/0x1d0 net/9p/trans_fd.c:697
 p9_client_rpc+0x81f/0xae0 net/9p/client.c:783
 p9_client_version+0x179/0x710 net/9p/client.c:942
 p9_client_create+0x8a1/0xb60 net/9p/client.c:1052
 v9fs_session_init+0x1f0/0x17d0 fs/9p/v9fs.c:406
 v9fs_mount+0x72/0x770 fs/9p/vfs_super.c:124
 legacy_get_tree+0xde/0x170 fs/fs_context.c:647
 vfs_get_tree+0x85/0x260 fs/super.c:1547
 do_new_mount+0x299/0x580 fs/namespace.c:2843
 do_mount+0x6ac/0xe10 fs/namespace.c:3163
 ksys_mount+0xc2/0xf0 fs/namespace.c:3372
 __do_sys_mount fs/namespace.c:3386 [inline]
 __se_sys_mount fs/namespace.c:3383 [inline]
 __x64_sys_mount+0xb1/0xc0 fs/namespace.c:3383
 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace 8be25047c950edb3 ]---
RIP: 0010:__list_del_entry_valid+0xef/0x130 lib/list_debug.c:53
Code: 7e 58 18 02 0f 0b 48 c7 c7 40 4a fe 84 4c 89 f6 31 c0 e8 6b 58 18 02 0f 0b 48 c7 c7 a0 4a fe 84 4c 89 f6 31 c0 e8 58 58 18 02 <0f> 0b 48 c7 c7 00 4b fe 84 4c 89 f6 31 c0 e8 45 58 18 02 0f 0b 48
RSP: 0018:ffff8881cee97538 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 529d43086a633700
RDX: ffffc90002556000 RSI: 0000000000016221 RDI: 0000000000016222
RBP: 0000000000000001 R08: ffffffff814e6f67 R09: ffffed103edcaa08
R10: ffffed103edcaa08 R11: 1ffff1103edcaa07 R12: dffffc0000000000
R13: ffff8881ed2a8b60 R14: ffff8881ed2a8be0 R15: dead000000000122
FS:  00007fd870374700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001d1164000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/27 07:47 android12-5.4 0ed90f62b184 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan BUG: corrupted list in p9_fd_cancel
* Struck through repros no longer work on HEAD.