From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail27.static.mailgun.info ([104.130.122.27]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWDM5-0001hi-Hc for ath11k@lists.infradead.org; Wed, 06 May 2020 06:16:31 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] ath11k: fix kernel panic by freeing the msdu received with invalid length From: Kalle Valo In-Reply-To: <1588611568-20791-1-git-send-email-tamizhr@codeaurora.org> References: <1588611568-20791-1-git-send-email-tamizhr@codeaurora.org> Message-Id: <20200506061628.C8E30C433D2@smtp.codeaurora.org> Date: Wed, 6 May 2020 06:16:28 +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: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: Tamizh Chelvam Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Tamizh Chelvam wrote: > In certain scenario host receives the packets with invalid length > which causes below kernel panic. Free up those msdus to avoid > this kernel panic. > > 2270.028121: <6> task: ffffffc0008306d0 ti: ffffffc0008306d0 task.ti: ffffffc0008306d0 > 2270.035247: <2> PC is at skb_panic+0x40/0x44 > 2270.042784: <2> LR is at skb_panic+0x40/0x44 > 2270.521775: <2> [] skb_panic+0x40/0x44 > 2270.524039: <2> [] skb_put+0x54/0x5c > 2270.529264: <2> [] ath11k_dp_process_rx_err+0x320/0x5b0 [ath11k] > 2270.533860: <2> [] ath11k_dp_service_srng+0x80/0x268 [ath11k] > 2270.541063: <2> [] ath11k_hal_rx_reo_ent_buf_paddr_get+0x200/0xb64 [ath11k] > 2270.547917: <2> [] net_rx_action+0xf8/0x274 > 2270.556247: <2> [] __do_softirq+0x128/0x228 > 2270.561625: <2> [] irq_exit+0x84/0xcc > 2270.567008: <2> [] __handle_domain_irq+0x8c/0xb0 > 2270.571695: <2> [] gic_handle_irq+0x6c/0xbc > > Signed-off-by: Tamizh Chelvam > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. d7d43782d541 ath11k: fix kernel panic by freeing the msdu received with invalid length -- https://patchwork.kernel.org/patch/11526757/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k