Received: by 10.223.164.202 with SMTP id h10csp135774wrb; Wed, 29 Nov 2017 18:40:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMaoRVgk1JnfrhCrO53YkyfVEH89GbGzlGuaKZaKh58ZOz6ZQ9SXXOmGpJeO5WDRNHMr+3Vf X-Received: by 10.101.81.134 with SMTP id h6mr980460pgq.422.1512009600389; Wed, 29 Nov 2017 18:40:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512009600; cv=none; d=google.com; s=arc-20160816; b=pL6sQ2c0NqojXK7lHM5UZ4isUaehpDscOeeGli7Jgfut4YaRe9HAKXQKTBWOzxa6SB Iv1FcWH4odIcZTsIbWqvTguc6Dbdum5hTKWccHJ64xUmMdMeVbZGVdWDn7MbD+cJCPVv W4uRA+HAyrsgrqEDP/m5JLmjHRfIT1SYpEP2BK5ALzZYgdyRH3q7/y6s1Ay6LTQ2dMFu UWlINjPRdzkXEcmog5TCT94Nl5Jm6MYHBJTng9OTe3TgbVdB90H9ggHj2PEK98WfzIkV KZ8QpXRNyFkI/4+N0biOZyNVsIeBJ6pZrCl74V/rIJEOH71cdnDamLI6zNxzazd58TgQ Zo+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature:arc-authentication-results; bh=ufp76ymd34qZaytOAeUE2BaDJX6InuzMcB8UWc4g11c=; b=qokKB+Lq7rXDIDWPtam9mUJBvlSXdZNAzmB4uMbxN5Tk3fVr1K13y7QEEfckwdR3Hs Oqm1doB13/raSs58AHSCfa6mLr/NrVRv8+sW6SdlbX+377/Dd2luF+DHE6QcW+98Jv+x 4DrCTRRyXwc/Vafs7+izAWQrE4jlpNPfQWoBbF/VZuT1hx2rjzdPRGIrkfuoNPs5O6Ha 5Le0HsbEGRdiWS+0d3sZYEEQu96YqJ9DwbyWkM/nTZJSRxPmVSSQ+lF+Wf0L7Hu1mlCd UDLv3jieUpxd/PQ4gb6OVYTDL4eYzGGFr72kZBHpeSPn/3A7kjAgCgMPI+xfv874IXdi oh/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=b12Tk5Zs; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=bXie5b8i; 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=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg3si2210987plb.668.2017.11.29.18.39.46; Wed, 29 Nov 2017 18:40:00 -0800 (PST) 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; dkim=pass header.i=@fb.com header.s=facebook header.b=b12Tk5Zs; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=bXie5b8i; 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=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbdK3Cjh (ORCPT + 99 others); Wed, 29 Nov 2017 21:39:37 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:54958 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752801AbdK3Cjf (ORCPT ); Wed, 29 Nov 2017 21:39:35 -0500 Received: from pps.filterd (m0001255.ppops.net [127.0.0.1]) by mx0b-00082601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAU2apnW024320; Wed, 29 Nov 2017 18:38:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=ufp76ymd34qZaytOAeUE2BaDJX6InuzMcB8UWc4g11c=; b=b12Tk5ZsnzDRkNpxjQh45mzL4e7wv9OKBzqlNkWsZkMLhXfNtkUVHJ8F04AhCUopXK1L tap1bOKzrR9LyTy5OAddsAWwo3q0pGrHHc7RKk5wUo7e4SKaexHqlNUn0L8C2PU4k+tM komYs7hsRuO/qbXNT2N7r4Uzckv67IUQpBg= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0b-00082601.pphosted.com with ESMTP id 2ehrrujuyj-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 29 Nov 2017 18:38:14 -0800 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.29) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 29 Nov 2017 21:38:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ufp76ymd34qZaytOAeUE2BaDJX6InuzMcB8UWc4g11c=; b=bXie5b8iGA36M+A3RxYnxqYbPTMgQWjob52ZDAoJOX4KvAf+2lzmg6u7Kpr8Gr3z9XsUWUcUlwpd8kY9aanljZeJNBoMBAMxKhOGaygXqobVkhpuQUnMyznHAFm+lfdqcxRfMK8FsNXwn7VEUhIAfO8/9t+iSykv1k91pq4SSTs= Received: from DM5PR15MB1753.namprd15.prod.outlook.com (10.174.246.135) by DM5PR15MB1915.namprd15.prod.outlook.com (10.174.247.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Thu, 30 Nov 2017 02:38:10 +0000 Received: from DM5PR15MB1753.namprd15.prod.outlook.com ([10.174.246.135]) by DM5PR15MB1753.namprd15.prod.outlook.com ([10.174.246.135]) with mapi id 15.20.0260.007; Thu, 30 Nov 2017 02:38:10 +0000 From: Nick Terrell To: Fengguang Wu CC: "linux-btrfs@vger.kernel.org" , Chris Mason , Josef Bacik , David Sterba , Linus Torvalds , Jeff Mahoney , David Howells , Liu Bo , Petr Mladek , Hans van Kranenburg , "linux-kernel@vger.kernel.org" , "lkp@01.org" Subject: Re: [btrfs_mount] general protection fault: 0000 [#1] SMP Thread-Topic: [btrfs_mount] general protection fault: 0000 [#1] SMP Thread-Index: AQHTaYIEYOiKLnoV2UCUFDWIvmuJ6qMsNYCA Date: Thu, 30 Nov 2017 02:38:10 +0000 Message-ID: <3A84FF7B-0390-41EC-862D-5F83C2A656FA@fb.com> References: <20171130022115.5gyvncjrnn2377ph@wfg-t540p.sh.intel.com> In-Reply-To: <20171130022115.5gyvncjrnn2377ph@wfg-t540p.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2620:10d:c090:200::6:9177] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR15MB1915;20:hpB8BlLEKjdzCX86XSR9sSILeu2RLKNXzm+kI/xvS0K/epapdnex6WCLfhozNCYtlLXvK43JKlY7h9K2nalYkYd3CZnW0/gE77FbyedYj//VzoRJwskt89J3rS65vu+Z/18yM7KAOxn9qn8rXAJyMvsVw/8ukiVa4FtieAfywdU= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10019020)(6009001)(366004)(346002)(376002)(24454002)(377424004)(189002)(69234005)(199003)(25786009)(6246003)(106356001)(53546010)(82746002)(5660300001)(33656002)(105586002)(7416002)(45080400002)(316002)(36756003)(68736007)(305945005)(8676002)(2950100002)(54356010)(50986010)(76176010)(478600001)(81166006)(189998001)(6916009)(81156014)(7736002)(2906002)(4326008)(99286004)(4001150100001)(575784001)(6436002)(86362001)(5890100001)(77096006)(6486002)(101416001)(97736004)(53936002)(3660700001)(83716003)(6512007)(3280700002)(102836003)(6116002)(229853002)(6506006)(14454004)(8936002)(2900100001)(54906003)(17413003)(1758585002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1915;H:DM5PR15MB1753.namprd15.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: 41ca079e-ff1b-4758-64a3-08d5379b6577 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603279);SRVR:DM5PR15MB1915; x-ms-traffictypediagnostic: DM5PR15MB1915: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(42068640409301)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(11241501159)(6040450)(2401047)(8121501046)(5005006)(3002001)(3231022)(93006095)(93001095)(10201501046)(6041248)(20161123564025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(6072148)(201708071742011);SRVR:DM5PR15MB1915;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DM5PR15MB1915; x-forefront-prvs: 05079D8470 received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 41ca079e-ff1b-4758-64a3-08d5379b6577 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2017 02:38:10.3481 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1915 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-29_09:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Nov 29, 2017, at 6:21 PM, Fengguang Wu wrote: >=20 > Hello, >=20 > FYI this happens in mainline kernel 4.15.0-rc1. > It looks like a new regression. Bisect is in progress. >=20 > It occurs in 11 out of 11 xfstests run. >=20 > [ 1456.361614] > [ 1456.918942] BTRFS info (device vdb): disk space caching is enabled > [ 1456.920760] BTRFS info (device vdb): has skinny extents > [ 1457.111319] run fstests btrfs/094 at 2017-11-28 09:46:30 > [ 1457.702513] BTRFS: device fsid 5c26b547-822d-4338-be92-b2ec5f6b159d de= vid 1 transid 5 /dev/vdb > [ 1457.920372] general protection fault: 0000 [#1] SMP > [ 1457.921693] Modules linked in: dm_flakey btrfs xor zstd_decompress zst= d_compress xxhash raid6_pq dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_res= olver sr_mod cdrom sg ata_generic pata_acpi ppdev snd_pcm snd_timer snd sou= ndcore pcspkr serio_raw ata_piix i2c_piix4 libata parport_pc floppy parport= ip_tables > [ 1457.927395] CPU: 3 PID: 19563 Comm: mount Not tainted 4.15.0-rc1 #1 > [ 1457.928804] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIO= S 1.10.2-1 04/01/2014 > [ 1457.930815] task: ffff880078f8ca00 task.stack: ffffc90004828000 > [ 1457.934242] RIP: 0010:btrfs_compress_str2level+0x17/0x50 [btrfs] The stack trace looks like the bug fixed by Qu Wenruo: btrfs: Fix wild memory access in compression level parser [1] That fix looks to be included in the pull request for 4.15-rc2 [2]. [1] lkml.kernel.org/r/20171106024319.32584-1-wqu@suse.com [2] lkml.kernel.org/r/cover.1511980478.git.dsterba@suse.com > [ 1457.936653] RSP: 0018:ffffc9000482baa8 EFLAGS: 00010202 > [ 1457.938909] RAX: 0000000000000001 RBX: ffffffffa057967f RCX: 000000000= 0000004 > [ 1457.942574] RDX: 1ffff92000905763 RSI: 1ffff92000905763 RDI: ffffffffa= 057bc24 > [ 1457.946221] RBP: ffffc9000482bb40 R08: 0000000000000063 R09: ffff88007= e8257a8 > [ 1457.948982] R10: 000000000000002c R11: ffffffff81a6a340 R12: ffff88007= 50b0000 > [ 1457.952494] R13: ffff88007e8257a0 R14: 0000000000000000 R15: 000000000= 0001000 > [ 1457.956106] FS: 00007fb80717d840(0000) GS:ffff88013fd80000(0000) knlG= S:0000000000000000 > [ 1457.960103] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 1457.962466] CR2: 00000000010b6f88 CR3: 00000000750ce000 CR4: 000000000= 00006e0 > [ 1457.966100] Call Trace: > [ 1457.966851] btrfs_parse_options+0x96f/0xf20 [btrfs] > [ 1457.970107] ? open_ctree+0x1041/0x2410 [btrfs] > [ 1457.971638] open_ctree+0x1041/0x2410 [btrfs] > [ 1457.973780] btrfs_mount+0xcfa/0xe40 [btrfs] > [ 1457.975889] ? pcpu_alloc_area+0xc0/0x130: > pcpu_alloc_area at mm/percpu.c:1010 > [ 1457.979028] ? pcpu_next_unpop+0x37/0x50: > pcpu_next_unpop at mm/percpu.c:264 > [ 1457.981051] ? pcpu_alloc+0x2e1/0x650: > pcpu_alloc at mm/percpu.c:1472 (discriminator 1) > [ 1457.983074] mount_fs+0x36/0x140: > mount_fs at fs/super.c:1220 > [ 1457.983941] vfs_kern_mount+0x62/0x130: > vfs_kern_mount at fs/namespace.c:1038 > [ 1457.985951] btrfs_mount+0x183/0xe40 [btrfs] > [ 1457.989441] ? pcpu_alloc_area+0xc0/0x130: > pcpu_alloc_area at mm/percpu.c:1010 > [ 1457.991495] ? pcpu_next_unpop+0x37/0x50: > pcpu_next_unpop at mm/percpu.c:264 > [ 1457.993524] ? pcpu_alloc+0x2e1/0x650: > pcpu_alloc at mm/percpu.c:1472 (discriminator 1) > [ 1457.995502] mount_fs+0x36/0x140: > mount_fs at fs/super.c:1220 > [ 1457.997415] vfs_kern_mount+0x62/0x130: > vfs_kern_mount at fs/namespace.c:1038 > [ 1457.999537] do_mount+0x1d5/0xc90: > do_new_mount at fs/namespace.c:2513 > (inlined by) do_mount at fs/namespace.c:2841 > [ 1458.001440] ? kmem_cache_alloc_trace+0x16d/0x1c0: > slab_pre_alloc_hook at mm/slab.h:419 > (inlined by) slab_alloc_node at mm/slub.c:2651 > (inlined by) slab_alloc at mm/slub.c:2733 > (inlined by) kmem_cache_alloc_trace at mm/slub.c:2750 > [ 1458.003603] ? copy_mount_options+0x28/0x240: > copy_mount_options at fs/namespace.c:2722 > [ 1458.005698] SyS_mount+0x7e/0xd0 > [ 1458.007597] entry_SYSCALL_64_fastpath+0x1a/0x7d: > entry_SYSCALL_64_fastpath at arch/x86/entry/entry_64.S:210 > [ 1458.009808] RIP: 0033:0x7fb80683c98a > [ 1458.011835] RSP: 002b:00007fffac136bc8 EFLAGS: 00000202 ORIG_RAX: 0000= 0000000000a5 > [ 1458.015803] RAX: ffffffffffffffda RBX: 00007fb806d57507 RCX: 00007fb80= 683c98a > [ 1458.019432] RDX: 00000000010b4260 RSI: 00000000010b42e0 RDI: 000000000= 10b42c0 > [ 1458.023055] RBP: 00000000010b4140 R08: 00000000010b4280 R09: 000000000= 0000021 > [ 1458.025659] R10: 00000000c0ed0000 R11: 0000000000000202 R12: 00007fb80= 6f65e44 > [ 1458.029307] R13: 0000000000000000 R14: 0000000000000000 R15: 000000000= 0000005 > [ 1458.031933] Code: 83 e3 05 e9 26 fe ff ff 31 db e9 1f fe ff ff 0f 1f 4= 4 00 00 0f 1f 44 00 00 48 89 fa b9 04 00 00 00 48 c7 c7 24 bc 57 a0 48 89 d= 6 a6 40 0f 97 c6 0f 92 c1 31 c0 40 38 ce 75 06 80 7a 04 3a 74 > [ 1458.041233] RIP: btrfs_compress_str2level+0x17/0x50 [btrfs] RSP: ffffc= 9000482baa8 > [ 1458.045201] ---[ end trace e67558e75fd9eba6 ]--- > [ 1458.066398] Kernel panic - not syncing: Fatal exception >=20 > Attached the full dmesg, kconfig and reproduce scripts. >=20 > Thanks, > Fengguang > <.confi= g.txt> From 1585455861920923981@xxx Thu Nov 30 02:22:15 +0000 2017 X-GM-THRID: 1585455861920923981 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread