Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25568052rwd; Sun, 2 Jul 2023 20:33:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6wFdofrMFgwLH62aJ3f9tM/QKubpAJRjymxoG7W+bDFgvygtLaUmWrP585UodRThzM9njm X-Received: by 2002:a05:6a20:3252:b0:120:1baf:e56e with SMTP id hm18-20020a056a20325200b001201bafe56emr8971139pzc.19.1688355210313; Sun, 02 Jul 2023 20:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688355210; cv=none; d=google.com; s=arc-20160816; b=DXhBxM7ZkHWLw2ohN9EciAYYLobWcX6AeFKKuOQL7FGjpMLi8R+egr+LFi7U/n8rK3 BvRFGSgSVJ1MkZ1Yjm/ON69FakoX/t7yJdN1iDgyd633adglJ7hiG8UnDVjjuiRv/HnK FSv+/9mNJUBRlxVgAhXARgLFIyKJF5K3WH7FM82mNTfqFUjW7tMnNvptcYVWTnzk5T5b ToYY/09rtbi7FToAv02t4pK22kqF7N+HHZ4ElXZd4GxH19Np4KCmCQ8/2QEabkPeIXY/ 4h84kpmbBM0WzqynkAj7GMpRExiHqM1AghlbtKIFRB9vRmfKuHpxx57FRYqyDoCzIJAO ryGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yBONHC/7jTbYyAxcCcqnQXJVugXf5DsUfZ9d7BfbZ4o=; fh=9eyaEyJfBe1sfaLKn+TyITzX42jKyickdXT7n/5+jYk=; b=v0mMZ0y+BNjdJvVYyamDXd+JJc3QllKckzUWMzmHvaMHGRGjSoKoFuj7VJdvtZidbY sfXnyzWfwjyuCt2eTBgziAV6t3h8qOBf71Eit1PsC0l2FRkAt8VO9DdkQ7CBkTGy508R 829HGE9EhX+k9rfuL40elVmiNksgtbh5Q1Q79nDX9joC+eZaNnGSXZop4nwDYnbhyuP7 4LOj43rUp0DwSF6gzNwOcC6c4+dQgAwWiB0ZSkiEkRHXZ0DTfH4yiW7pzRakP8PDkV+E 7IzZd0DcZXxLmRKByRt5BybthDyGy5iQ5KjE14tUIiLZIYeNtC2f/4fy/sRnSrllVTwI MSJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y7EAPvfp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a170902ed4300b001b248529a69si16925310plb.92.2023.07.02.20.33.14; Sun, 02 Jul 2023 20:33:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y7EAPvfp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbjGCDUt (ORCPT + 99 others); Sun, 2 Jul 2023 23:20:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjGCDUs (ORCPT ); Sun, 2 Jul 2023 23:20:48 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EF301B3 for ; Sun, 2 Jul 2023 20:20:43 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-55b1238a024so3228221a12.0 for ; Sun, 02 Jul 2023 20:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688354443; x=1690946443; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=yBONHC/7jTbYyAxcCcqnQXJVugXf5DsUfZ9d7BfbZ4o=; b=Y7EAPvfp/8oRSUv6xld+uqKeQv1pjO9MFfvbUb3RCncHKhxPyPO02miWVd7revhBZ3 lHxT6f6XGPKunL8sPKTh1Y2M2oaU4JOa2rtNy3/tk9deVmleI0yrY7c0wOOneMHF9EtV nrrRMldpULEc4xyyhbkSIndS07vXY09DYzby8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688354443; x=1690946443; 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 :message-id:reply-to; bh=yBONHC/7jTbYyAxcCcqnQXJVugXf5DsUfZ9d7BfbZ4o=; b=Lt89KRulCEV3SinQw1nj6KJywH8GosGZcn2OWYoYFRBfFqDBk9o46zA4EypQbBD+rO 7YVeM+a1wPoGplmsYdIUIOSHfiL1lsy4ureqDV1SUts3jZ3aPdb4b93CZvs9FNwNOcQO A/1q0jNKQX8Fg5hD9xrWU39vyZVVnMTaYUi9/Gj5i5XWEpDdVHodr4ml4W8qj9A7Gcz9 6WvG4o+9qDG1UgIeaeoNe/MaSo9mVOSXd/Ur6x4hejEXjfQZxYJqDgu33+y/gzf/AFXI IDOerQIh6X9IeHrYrTRDuxLot6P/WaPrZyyIbeQC53dSQSW7zOzlHfIjI/sFVG876feJ KGhg== X-Gm-Message-State: ABy/qLbYSn08dpGI3ApUVqFE1EiFJlM3BpFB3H76iycaSiYpR7qtJEfu RjXY2t9ZPTKKrxObydsJAg1QuGq49ETHI2iV+IM= X-Received: by 2002:a17:903:2594:b0:1b8:6900:a368 with SMTP id jb20-20020a170903259400b001b86900a368mr9572619plb.66.1688354443087; Sun, 02 Jul 2023 20:20:43 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id x1-20020a1709027c0100b001b05e96d859sm5307699pll.135.2023.07.02.20.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jul 2023 20:20:42 -0700 (PDT) Date: Sun, 2 Jul 2023 20:20:41 -0700 From: Kees Cook To: Bagas Sanjaya Cc: Mirsad Goran Todorovac , Linux Kernel Mailing List , Linux LLVM , linux-kbuild@vger.kernel.org, Linux Regressions , Nathan Chancellor , Nick Desaulniers , Guenter Roeck Subject: Re: [CRASH][BISECTED] 6.4.1 crash in boot Message-ID: <202307022018.B26F5795@keescook> References: <9a8e34ad-8a8b-3830-4878-3c2c82e69dd9@alu.unizg.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 03, 2023 at 08:44:37AM +0700, Bagas Sanjaya wrote: > On Sun, Jul 02, 2023 at 06:36:12PM +0200, Mirsad Goran Todorovac wrote: > > Hi, > > > > After new git pull the kernel in Torvalds tree with default debug config > > failed to boot with error that occurs prior to mounting filesystems, so there > > is no log safe for the screenshot(s) here: > > > > [1] https://domac.alu.unizg.hr/~mtodorov/linux/crashes/2023-07-02/ > > > > Bisect shows the first bad commit is 2d47c6956ab3 (v6.4-rc2-1-g2d47c6956ab3): > > > > # good: [98be618ad03010b1173fc3c35f6cbb4447ee2b07] Merge tag 'Smack-for-6.5' of https://github.com/cschaufler/smack-next > > git bisect good 98be618ad03010b1173fc3c35f6cbb4447ee2b07 > > # bad: [f4a0659f823e5a828ea2f45b4849ea8e2dd2984c] drm/i2c: tda998x: Replace all non-returning strlcpy with strscpy > > git bisect bad f4a0659f823e5a828ea2f45b4849ea8e2dd2984c > > . > > . > > . > > # bad: [2d47c6956ab3c8b580a59d7704aab3e2a4882b6c] ubsan: Tighten UBSAN_BOUNDS on GCC > > git bisect bad 2d47c6956ab3c8b580a59d7704aab3e2a4882b6c > > # first bad commit: [2d47c6956ab3c8b580a59d7704aab3e2a4882b6c] ubsan: Tighten UBSAN_BOUNDS on GCC > > > > The architecture is Ubuntu 22.04 with lshw and config give in the attachment. > > Can you show early kernel log (something like dmesg)? > > Anyway, I'm adding it to regzbot: > > #regzbot ^introduced: 2d47c6956ab3c8 > #regzbot title: Linux kernel fails to boot due to UBSAN_BOUNDS tightening I'm confused. Commit 2d47c6956ab3c8b580a59d7704aab3e2a4882b6c isn't in the v6.4 tree... it's only in Linus's ToT. Also, the config you included does not show CONFIG_UBSAN_BOUNDS_STRICT as even being available, much less present. Something seems very wrong with this report... -Kees -- Kees Cook