Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6787214rwl; Wed, 22 Mar 2023 16:02:39 -0700 (PDT) X-Google-Smtp-Source: AK7set91YQuolErvAPH0/Zp/iUIut/Kgc6m+7MqfuovJ6GMWpG6M+LSBGMBkncNpH4JzRHcPpFM9 X-Received: by 2002:a17:906:cedd:b0:932:e141:29c7 with SMTP id si29-20020a170906cedd00b00932e14129c7mr8573268ejb.19.1679526159703; Wed, 22 Mar 2023 16:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679526159; cv=none; d=google.com; s=arc-20160816; b=bs/CMex8XqjJnT6ww+sZeBRRdBBZ+wMgc505qohU+hkjHSKBfz1uEDiF9r4kZGYWRx YYS6ylyv5SGFom46a/+aBUfeKd0L0+uJuY77zQkF8rYtUQPfVoO7JAnIrEIbpBjjp3ml UD0RQ/+OGCvt97DNFGxRWHUw1xwMLBlG9Xou56V4t1/Oglkbw9m7lM8JPNtdnPWKldFH YbxBGt7u5xk1Q8NNTVMGeym4PUyYRAIkPzGid3YrK0Nua6g/SEldNM74hvE1TFuU260n B1qfE49ASsSRMn69gT39iFJvm9S575FXXbIoiOko23a8WeDO/exePxiA5d8sYLIxPhKF Wqxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=3xILAxXUqOtP9GYI/XWFL1HepHCziJwHGZSBE9YNZio=; b=JpdgSlHpXmQj4CvNzpr9zSJx+85fetwnm5EuiKN1sfTgjrVhD+ocfLI2uArsfmZnHy UrHR2j/LVZpRxSxz6ARjqIINbCFvSzxb+ON/Wbl9ufRabS3MsW3ofZgOJ/oLgomnw43d Ev2EVTPb2fPjomNUXOYxzrcZPhvwANHb15hNG7KDDSj3ziZMNkpnswRIRKC8ueXeN/ib WZnm1zKIPVTfJdiPuqBn02GXMp2usQar7XBcNeiS1NMfQ9oXsYITgGvO4yRuV3X4YoL5 jZwN7fXFm484LxDKKK69xURXUiH0fg/Y1+jQSb0/rFswTzNcta/CxykUffzqCZMSf6rn TERQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=iTg6OT41; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg10-20020a170907970a00b009334769adc2si15826482ejc.457.2023.03.22.16.02.12; Wed, 22 Mar 2023 16:02:39 -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=fail header.i=@kernel.org header.s=k20201202 header.b=iTg6OT41; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbjCVXAW (ORCPT + 99 others); Wed, 22 Mar 2023 19:00:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjCVXAU (ORCPT ); Wed, 22 Mar 2023 19:00:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E04CF6588; Wed, 22 Mar 2023 16:00:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7906B622FF; Wed, 22 Mar 2023 23:00:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BE444C4339B; Wed, 22 Mar 2023 23:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679526018; bh=EB2DTbZFfHdmyXLnaK3jdMbvbLGX7OrJ7RFf0PO0gMo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=iTg6OT41QInqtve2alpugcL962zy0p79bxUAarxE5jUjgUCaIQeFtOSouLNBb8ttT jV2euYk6VIdHoPiRbQT91Kjfa0iDKf/FkRk1QU7KZBjpmA+1raix6JhKwot+OwBfj1 BeuPTjSPMGQxdnGCVc7Jr2L+hJEIo1Yfv5YLMuJQlSdsmsKpItrR4vhiG3L2q4Sr5i 9gkKmmjQnIHvmx1+CKYXYBxaB4wV624JjF1Vl0WSaJYchnmzOyOkBoWhN5C6zLm1kX 9xQMvR4V+y/EQkUE+uXv8v2QH7cbXOnnpSeD/9D+bSgzSayvL9J9Ykflkoy7tFkA8h ZLeBQCb62Z/vA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 92D38E4F0DA; Wed, 22 Mar 2023 23:00:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: HCI: Fix global-out-of-bounds From: patchwork-bot+bluetooth@kernel.org Message-Id: <167952601859.12488.10811735256631144106.git-patchwork-notify@kernel.org> Date: Wed, 22 Mar 2023 23:00:18 +0000 References: <20230321015018.1759683-1-iam@sung-woo.kim> In-Reply-To: <20230321015018.1759683-1-iam@sung-woo.kim> To: Sungwoo Kim Cc: wuruoyu@me.com, benquike@gmail.com, daveti@purdue.edu, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Mon, 20 Mar 2023 21:50:18 -0400 you wrote: > To loop a variable-length array, hci_init_stage_sync(stage) considers > that stage[i] is valid as long as stage[i-1].func is valid. > Thus, the last element of stage[].func should be intentionally invalid > as hci_init0[], le_init2[], and others did. > However, amp_init1[] and amp_init2[] have no invalid element, letting > hci_init_stage_sync() keep accessing amp_init1[] over its valid range. > This patch fixes this by adding {} in the last of amp_init1[] and > amp_init2[]. > > [...] Here is the summary with links: - Bluetooth: HCI: Fix global-out-of-bounds https://git.kernel.org/bluetooth/bluetooth-next/c/95084403f8c0 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html