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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3404FC32771 for ; Wed, 28 Sep 2022 18:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OmMh48Q8j6NSKydy4seWLaiTNy3igz0K80oTykRZTfE=; b=mvj5emBFBsJOVo yCG07Sd4nx724sXTSayrYmUearRGFeIpjaRx4ooFi7vIlx8dz08PsWwUkYh/ckZAsRw7G9GxytrIs OeD2h+oVaFRNS8DPHIlxBRCJuc25OxrrWQE8vdeD90QUvBo3pli8KGhUMXewb1FkTfL1xdYYhX+c3 ld5yaRBSrLntlPPjKEDZcD9umhiDRM0NoNzuRr94KgmK9lqY/c79OEikOyMtCN2RILmVvBs0gz2Wb Jem6C/NBH03CgZtPzzBO54Y4Z07lnpMGVkJrHWL/YK9b5OkryWdt9k9IG+A9PErciWc20sA2VuHKn FA4nxcUJwP3rVjkg/J9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odbNe-00HV41-B0; Wed, 28 Sep 2022 18:01:58 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odbNb-00HV3O-4k for linux-arm-kernel@lists.infradead.org; Wed, 28 Sep 2022 18:01:56 +0000 Received: by mail-pg1-x52d.google.com with SMTP id 3so12908742pga.1 for ; Wed, 28 Sep 2022 11:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=JdaNct/G2JycPe4ErZLD0bdcxF7sV3x5ZSzi26f0LVc=; b=g/UF8+sjAIowCdq+SbQGgr58qUNEKqBINYp4gqmYRYyPJljH+zWtiS21cPbYkdN8t9 aYtwiPIvqEad/zl6L8HgmGt1e7rIECz71QbIFeC+3JrKeNwmiec4liXTlqqnVUfUoFYt EMF4+V7VxUx8Ss7MtYo0k8hUOUMHmOU3bN6Pw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=JdaNct/G2JycPe4ErZLD0bdcxF7sV3x5ZSzi26f0LVc=; b=c2FwFjp+EvXYjpEyyJ9/l2/aPf+qXYeSCzzOv3yhjZ66Z2gY9lqR/dWVOi8GM0/AE9 Wzq/PMyy6NQnkIIi24GEW3f04qmcmywR52hlnHXzLeAiLc1TipoBdthtrEMFNjgorRvf o0eRSqa/dzDetxRmpNFy8Hy7jM4AUgnF90E3TgujKoMSqqvQLUPovWZ4foAUtUFBGSza xVxOF8wXp2ydd8/6i3lBAY7QEeDhu6BSFwd/iMB03ZNhTwDQEVM722CAjezdrxEplK5A DR9Ts9KQmIm5YKhcbIo1xZ/OckQFKcwU19GFXSgs767e/BfC8+HDwfweU3Bdrrt8KpSj eJoA== X-Gm-Message-State: ACrzQf1O/EXX14K0Z5jF13KnwpuYnMtbv9btqufJ/Xke3AqX21XScH+V O25bxL34WyVp1DeMTzkq4EH5Zg== X-Google-Smtp-Source: AMsMyM6F0wUKd7/8qdqNwZVIIaRh5M4pwKa8t+qDZ9gM0fXutw7SwWVeHX0LkCx4/OjjgR/QVrS9YA== X-Received: by 2002:a63:2bcc:0:b0:434:eb77:28a with SMTP id r195-20020a632bcc000000b00434eb77028amr29658693pgr.168.1664388112280; Wed, 28 Sep 2022 11:01:52 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id c3-20020a170903234300b001732a019dddsm1822508plh.174.2022.09.28.11.01.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 11:01:51 -0700 (PDT) Date: Wed, 28 Sep 2022 11:01:50 -0700 From: Kees Cook To: Florian Fainelli , Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, Seung-Woo Kim , Russell King , Arnd Bergmann , Linus Walleij , "Russell King (Oracle)" , "Steven Rostedt (Google)" , Nick Hawkins , John Crispin , Masahiro Yamada , Nicolas Schier , Nick Desaulniers , open list , bcm-kernel-feedback-list@broadcom.com, anand.gore@broadcom.com, william.zhang@broadcom.com Subject: Re: [PATCH] ARM: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Message-ID: <202209281100.5311EE081B@keescook> References: <20220928174739.802806-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220928174739.802806-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220928_110155_217867_6FAF937A X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Sep 28, 2022 at 10:47:39AM -0700, Florian Fainelli wrote: > From: Seung-Woo Kim > > To enable UBSAN on ARM, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL > from arm confiuration. Basic kernel bootup test is passed on arm with > CONFIG_UBSAN_SANITIZE_ALL enabled. > > Signed-off-by: Seung-Woo Kim > [florian: rebased against v6.0-rc7] > Signed-off-by: Florian Fainelli Ah-ha, thanks for testing this. What devices did you check this on? I know boot-up on arm32 can be very device-specific. Which UBSAN configs did you try? Thanks! -Kees -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel