Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26898172rwd; Mon, 3 Jul 2023 17:12:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQjMa1+iGEdBR2WodZju2ZPb+dZJVayLvO+TNEX/ePrCu+buehtbHMwzAKZhcTQYvY1jLQ X-Received: by 2002:a05:6a20:3257:b0:12c:1193:a563 with SMTP id hm23-20020a056a20325700b0012c1193a563mr8700272pzc.58.1688429533520; Mon, 03 Jul 2023 17:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688429533; cv=none; d=google.com; s=arc-20160816; b=oqJMVTc+ENeOSX11LjaMAeHAnDCPM0JSGqR1h76D5SEbihZ12yEXtPH2cOe136gvr7 ZAoN1+WHNbHEZL0fqPTwn+dEXI4+1rFVrcDoI1XObTsgkKcnDM+qsyEi/PxHA5CDqTsB YAPL2J6114aZzMmps6vBvSoLX4hPKkJqLrOkhU0V8vCcUbCqkAOWPhEdvOJjOOyd/QS0 +YwXpe++OUC/hVxoRNdf1uZAiXOEm6KCXg6n7emy+3VV6YSv5fQa3nc9RrGM7Jx18SsZ G4qepocG2to3gC4EOaVXoyH2QrYvE7rplmiw/5nHbt9p9Cm000RVQigwZsVXdheP8Mn3 TJrQ== 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=pCViWeoaoIqREKt5VQUB2Bo7LBAEFHy3aH/YsBHaAQs=; fh=60PiwdiEGU6QgOZH1ZO5ZEr2xUwVP8HDWI+q4H/JczQ=; b=oqKBVFr/9WfnSwJ9QdmCC7g7Xfrh9NQe5btZCNoWYODF8NDh4TU21KwjvybjUxZtkg Ri+G+C/C0m2BW8uDrYgRX8iHzf1l0VLleW8nlY+MZKVKFXHcc33g+4mucg7AzzOJvD97 bwAIjcOm/WHdvliNSBYdjEG7YBbGAE6NWl6K2XsZe1gJyhG9VOSEMLZhBDuRLNslvhLt 6g+KJe/t563MiPUIjtdF/r9vY2FBKmtbmoS8iRbsncmh9vAtEMB7PTTrpU2BwEK+yFhU rLeiAnPFUokaMtl7EZyEWgYFBaBMGGhf/Dzw95DFSgjzRM3rFNmFCdIgzeFvjuRaFNtj PkiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dCdJNt2X; 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 ce4-20020a056a002a0400b0068255ea8ed5si8729157pfb.73.2023.07.03.17.12.00; Mon, 03 Jul 2023 17:12:13 -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=dCdJNt2X; 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 S231152AbjGCXJb (ORCPT + 99 others); Mon, 3 Jul 2023 19:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230252AbjGCXJa (ORCPT ); Mon, 3 Jul 2023 19:09:30 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4088CBD for ; Mon, 3 Jul 2023 16:09:29 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1b89d47ffb6so5553355ad.2 for ; Mon, 03 Jul 2023 16:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688425769; x=1691017769; 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=pCViWeoaoIqREKt5VQUB2Bo7LBAEFHy3aH/YsBHaAQs=; b=dCdJNt2Xiw23cB9tFdmwx5uKIJ4qvUZvheuWdeuGCD43+kPE10UNTwc4n5mCkpY9/a 8+OzFkYA2wSAUk4FRuP3lsJZEGTFYbr+r4VWNdQlgUbYWiIzMf5ejNEAejGfIUxVxFJN F8eekGEpb1gmebjrsQgqzwfzeeIkrSg3Gyx80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688425769; x=1691017769; 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=pCViWeoaoIqREKt5VQUB2Bo7LBAEFHy3aH/YsBHaAQs=; b=NNY8qWnhHnYBW7gzCQXqKmfoMk6LoqNv+j/lUdvjcn8vIlpo6DaUVFs19u+f22ORkd u06jpFJTFoE6XSELe7ztuObOEABID1lxlOmAJop4kNQem1d0DkXfS8DQrZJhBRR5uO2n pgLs3s2KObxDm84h9NmKmuiQi1UmU3SorHZf9+ejTQ8ezyCGlERMtxrJpswbhoUAkkRK kt7in9tAPX1XVSgmWywgqepaft37quS99wtOPXCFx7quxCjvV50dSC2xKad+gjYSYQWi 9JNTZc5ihX+PYHobjRGzrvaiuuyWtXfR4RE/R+1eoa59h/4n/zyfW4mqYR4pZCMCZazF nUkQ== X-Gm-Message-State: ABy/qLYmMSjoPGkAOpEwS2aWJQvgjSMOctVGKTcIWx09rIuA8CRQB2xs CXrg1mAKTjSC8iImRncGXwpMZA== X-Received: by 2002:a17:903:2446:b0:1b8:1c4f:4f72 with SMTP id l6-20020a170903244600b001b81c4f4f72mr11153985pls.61.1688425768750; Mon, 03 Jul 2023 16:09:28 -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 j23-20020a170902759700b001b53953f306sm15768832pll.178.2023.07.03.16.09.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 16:09:28 -0700 (PDT) Date: Mon, 3 Jul 2023 16:09:27 -0700 From: Kees Cook To: Mirsad Goran Todorovac Cc: Guenter Roeck , Bagas Sanjaya , Linux Kernel Mailing List , Linux LLVM , linux-kbuild@vger.kernel.org, Linux Regressions , Nathan Chancellor , Nick Desaulniers , linux-hardening@vger.kernel.org Subject: Re: [CRASH][BISECTED] 6.4.1 crash in boot Message-ID: <202307031606.3FD9D0D@keescook> References: <9a8e34ad-8a8b-3830-4878-3c2c82e69dd9@alu.unizg.hr> <202307022018.B26F5795@keescook> <625e951e-9922-d15d-5520-e8cd5eba1995@roeck-us.net> <4fa56264-f188-46f9-cc77-117b469b3328@roeck-us.net> <2b1a4f49-ba18-0246-af09-4e4133814411@alu.unizg.hr> <202307022230.6121D6896@keescook> <202307031149.823F9A3@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202307031149.823F9A3@keescook> 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=ham 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 12:03:23PM -0700, Kees Cook wrote: > Cool. xhci-hub is in your backtrace, and the above patch was made for > something very similar (though, again, I don't see why you're getting a > _crash_, it should _warn_ and continue normally). And, actually, also > include this patch: > https://lore.kernel.org/lkml/20230614181307.gonna.256-kees@kernel.org/ This is now in Linus's tree: 09b69dd4378b ("usb: ch9: Replace 1-element array with flexible array") Please also still try with the first patch I mentioned, which is very similar: https://lore.kernel.org/lkml/20230629190900.never.787-kees@kernel.org/ -Kees -- Kees Cook