Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2272316imd; Fri, 2 Nov 2018 08:38:38 -0700 (PDT) X-Google-Smtp-Source: AJdET5ecTnWx9pVVDh6oOS3IeaS1/btOzsLwPSfgLkcU0sA7NXPZaDHJB/kZ+begu21XKSaUY2Dc X-Received: by 2002:a17:902:d705:: with SMTP id w5-v6mr11826186ply.11.1541173118782; Fri, 02 Nov 2018 08:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541173118; cv=none; d=google.com; s=arc-20160816; b=pf0kve9ICqmzPi+4kr6K9uVfJQWSyqDkrh/hOa9qD+X2kH4j+eWw+1FLV4LKBYLA+j ssGeWvvVHIRk/Gt3+69tz1b3nHDd7SifHaNugOBBtDjNftJtJ06V7Taxcakf91z9fi6Q ODpxzu3gfTJHvRCWTT+qt4c93QvFJdfdOz6FvYmDn2Dht/6HQ+vInobCCtToaVi7vjZc ZeNURDSOjSeDqy+bOEHSlyHWd9Igz+EXxTgra+ZHQMNRhjCnrISVxAKC8QoGbk+UpRl3 nbEf8WHpdIQWcpt03U0ZlX097XDDj9c9GJMu6Ou7/sq0G9KvLJy3zCUpK6vmbF22FL1N 0Tsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=B/wb0dHFfjKo5LSAD3HOGL2Y5Fj/Rl8KsnjRBrgcF68=; b=DfYHbg9TLi3/t2A5XFrXlN8VrbEHmjQL4JDiX5zQB5v7puwV9WfSVL44Lw4SG6+m/P i7YaTM3v0qcX6DVMVorakfKHR1ihTJQ5sthHKgnaZAzrOv9ZYOb8ggfogp+A2lTq+Vfj 3YITfC5K2xceTRjU0anZ9yNXxsgJOl74fbTDjQUqP3TWKcFTX8b3mO7S5Xr79gZIocyW I46xozief39LROYqbMRd09MHxt9yKSVmIDHqor+LwFjXhskjU91ijzz1yBHHEaNcWqjp YtwQwzVhmW5YQbxR6BRhcl3djs/etmGHULeyMF+PIlUtV+trmfK3oszLAYni4FJI0VNq BdxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8-v6si33196791plk.352.2018.11.02.08.38.24; Fri, 02 Nov 2018 08:38:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728114AbeKCAoc (ORCPT + 99 others); Fri, 2 Nov 2018 20:44:32 -0400 Received: from mail-it1-f199.google.com ([209.85.166.199]:37784 "EHLO mail-it1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727277AbeKCAoc (ORCPT ); Fri, 2 Nov 2018 20:44:32 -0400 Received: by mail-it1-f199.google.com with SMTP id m8-v6so3129169iti.2 for ; Fri, 02 Nov 2018 08:37:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=B/wb0dHFfjKo5LSAD3HOGL2Y5Fj/Rl8KsnjRBrgcF68=; b=WVx8P7gqEedbutWMWn2lltPapHcOqRJukTqi0J1d+V4UwRf7dUC+uDsIyplxqa4ICy YZBkhuD3oBm8b0lyDfE8znamiNm/YP/wHPCpvgiWqZbSPAUkECQXZr4ay/Ct0LzgZRvW TgmjGgYcjbvnCxrYAIlzfPcdDnOtVUyzSw8cqes5EZy3MyUR6aDolQ3W15JX7IBywPPZ WecrG/mNmtqCRlJhZTIzHtLQy7CfD/kBZ5cl+S9EfJ7Q8r+yw2Yo/Xbtd5MfXgSNTLzf jXORIEUmcpG4Ml3CyftorKd+uwjR0nbXM4tSq1DdHwfvyATLjHT55Jnusx/w3zlbl7FI wxTg== X-Gm-Message-State: AGRZ1gIs1t+L0OPyyC/wMazgjAH0DZXh71F5nVKLqXsO0HsmrYhL66LC NNlsIYlogQbfPIYfXWVvNf8v5WWkDQ01BmCR/Z3K21eDOLyP MIME-Version: 1.0 X-Received: by 2002:a6b:e00c:: with SMTP id z12-v6mr9054670iog.32.1541173023686; Fri, 02 Nov 2018 08:37:03 -0700 (PDT) Date: Fri, 02 Nov 2018 08:37:03 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009d4c780579b04ee4@google.com> Subject: WARNING in kmem_cache_create_usercopy From: syzbot To: asmadeus@codewreck.org, davem@davemloft.net, ericvh@gmail.com, linux-kernel@vger.kernel.org, lucho@ionkov.net, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, v9fs-developer@lists.sourceforge.net Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: 4794a36bf08d Add linux-next specific files for 20180928 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=124f814e400000 kernel config: https://syzkaller.appspot.com/x/.config?x=b0ba9bb377f8ae91 dashboard link: https://syzkaller.appspot.com/bug?extid=0c1d61e4db7db94102ca compiler: gcc (GCC) 8.0.1 20180413 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1511532a400000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1701f831400000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+0c1d61e4db7db94102ca@syzkaller.appspotmail.com WARNING: CPU: 0 PID: 6065 at mm/slab_common.c:473 kmem_cache_create_usercopy+0xad/0x240 mm/slab_common.c:473 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6065 Comm: syz-executor140 Not tainted 4.19.0-rc5-next-20180928+ #84 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d3/0x2c4 lib/dump_stack.c:113 panic+0x238/0x4e7 kernel/panic.c:184 __warn.cold.8+0x163/0x1ba kernel/panic.c:536 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:kmem_cache_create_usercopy+0xad/0x240 mm/slab_common.c:473 Code: 44 89 f0 25 00 60 de 04 45 85 ed 89 45 cc 75 0b 8b 45 d0 85 c0 0f 85 8e 01 00 00 44 39 eb 72 0a 89 d8 44 29 e8 3b 45 d0 73 7e <0f> 0b c7 45 d0 00 00 00 00 4c 8b 45 10 44 89 fa 89 de 4c 89 e7 8b RSP: 0018:ffff8801bc23f5d0 EFLAGS: 00010213 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000006 RDX: 0000000000000000 RSI: 0000000000000020 RDI: ffffffff88b04b20 RBP: ffff8801bc23f608 R08: fffffbfff1283a2d R09: fffffbfff1283a2c R10: ffff8801bc23f5c0 R11: ffffffff8941d167 R12: ffffffff88b04b20 R13: 00000000fffffffd R14: 0000000000000000 R15: 0000000000000000 p9_client_create+0xa58/0x1769 net/9p/client.c:1054 v9fs_session_init+0x217/0x1bb0 fs/9p/v9fs.c:421 v9fs_mount+0x7c/0x8f0 fs/9p/vfs_super.c:135 legacy_get_tree+0x131/0x460 fs/fs_context.c:718 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795 do_new_mount fs/namespace.c:2648 [inline] do_mount+0x70c/0x1d90 fs/namespace.c:2974 ksys_mount+0x12d/0x140 fs/namespace.c:3190 __do_sys_mount fs/namespace.c:3204 [inline] __se_sys_mount fs/namespace.c:3201 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3201 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x440189 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffdd30ec3c8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440189 RDX: 00000000200008c0 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00000000006ca018 R08: 0000000020000a80 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000401a10 R13: 0000000000401aa0 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches