Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp723843rwi; Thu, 20 Oct 2022 04:37:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5BfnVRqcabky3aJZ/oIJ0ixO0Lem7wjHgr/+CZrefqY0/gnYRRJe6EHfVlf1uUTkcRdYTu X-Received: by 2002:a05:6402:5024:b0:440:e4ad:f7b6 with SMTP id p36-20020a056402502400b00440e4adf7b6mr11897704eda.358.1666265879198; Thu, 20 Oct 2022 04:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666265879; cv=none; d=google.com; s=arc-20160816; b=HCxzIvaXIIEKR7/a5Unf6fWHKfRQXb9afqqDvkVCzJM1ECg2zrG87v07C/pmEU0Cg2 EJ+9/8U/0TGvU2oBnc306yk+WMfz9U1zXjRgDpYNL19mzoDxCuH7MPMh4f8RdYApqs30 QZVmRag0WsT0+HZEj9oaslaT7yCR3MEZFzNsnogRwLEZyZUFSYHTMTYIzUwsi4X80WSy iFgQpVXH3HcdsZQybe5M7sdrVKozOXHH5hbjJM6oCf2gta4LhUjy178KehvBRSN+y8fH ZkxRF/lxcTdc1StPJpMC0/SC7Hd9tVdP/Z2ELe8EGV/wgpHpwcAFOR356JPn9+ZTZ49t 59/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=qN3HTjgbcHe8l52a9+YwD4sqPZ+GTntqrsXcQeRIg2s=; b=YAq7XLGw5sIxi2Ni094xnr7Mx1CBN37SN7Oy15GLA6d96WpDyIEZ+RvhK1Lrpg8XWA QlF47Nf4t51nvZOVsGJt9B799io52h4hk9unkrc0TCyars9GHJXvAdHhmqEjUn9sxc8q JJqJ2ETrt+/Lko2oaqWzGKhi/YHv29DPcrCS1fOkN+m0vurPeWC7XCcMtF9XFvxIcTYT PRbSBTRMY+x6F3R6OiJmzKKFPqv4CpF6K8TfnNiT2Qm5MMcqSRnonQULKRrAJr/y63XH 9/zacvHJ+wMgGW52hkVllJAwSC7V7F/pEW4DWAMofgBts0X/QwBQnt1MnEK4l50uq/dG 38lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Hi8HFcY0; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mf26-20020a170906cb9a00b0077c2e5ea05dsi13695503ejb.267.2022.10.20.04.37.42; Thu, 20 Oct 2022 04:37:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@gmail.com header.s=20210112 header.b=Hi8HFcY0; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230470AbiJTLa1 (ORCPT + 64 others); Thu, 20 Oct 2022 07:30:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230362AbiJTLaY (ORCPT ); Thu, 20 Oct 2022 07:30:24 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857C2181CB2 for ; Thu, 20 Oct 2022 04:30:23 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id p11so1280748qvr.12 for ; Thu, 20 Oct 2022 04:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qN3HTjgbcHe8l52a9+YwD4sqPZ+GTntqrsXcQeRIg2s=; b=Hi8HFcY0IpNX8PT2Ggv8nHfDL6o7cueAPW+WM30v/8aDCyXC/EFBuLo/2oCd7CNNSQ noli9Tv4dblPF5RhGtBmkf76FdSoh8K67/6gF9zWurHflnt3rvwllsG7RWd8AsLpSd74 9EPWd7tmXVq91YKhKR3zfiilpZtZp8QiyUwgJdev2SMc4Ly11m31GtH8EsD6Uj8e4MP2 LdsqS8ijWWe38l13fK+t62tohSEI9zcs6tKp6nwa8DxRzYiunK1zIYUp/REk4b2EmFtG UqLb3cIaxGTLTWsP882sZFG+KnHYIexoJnUCos70JsRWwSTX9sWlNlGlx1P7LubaC7Gv ZiCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qN3HTjgbcHe8l52a9+YwD4sqPZ+GTntqrsXcQeRIg2s=; b=eHEG540E77whHwMC+rUgvWOWpzHEQPC/MSkmB9QGIHmtlbDxXKaAId+2VTfzMKb0sw Uy2+n598/ybU9hELFvA8JQbvd6XIFDESQXenM588zwM+YWYscE9C3ijR/SApLkp5SzGk iwZIL1srwcsqtWmArkMGg5O91CZNqEyA/rBQoiYEh+s43u79qMTsVA8s08z+wPh7TfbM 22W6MPd2K0/A7jVJZi9rxpooa42jf+F6/QBW4QiNzsehoe6tv93wAZhI8LWesoTOoGbu /3G/8gk/A2bkrkPV1rpVMV/FzWgf0SxzjSa95EyzEGN2/TFANtHg4NK35mksXMLiAB59 fs8Q== X-Gm-Message-State: ACrzQf0qyTZqcWGoZ7kIsRG/eY5IgzFHNPo+IqWzw6Ju576DDL9CKn94 8bfw3vnfb8eQVJ2hyUary1lfaL3DHGvv3efV X-Received: by 2002:a0c:f58e:0:b0:4b6:97f6:8d6c with SMTP id k14-20020a0cf58e000000b004b697f68d6cmr4880963qvm.27.1666265422584; Thu, 20 Oct 2022 04:30:22 -0700 (PDT) Received: from [10.176.68.61] ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id q21-20020a37f715000000b006cebda00630sm7042431qkj.60.2022.10.20.04.30.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Oct 2022 04:30:22 -0700 (PDT) Message-ID: <18b9e591-3495-5cb6-53cd-f8c11bc0a71d@gmail.com> Date: Thu, 20 Oct 2022 13:30:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v2] brcmfmac: Fixes potential buffer overflow in 'brcmf_fweh_event_worker' Content-Language: en-US From: Arend Van Spriel To: Dokyung Song , linux-wireless@vger.kernel.org, Kalle Valo Cc: Jisoo Jang , Minsuk Kang References: <20221020104954.GA461052@laguna> <1cbd1d8e-8dc5-052b-118a-0c546d5edad6@gmail.com> In-Reply-To: <1cbd1d8e-8dc5-052b-118a-0c546d5edad6@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-wireless@vger.kernel.org The working email address this time (I hope). On 10/20/2022 1:29 PM, Arend Van Spriel wrote: > + Kalle > > On 10/20/2022 12:49 PM, Dokyung Song wrote: >> This patch fixes an intra-object buffer overflow in brcmfmac that occurs >> when the device provides a 'bsscfgidx' equal to or greater than the >> buffer size. The patch adds a check that leads to a safe failure if that >> is the case. > > Thanks for the updated patch. The subject for all linux-wireless patches > should begin with 'wifi:'. Sorry for noticing it not earlier. Maybe > Kalle can correct it when applying the patch. > > Regards, > Arend