Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2769991rwe; Sun, 28 Aug 2022 22:38:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6VpKe2jguDKt4b3salsrcSoTWkBLklqRjKl1emoYXe9AFHaXt5K1bOfZOc4hEzcGOFJ98m X-Received: by 2002:a50:a6c5:0:b0:448:40b:6c51 with SMTP id f5-20020a50a6c5000000b00448040b6c51mr9176974edc.78.1661751529455; Sun, 28 Aug 2022 22:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661751529; cv=none; d=google.com; s=arc-20160816; b=sTvkmF2Ep6Bq2wDqhcNA7RykDhKIPz++yG3iBCZFJ6vRIQh5qlY0+e38ob/kCK3zZz GG/kZ35YTumiuV3jDa7k57Yb5vCZp+ddaYsBbtpxP5+a980AQCScSHRQ4Uw0bCktQL5W Y9y9Ae0IgG6dSl6GAeIR3PFjDUj37hlXgQpNTF3jr/Xno01s4yVgmHvB/O5pYr9ShBOF P9o5LWYhYWYrgS/X+bNGdIO2CTWXX4b6Z84dU7HOAR9/NwjQTTQdCqzim/zGxVbqdDzs eMlbtoaQLYOa0PKdFuw3GmE4bq/lcU8ulol3+Ka/blAxKPjjWoTXcLgLUV5+ctugKz4c 2upg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Eaj+5Ee2OVv42snYIv6RjUIVV6uwsW+Zj/AkLYh1dS8=; b=URJ+U4rVWnnY0tA0ohFbfxgfhJC7OQnSjsVrhuWBMqk9D2eDzzuaentSxbgX3I7xOW sw+gr5Ss+xcXrhqGHybHGPWRXcNTG942JiSnhE1CPziWivHrlqvytjNikco2GQzwkLIl P0D4zLIjOgijYOlTTh7q8ZwsZV9CrWWMj4h1p4g6AYko7HFc3mGFHu9BZACi3qS+Ib/x 4yI1JflT324oQ7HqreuxzelCFyf2o/ABPODSkpVbPVqGJMfrv3bVIYv21u72/UCXYXfF qJ/PKAG68KuMeXVjZ5e/0Z0pzUVl8wD9RUuJc7BB2ftzICNZPB5gBAMQJ4E/MN0dI8KE g/Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C4l1aA4D; 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 gb19-20020a170907961300b0073d6a7e6662si6078543ejc.798.2022.08.28.22.38.33; Sun, 28 Aug 2022 22:38:49 -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=C4l1aA4D; 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 S229540AbiH2FbY (ORCPT + 64 others); Mon, 29 Aug 2022 01:31:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiH2FbX (ORCPT ); Mon, 29 Aug 2022 01:31:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24E6445076 for ; Sun, 28 Aug 2022 22:31:23 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27T5QKom012414; Mon, 29 Aug 2022 05:31:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Eaj+5Ee2OVv42snYIv6RjUIVV6uwsW+Zj/AkLYh1dS8=; b=C4l1aA4DLwbnGrMkQ05SQySVRo5eh9R54v1CLrEYEiK+Qj7ntvu/yEIeTL9MWaUs3e1m nPV6De2u2/AXY132CIyCk3ppq2EaDFzeBtrdq2SOhY51QWPfBMyumaNA2AeFpB+1VJI8 gBBUPJHuMfisfyxnprWk4khYpJgVlzMwe3iWi7McL9WIo0F1ofxTEKKoEnx/7lblzi16 43VleJnXg7RryYh4xJUh+lvKX3KPP6kJH4Yxj9YFt4uu+CnEnltYNA1i6N+X7d35Igw8 +Ik0Xt/F0oq6iQAu/Lb5KKBy1eW73/XQypMiv/ubfGC9aqNeFfCg9SREcX3E4f4UKi5X qQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j7a7ym82e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Aug 2022 05:31:21 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27T5VKNO026545 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Aug 2022 05:31:20 GMT Received: from [10.204.117.202] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Sun, 28 Aug 2022 22:31:18 -0700 Message-ID: <2b46bca8-4cdc-700c-bd94-058bb2e65868@quicinc.com> Date: Mon, 29 Aug 2022 11:01:17 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 1/4] ath11k: Fix double free issue during SRNG deinit Content-Language: en-US To: Jeff Johnson , CC: References: <20220825111818.30869-1-quic_mpubbise@quicinc.com> <20220825111818.30869-2-quic_mpubbise@quicinc.com> <44b3af84-1a83-7ff0-b826-8532bee0b4c0@quicinc.com> From: Manikanta Pubbisetty In-Reply-To: <44b3af84-1a83-7ff0-b826-8532bee0b4c0@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: CyBmMniIOY0R-RSAD8aZiL-4kLfu1tdW X-Proofpoint-GUID: CyBmMniIOY0R-RSAD8aZiL-4kLfu1tdW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-29_02,2022-08-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 clxscore=1015 mlxlogscore=744 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208290026 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, 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 On 8/25/2022 8:29 PM, Jeff Johnson wrote: > On 8/25/2022 4:18 AM, Manikanta Pubbisetty wrote: >> Currently struct ath11k_hal::srng_config pointer is not assigned >> to NULL after freeing the memory in ath11k_hal_srng_deinit(). >> This could lead to double free issue in a scerario where > > nit: s/scerario/scenario/ > Thanks Jeff, I'll correct this in next revision.