Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp764693rwd; Thu, 1 Jun 2023 06:21:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5jZTUQ+zSQEw5ytgAF2y2ZChK+k7Tf0ihVwfCj4uq6vaW+e26ef/W0AW3luVS/kTHEOvLp X-Received: by 2002:a17:902:f544:b0:1b0:2cfe:dece with SMTP id h4-20020a170902f54400b001b02cfedecemr6905876plf.16.1685625716085; Thu, 01 Jun 2023 06:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685625716; cv=none; d=google.com; s=arc-20160816; b=G4TzyfUBgCr4VrUW6a5Yvv8krYE0m1s3VSttVFS4sjn7v9/lbvRbly87rQqrqeWKmO Eau7ihGcEK85hDN9fQFdrDWZE2/MldV5P5QlAF/iMJ6ftnTIa0JrgQIszkOw/UPVLNA+ elTWUBgKdy5C7967xc4xJtuX/IQlXSxZdYpbz0T61qZciywj8SG+yUCn2CxEvdzAD/tV 3hGC+Cs/XS4m8NE42cpsEV8mEsc2piMz9tUjXLmoW6OGK4bPiJxttr3u9NbomQSKF5Zb FW6wtOzIZ8QE9luuKcfCcvR1JolIqJ4wKUjSzAcT+x9l3fvaDfS9yLyK+hk13etY0MFG Ja1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=95MSBmGmz0M5HWlNlc8PVmY2DON2+A0kY92IaaEDGUE=; b=XFiU5N5r9U62o/14l9OzgxYo/fLKaXLWdayjHWnTbsH1IjaCqZhEemVaYtOE4wm+qu 3l1oa1CKnqYOJ4Jz3e5+SBUMAgdYY1lQXYdzVOLVnzvnP8TnA+IQpOZXjrLBqpWoCwf5 VfmfZLrXn/r+bBz/28kw3lxOOM/qE90nKV/FNe6wu5VZSHWrQ9fURL2jvug2FsRmtkJr Ahlvc7X7ov/04Mvnr5th06AjHURVkK75B8o7ustUZN1B6vNYJfbTLG4ZJfkj+bqP4m/A /sYno6YeJk3o1Z7fWwbcnQbM6Ca5up1cEdaOYm52wV02i4n7PvrmH3/iWs//sWhBKEaK ASIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z+h0kLfL; 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=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 h7-20020a170902ac8700b001b063904086si2677739plr.628.2023.06.01.06.21.47; Thu, 01 Jun 2023 06:21:56 -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=@kernel.org header.s=k20201202 header.b=Z+h0kLfL; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233114AbjFANRt (ORCPT + 65 others); Thu, 1 Jun 2023 09:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231678AbjFANRs (ORCPT ); Thu, 1 Jun 2023 09:17:48 -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 E5356E7 for ; Thu, 1 Jun 2023 06:17:47 -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 775D563958 for ; Thu, 1 Jun 2023 13:17:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFDF0C433EF; Thu, 1 Jun 2023 13:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685625466; bh=Wi90Rdf9TVMnRfg4uAaMFHWCX2YgFTwXVBtyUG4HGHc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Z+h0kLfLujlzMb4GsToe3njLM8OJNdjHFOgilrIRBjHB+LQuDTTESRAIzRNS049h6 VZ/lN0gJOGX3aDurZpSjSpe3J02iUxxxBFtBL3bvzyOo1DYw6k5bQvnxTEJDYcK7Ac rmBoYvQkYHBOUIquF98V5rsQQ2/76VSmVIW8kEyqMCLKlyWETlextN2kGMcOkPzT5u bSyxdauoSI01Nd88S1akUrxhVlBQVtZgbt5gABXbboxzzAvvpJ84RIjUuwPwUUS4zC AEyrQN/k7bU4kvK/5ZjTdDGxoyz8xH4Xdkg7sYGtbzc8W5xwzaOOv9miK7G+vIPpH0 skLcZsKH+K92Q== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH wireless] wifi: mt76: mt7996: fix possible NULL pointer dereference in mt7996_mac_write_txwi() From: Kalle Valo In-Reply-To: <2637628a84f42ad6d7b774e706f041d5b45c8cb5.1685269638.git.lorenzo@kernel.org> References: <2637628a84f42ad6d7b774e706f041d5b45c8cb5.1685269638.git.lorenzo@kernel.org> To: Lorenzo Bianconi Cc: nbd@nbd.name, lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168562546404.17673.6675539514670121435.kvalo@kernel.org> Date: Thu, 1 Jun 2023 13:17:45 +0000 (UTC) X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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-wireless@vger.kernel.org Lorenzo Bianconi wrote: > Fix possible NULL pointer dereference on mvif pointer in > mt7996_mac_write_txwi routine. > > Fixes: 15ee62e73705 ("wifi: mt76: mt7996: enable BSS_CHANGED_BASIC_RATES support") > Signed-off-by: Lorenzo Bianconi > Reviewed-by: Simon Horman Patch applied to wireless.git, thanks. ead449023d3a wifi: mt76: mt7996: fix possible NULL pointer dereference in mt7996_mac_write_txwi() -- https://patchwork.kernel.org/project/linux-wireless/patch/2637628a84f42ad6d7b774e706f041d5b45c8cb5.1685269638.git.lorenzo@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches