Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4920125rwl; Mon, 3 Apr 2023 11:29:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcbkuSZAj5zp05roSHbRFoTOGJr7MmwXCESzodKc57UqdHpR5XGTZzMrpfg6oLD1MaC7VG X-Received: by 2002:aa7:d04e:0:b0:502:1cd3:d0fb with SMTP id n14-20020aa7d04e000000b005021cd3d0fbmr162045edo.20.1680546574900; Mon, 03 Apr 2023 11:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680546574; cv=none; d=google.com; s=arc-20160816; b=gU6e52rOohh2LkkU7aUCppFJP9KY9Uy7PodBLAmPRfYGqzeQSTptAhMvIBk0SfhhKd mtPLwhJWWjhUrHh7BpejEK2cST4u89HEN2daiIrULv9UizRXpCHfUPjCFq+PbWVy4i6H G8icmXa3Ju+nHcj8pj6ddQgDRViQ0Per1MNWYj9RfJjx3E4J/izF/al3NZtxroKRQ9f1 vGu2xXwxF3S1InqEyZd8RcfWTLKgv23cgUOyHKj0I6DeueSnHHQYmRuBCBLfaSj9Wgjq jqseOuIJpgaA1FOSabbGNpnhPaE9ncVlH0DJfKf8prJm/ypZCDDCxPJ+Pe5vYd6Lqk9W Xpqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=mQuo5gZYMZ53IJaHn39A+7pE35b8Ceybxka+rvsmmSA=; b=dT0d4W8nHmUFJDuSN0xFxbdHn8+nN3o1m/OiLEBG7i1ef8F+lIGQItH6oqtYJjcfJh Ecz37c8BxGV8z64kptuLNGaOyVT0bFPMycaFwuRaV05N9wY5M503wEif6OYSkvGGYMnk 0WXgFps34NNHRw+8kpvl6mSs2QuL8zddDfslwHMQ3UoQx0WjOpxLHZ1iQmgqDP/RtZOg 1KfjHmd8U/g9DPlffktP+BCXL5Kofzvtz4swUAj2+I4sJ8YXetzVzvKi0vu0Nakntgyq Md201xlmL3Ecjf0oLbicZlPVIByK+IhaaFjaffubKwP8HAOt2qqaveQyHQEcIDtsSpEc LZ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dXWjewmc; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020aa7df89000000b004fd29e926fasi5637803edy.559.2023.04.03.11.29.20; Mon, 03 Apr 2023 11:29:34 -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=@quicinc.com header.s=qcppdkim1 header.b=dXWjewmc; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232965AbjDCSZD (ORCPT + 59 others); Mon, 3 Apr 2023 14:25:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233101AbjDCSY4 (ORCPT ); Mon, 3 Apr 2023 14:24:56 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EB5D170A for ; Mon, 3 Apr 2023 11:24:40 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 333CpfKB027040; Mon, 3 Apr 2023 18:24:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=mQuo5gZYMZ53IJaHn39A+7pE35b8Ceybxka+rvsmmSA=; b=dXWjewmc+mHoIjSa24GNP7LAXS7wLTDNy9hSfXmN7NHuNhvAmDiQnrYigRZPbnw6bqgU VZguyqjKdeR7QMLdCXzr5D9UZo0mzndIODXxl7PLN+8MJtOlgWlsqtYuKHeHmiuNhpUE /Yo0ZvlOmYZX6QWtGD1Oyvn/Q3pn4s0Jf+kvR7PN1v6FjGjnzTfqP9UR64EiZsoPg/ID wUDiCeGsss/dea8zfLsHmuHcwFehU8fzKtejU9j4JhPBMjQDNH5l43Bxvq9p1RDGNX18 OxmtYaaDnsSUxl6+LF0Ect0hAJGrm3j69sYn6MfIJrv/0cxWRFZw1nNzy90SJrkGO90q mA== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pqy620uas-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Apr 2023 18:24:26 +0000 Received: from pps.filterd (NASANPPMTA05.qualcomm.com [127.0.0.1]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 333ILB7s028556; Mon, 3 Apr 2023 18:24:25 GMT Received: from pps.reinject (localhost [127.0.0.1]) by NASANPPMTA05.qualcomm.com (PPS) with ESMTP id 3pr3e7red9-1; Mon, 03 Apr 2023 18:24:25 +0000 Received: from NASANPPMTA05.qualcomm.com (NASANPPMTA05.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 333IOP4E001872; Mon, 3 Apr 2023 18:24:25 GMT Received: from hprem-linux.qualcomm.com (hprem-linux.qualcomm.com [10.201.162.248]) by NASANPPMTA05.qualcomm.com (PPS) with ESMTP id 333IOOwM001504; Mon, 03 Apr 2023 18:24:25 +0000 Received: by hprem-linux.qualcomm.com (Postfix, from userid 4146166) id 3DA7AB003D4; Mon, 3 Apr 2023 23:54:23 +0530 (IST) From: Harshitha Prem To: ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Harshitha Prem Subject: [PATCH 0/3] wifi: ath11k: fix double free of peer rx_tid Date: Mon, 3 Apr 2023 23:54:17 +0530 Message-Id: <20230403182420.23375-1-quic_hprem@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 9jr4brrW-CzCLBb4HJHwdBR0OlcoIuLA X-Proofpoint-ORIG-GUID: 9jr4brrW-CzCLBb4HJHwdBR0OlcoIuLA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-03_15,2023-04-03_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_spam policy=outbound score=67 priorityscore=1501 suspectscore=0 bulkscore=0 mlxlogscore=-30 phishscore=0 mlxscore=67 adultscore=0 impostorscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 spamscore=67 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304030141 X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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-wireless@vger.kernel.org During stability testing, double free crash was seen while handling reo flush command. To handle the same, this patch series includes changes to address the double free and to avoid the issue case Harshitha Prem (3): wifi: ath11k: fix double free of peer rx_tid during reo cmd failure wifi: ath11k: Prevent REO cmd failures wifi: ath11k: add peer mac information in failure cases drivers/net/wireless/ath/ath11k/dp.h | 2 +- drivers/net/wireless/ath/ath11k/dp_rx.c | 59 +++++++++++++++++-------- drivers/net/wireless/ath/ath11k/hw.c | 1 + 3 files changed, 43 insertions(+), 19 deletions(-) base-commit: bea046575a2e6d7d1cf63cc7ab032647a3585de5 -- 2.17.1