From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJvrs-0001Dd-08 for ath10k@lists.infradead.org; Mon, 14 Oct 2019 08:38:17 +0000 MIME-Version: 1.0 Subject: Re: [PATCH 1/2] ath10k: fix array out-of-bounds access From: Kalle Valo In-Reply-To: <1570609089-22071-1-git-send-email-miaoqing@codeaurora.org> References: <1570609089-22071-1-git-send-email-miaoqing@codeaurora.org> Message-Id: <20191014083815.9E00860953@smtp.codeaurora.org> Date: Mon, 14 Oct 2019 08:38:15 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Miaoqing Pan Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Miaoqing Pan wrote: > If firmware reports rate_max > WMI_TPC_RATE_MAX(WMI_TPC_FINAL_RATE_MAX) > or num_tx_chain > WMI_TPC_TX_N_CHAIN, it will cause array out-of-bounds > access, so print a warning and reset to avoid memory corruption. > > Tested HW: QCA9984 > Tested FW: 10.4-3.9.0.2-00035 > > Signed-off-by: Miaoqing Pan > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. c5329b2d5b8b ath10k: fix array out-of-bounds access 486a88498434 ath10k: fix memory leak for tpc_stats_final -- https://patchwork.kernel.org/patch/11180701/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k