Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp462688rda; Sat, 21 Oct 2023 16:36:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHjTe9PY6tCg0H1lIBfSzlc1efpCBhRMW6IXCb6CdTFtT7M2u14Xc03NF4jR3Jw8/N4gNeD X-Received: by 2002:a9d:4d04:0:b0:6be:ffdd:efb9 with SMTP id n4-20020a9d4d04000000b006beffddefb9mr5854452otf.32.1697931390496; Sat, 21 Oct 2023 16:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697931390; cv=none; d=google.com; s=arc-20160816; b=E/QbDyu4y88dDjMzLoIb5Jw8LkG0oCP6IBImKbGIa/CJrsMpgP3Fmmj8GZXPbpj8CI h9bhfHU3U8X2MXicsKL7W/Oa6aK2fwYYXUpV/jJFzUFnqqT9vDBuus9mb7sVnAXqBKkl hU1/5C1LYfDndbb89pphQbAJzIDwaq1WeJCjO7eyryC9l+InQsW4O3ZdCwwgngi0/VaW 1/XTcrH4lBcZ1robS4SlL0jiCOOfhvDFbal5qb/B6ZdD6kxx9m9/TnIDQnFuRFgm/mNt KJcwPTqvK3RHy0IHADaZvy2XxDK/zMZQhx5pLzpHVJZKN19vN17n79qHZ7+qMa8U6BMr aYIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=ePJsVbVghIPpOSlBWXWL3Zpf8CxGc78DT241F9Znn6s=; fh=wQzWEA6VCB9jQqkFRRjZpmELw7T4Phxqzab3n+EidvA=; b=TqGlOZoADhRxkYJzaNjAUxlCcUxrf5AiqB16P6rSb4lbfNicPooynIF2W+UjvarZO5 TkOzMsL4sKNy38Zj8xIUC/IoE9qjWwW6HrfE8FxnZAR/R0/L6xz+Zl2BmXkMgAveuVFt ECah7extmYWoFVxlLwcuz26ZNqqemZZJHX9u4slqinOcQnLaaVPweZyAdMvQPY+7+mmV UZ3wSu5O/Xlh/G/Kf+TKyGni7hsfkgzL1kG/aPh0y9c0Q29lXBiTe8X1m2YazOEOcSKP okKcZUg0J/coS2M/7RTmnp+7GrgYwd/ojG14dqGpKUyDZaqsGNSVPr63YegSVEhAAqzR uiIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jes7izl8; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id o37-20020a634e65000000b00573f786103dsi4120846pgl.754.2023.10.21.16.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 16:36:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jes7izl8; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 04B33809C192; Sat, 21 Oct 2023 16:36:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229437AbjJUXg0 (ORCPT + 99 others); Sat, 21 Oct 2023 19:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbjJUXgZ (ORCPT ); Sat, 21 Oct 2023 19:36:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46DBAD76 for ; Sat, 21 Oct 2023 16:36:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACE04C433C8; Sat, 21 Oct 2023 23:36:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697931382; bh=ePJsVbVghIPpOSlBWXWL3Zpf8CxGc78DT241F9Znn6s=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=Jes7izl8GIZDoZdhjcdKpFSDBNTYlqrZtRgp1KMFoTgz6Vv5Eg9lJrtxsgw+/Pd8k SCgmHgcw5X+ZY5Lx5o7GwzjY39xpPA+U3sDOGJZE+Ru6soJLTDHo/r5UVmYfmfz3NY ozD9uqdLam9a7jDUeLpi/XC3H8yV5WI3neuN/wWGYO3a+vVCAbxQBWKaA/8nURCTEk DAsVdxCchnhMtzBMEfwZx9HhMmYqcViHBYsFgLuv3pd3+AtEB03wR2aFJzxfDf/nta l5OzRTx3Tbnbysuqf6f4KlwSbKHQe9x6RVGDEgb2SPMwwVJd+CJugFtP4qfX21VsSf uyB5ST6KcupdA== Date: Sat, 21 Oct 2023 16:36:19 -0700 From: Kees Cook To: andy.shevchenko@gmail.com, Jan Kara CC: Andy Shevchenko , Baokun Li , Josh Poimboeuf , Nathan Chancellor , Nick Desaulniers , Kees Cook , Ferry Toth , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [GIT PULL] ext2, quota, and udf fixes for 6.6-rc1 User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 21 Oct 2023 16:36:27 -0700 (PDT) On October 20, 2023 1:36:36 PM PDT, andy=2Eshevchenko@gmail=2Ecom wrote: >That said, if you or anyone has ideas how to debug futher, I'm all ears! I don't think this has been tried yet: When I've had these kind of hard-to-find glitches I've used manual built-b= inary bisection=2E Assuming you have a source tree that works when built wi= th Clang and not with GCC: - build the tree with Clang with, say, O=3Dbuild-clang - build the tree with GCC, O=3Dbuild-gcc - make a new tree for testing: cp -a build-clang build-test - pick a suspect =2Eo file (or files) to copy from build-gcc into build-te= st - perform a relink: "make O=3Dbuild-test" should DTRT since the copied-in = =2Eo files should be newer than the =2Ea and other targets - test for failure, repeat Once you've isolated it to (hopefully) a single =2Eo file, then comes the = byte-by-byte analysis or something similar=2E=2E=2E I hope that helps! These kinds of bugs are super frustrating=2E -Kees --=20 Kees Cook