syzbot


general protection fault in p9_fd_create_unix

Status: public: reported C repro on 2019/04/14 00:00
Reported-by: syzbot+add14a6a3183ff166837@syzkaller.appspotmail.com
First crash: 2117d, last: 2071d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in p9_fd_create_unix v9fs C 4 2114d 2117d 8/26 fixed on 2018/08/28 17:48

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 3806 Comm: syz-executor479 Not tainted 4.9.111-g03c70fe #6
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801b740e000 task.stack: ffff8801d8fd0000
RIP: 0010:[<ffffffff81ecf9cf>]  [<ffffffff81ecf9cf>] strlen+0x1f/0xa0 lib/string.c:478
RSP: 0018:ffff8801d8fd7768  EFLAGS: 00010292
RAX: dffffc0000000000 RBX: 1ffff1003b1faef3 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff839c46c5 RDI: 0000000000000000
RBP: ffff8801d8fd7780 R08: ffffed0039ad84f3 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801b5fd1158 R14: 0000000000000000 R15: ffff8801b5fd1100
FS:  00000000013d2880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200003c0 CR3: 00000001bb9a8000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 0000000000000296 1ffff1003b1faef3 dffffc0000000000 ffff8801d8fd78c0
 ffffffff839c46d8 ffff8801b740e8c0 0000000041b58ab3 ffffffff8442d2d8
 ffffffff839c4640 0000000000000189 0000000000000000 ffff8801d8fd77e8
Call Trace:
 [<ffffffff839c46d8>] p9_fd_create_unix+0x98/0x260 net/9p/trans_fd.c:988
 [<ffffffff839b329f>] p9_client_create+0x6ff/0x10a0 net/9p/client.c:1036
 [<ffffffff8195ab03>] v9fs_session_init+0x333/0x13a0 fs/9p/v9fs.c:343
 [<ffffffff8194c3fd>] v9fs_mount+0x7d/0x810 fs/9p/vfs_super.c:130
 [<ffffffff8157e22c>] mount_fs+0x28c/0x370 fs/super.c:1206
 [<ffffffff815dd9f1>] vfs_kern_mount.part.29+0xd1/0x3d0 fs/namespace.c:991
 [<ffffffff815e5319>] vfs_kern_mount fs/namespace.c:973 [inline]
 [<ffffffff815e5319>] do_new_mount fs/namespace.c:2513 [inline]
 [<ffffffff815e5319>] do_mount+0x3c9/0x2740 fs/namespace.c:2835
 [<ffffffff815e806e>] SYSC_mount fs/namespace.c:3051 [inline]
 [<ffffffff815e806e>] SyS_mount+0xfe/0x110 fs/namespace.c:3028
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff839f8cd3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Code: 87 90 66 2e 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 48 89 e5 48 c1 ea 03 41 54 49 89 fc 53 48 83 ec 08 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 4d 41 80 3c 
RIP  [<ffffffff81ecf9cf>] strlen+0x1f/0xa0 lib/string.c:478
 RSP <ffff8801d8fd7768>
---[ end trace 79b75f9b067e001c ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/10 11:15 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 9fa03fa5 .config console log report syz C ci-android-49-kasan-gce-root
2018/07/09 19:18 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 f25e5770 .config console log report syz C ci-android-49-kasan-gce
2018/07/09 19:43 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 f25e5770 .config console log report syz C ci-android-49-kasan-gce-386
2018/08/24 21:07 https://android.googlesource.com/kernel/common android-4.9 6a1b5923548a 9b0f5c75 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.