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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C064BC04A95 for ; Wed, 28 Sep 2022 18:01:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234115AbiI1SB4 (ORCPT ); Wed, 28 Sep 2022 14:01:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233404AbiI1SBy (ORCPT ); Wed, 28 Sep 2022 14:01:54 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD4B5100AA4 for ; Wed, 28 Sep 2022 11:01:52 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id a29so13203435pfk.5 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=eoIZs1n40ahmk+LTn6EyA9Vb0L11iITcBNMMC1f+fy6hjNBo+VXYxrMNmZGl/Zj58G 13K1DBNqPBzJO3l6BhlOP4Jk/xEDCXvNPFUxNJijojVmyIQzktORZPCwxmIZ/nKeVuho S+QMUBEXEoMzwHcOfOTx/61K9zzM04KduGaTjJYkqH/bIHj4InGBSd6DA/tpomFo3xWA HtmTgc9ycqxMizdAJ2+0tmH819rKrKiqBHi1yhACpnOXDVtSDTS5zmDE3xXO0iJ3OxuB PVStLBI6t2ngyOSzkELNmGpoA/D5bn6Kmv228eqMwRDFjp+XLR0k/K+q/qs8fTLRk0wE FQpw== X-Gm-Message-State: ACrzQf0j4hYuzyqY5AwVCpjMZM8uOr40EFIUWg41Vc6SlgO/qHWO/KS4 HZQnPyQRKlB9cv2Y0NhvBkYY2w== 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220928174739.802806-1-f.fainelli@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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