From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7E29C433DF for ; Mon, 22 Jun 2020 21:23:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B99E920732 for ; Mon, 22 Jun 2020 21:23:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cI9lVeN3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730641AbgFVVXu (ORCPT ); Mon, 22 Jun 2020 17:23:50 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:60377 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730460AbgFVVXt (ORCPT ); Mon, 22 Jun 2020 17:23:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592861027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MTHI+zaTja3E38VDd9Y3uerP656NmZrcxbA5irF/MwM=; b=cI9lVeN3Hrz4Z58jSVPiVaNupGs886FFQsKHZFzsC/PJReYGMcg5W39VVHyXG4ONlehOe3 QYPcC0GTNjYowaGzYHScm2wJd5qnWscgugkH/ueqEowhoZ/WZ9gACYX4EY9WaZYZNc5SH/ 6yvyE5tiBANAjzSwKEYoVq9k1ZanDtE= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-130-XMBORCSvORGNMrQOTJsymw-1; Mon, 22 Jun 2020 17:23:45 -0400 X-MC-Unique: XMBORCSvORGNMrQOTJsymw-1 Received: by mail-lf1-f72.google.com with SMTP id t7so6776096lfl.4 for ; Mon, 22 Jun 2020 14:23:45 -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:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MTHI+zaTja3E38VDd9Y3uerP656NmZrcxbA5irF/MwM=; b=lVw5NWRtBZDlEGf8yeuAmtl6gNX/SKgOl0oKbHdGgzgDPxezWY1WokZKV1c8SzXjM8 YZWvzMsMnrUSFe39LO7snuw9EfdYeyHWWGfufOL/YDvVvmuNivFYVbEW810cGkVfyO/0 U1jGhwSqe/N0YPETDwu3ReU3rK2HoWdn9/42uPmHOjLkM1DtGDr7NKRy19VolGYwj548 a8K7FnidbYThAOPlHPytb9MQGzzxs03yNrEzbRnnOVxfB82F9FmHpxZPzugY1NBU1cxL aP+sDNaP3rmHg94zWLuMHr+AKQai/RbzRXvnkYhpaUkkFRfjPA9v6OwSOcYmWzrVA9iE K4Bw== X-Gm-Message-State: AOAM531UYnXkm3XiRYQ7e9RfkTrnXEKN6G35W4KQ5cW+pE1B6Ee7U6KJ qFi0I+NFdvGJwCh9+c3b0AA66YJmQhaSUOUs65gBg6Q2WXc435zf85/ms5OQAOIjNISWfef88Di DyphZzLk/xWMFshrtgASolR/u7dcj+JEtpo662gm6Uw== X-Received: by 2002:a19:11:: with SMTP id 17mr10957249lfa.125.1592861024129; Mon, 22 Jun 2020 14:23:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2LznLexVe/R0g+fNa5jqrcvFo87DBjuKk4ROfy3S3QPgV/RN7a15kY2app7FvJIIbGRO2ynAzo0IYC7z4Xd0= X-Received: by 2002:a19:11:: with SMTP id 17mr10957231lfa.125.1592861023809; Mon, 22 Jun 2020 14:23:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ondrej Mosnacek Date: Mon, 22 Jun 2020 23:23:32 +0200 Message-ID: Subject: =?UTF-8?B?UmU6IPCfkqUgUEFOSUNLRUQ6IFRlc3QgcmVwb3J0IGZvciBrZXJuZWwgNS43LjUtZDFjNA==?= =?UTF-8?B?OGRiLmNraSAoc3RhYmxlLXF1ZXVlKQ==?= To: CKI Project Cc: Linux Stable maillist , Milos Malik , Jeff Bastian , Major Hayden , Xiaowu Wu , Rachel Sibley , David Arcari , Miklos Szeredi , linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Mon, Jun 22, 2020 at 10:59 PM CKI Project wrote= : > Hello, > > We ran automated tests on a recent commit from this kernel tree: > > Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stabl= e/linux-stable-rc.git > Commit: d1c48dba15e7 - pinctrl: qcom: ipq6018 Add missing pin= s in qpic pin group > > The results of these automated tests are provided below. > > Overall result: FAILED (see details below) > Merge: OK > Compile: OK > Tests: PANICKED > > All kernel binaries, config files, and logs are available for download he= re: > > https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=3Dda= tawarehouse/2020/06/22/607452 > > One or more kernel tests failed: > > s390x: > selinux-policy: serge-testsuite > =E2=9D=8C stress: stress-ng > Podman system integration test - as root > > ppc64le: > selinux-policy: serge-testsuite > Podman system integration test - as root > > aarch64: > Podman system integration test - as root > selinux-policy: serge-testsuite > > x86_64: > Podman system integration test - as root > selinux-policy: serge-testsuite It seems the panics are caused by this commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/= commit/fs?h=3Dlinux-5.7.y&id=3D7bdb075348e33d757bd8cdf017a255a090e87b8f Apparently, the "if (flags & ~(O_ACCMODE | O_LARGEFILE))" check is being hit during mount(2): https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/= tree/fs/overlayfs/util.c?h=3Dd1c48db#n465 [ 8149.093006] ------------[ cut here ]------------ [ 8149.097614] kernel BUG at fs/overlayfs/util.c:466! [ 8149.102386] Internal error: Oops - BUG: 0 [#1] SMP [ 8149.107155] Modules linked in: overlay xt_CONNSECMARK xt_SECMARK nft_counter xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink ah6 ah4 sctp dm_log_writes dm_flakey rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache rfkill sunrpc xgene_enet xgene_hwmon xgene_edac vfat fat at803x mdio_xgene xgene_rng mailbox_xgene_slimpro drm ip_tables xfs libcrc32c sdhci_of_arasan sdhci_pltfm gpio_dwapb i2c_xgene_slimpro crct10dif_ce sdhci cqhci gpio_xgene_sb xhci_plat_hcd gpio_keys aes_neon_bs [ 8149.154907] CPU: 5 PID: 498222 Comm: mount Kdump: loaded Not tainted 5.7.5-d1c48db.cki #1 [ 8149.163043] Hardware name: AmpereComputing(R) Mustang/Mustang, BIOS 0ACDY027 12/12/2018 [ 8149.171008] pstate: 80400005 (Nzcv daif +PAN -UAO) [ 8149.175786] pc : ovl_path_open+0xbc/0xc0 [overlay] [ 8149.180558] lr : ovl_check_d_type_supported+0x48/0x100 [overlay] [ 8149.186533] sp : ffff800013463ab0 [ 8149.189829] x29: ffff800013463ab0 x28: ffff000379622040 [ 8149.195114] x27: 0000000000000000 x26: 0000000000000000 [ 8149.200399] x25: ffff000376d80240 x24: ffff000376d80b40 [ 8149.205684] x23: ffff0003da083e20 x22: ffff800013463cd8 [ 8149.210969] x21: ffff00039cae0540 x20: ffff800013463cd8 [ 8149.216252] x19: 0000000000004000 x18: 0000000000000010 [ 8149.221536] x17: 0000000000000000 x16: 0000000000000000 [ 8149.226820] x15: 095a041701101c00 x14: 745f73656c69665f [ 8149.232104] x13: 7265746e756f6d5f x12: 79616c7265766f5f [ 8149.237387] x11: 747365743a725f74 x10: 00000000000fffff [ 8149.242672] x9 : ffff80000943df20 x8 : ffff0003e2f7f188 [ 8149.247956] x7 : 0000000000000000 x6 : ffff800011d65be8 [ 8149.253240] x5 : ffff0003d20cfbc8 x4 : 61c8864680b583eb [ 8149.258523] x3 : ffff800011d56180 x2 : ffff80000943c470 [ 8149.263808] x1 : ffff000376d80b40 x0 : 0000000000004000 [ 8149.269091] Call trace: [ 8149.271531] ovl_path_open+0xbc/0xc0 [overlay] [ 8149.275958] ovl_check_d_type_supported+0x48/0x100 [overlay] [ 8149.281593] ovl_make_workdir+0xd0/0x460 [overlay] [ 8149.286364] ovl_fill_super+0x298/0xb98 [overlay] [ 8149.291047] mount_nodev+0x58/0xb8 [ 8149.294435] ovl_mount+0x24/0x30 [overlay] [ 8149.298512] legacy_get_tree+0x38/0x68 [ 8149.302241] vfs_get_tree+0x30/0xf8 [ 8149.305712] do_mount+0x55c/0xa80 [ 8149.309010] __arm64_sys_mount+0x94/0x100 [ 8149.312998] el0_svc_common.constprop.0+0x7c/0x188 [ 8149.317763] do_el0_svc+0x2c/0x98 [ 8149.321061] el0_sync_handler+0x184/0x204 [ 8149.325049] el0_sync+0x17c/0x180 [ 8149.328349] Code: a8c37bfd d50323bf d65f03c0 d4210000 (d4210000) [ 8149.334413] ---[ end trace bc6ed2af25e97165 ]--- [ 8149.339375] ------------[ cut here ]------------ -- Ondrej Mosnacek Software Engineer, Platform Security - SELinux kernel Red Hat, Inc.