Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp510446rdb; Thu, 19 Oct 2023 10:27:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNE6lw3a05mbz6AKyCHNB+vGq1oTG3WNyV1NxNmZw0WXSVN7ggJ6Egbv2hGQSDNyHmJDvr X-Received: by 2002:a05:6a20:5486:b0:161:aef5:6395 with SMTP id i6-20020a056a20548600b00161aef56395mr3573004pzk.24.1697736459223; Thu, 19 Oct 2023 10:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697736459; cv=none; d=google.com; s=arc-20160816; b=FDqqWCWpCPU2KtYOKvaFG8huvlfRXA56CWZTV8gfEFV+JXp+c8ylgWJNPJ7lNE/cNX 2tVTwRIOfVWOCKh1LCpK4RuHi40VM5alt3619HsMog9mDhKJ0NFf6rhN130MrXFi72dT T7yhy5men1C3Dk0j/Q96RzGkzg0tEmnLbLP7/Y1RoOS0YNmI1Y+TInKDa4pIp0N7u+Qo hp8OjdyC4I0v/FEuB+RwBgdmEbnranE5TAlGUoeqlIQLmtE1RCoaBnC8hvfQy6hHkXol qPpEE9OzCc3Eq7YkqDUNvQoY7si+zc8Pd45+6UBb1LD0ghGBAbMuXulCXZ7Mc+kVFGSv DFUA== 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=U9G3NTV0pybnBgmSQBaCrwWGelgPxhZ1dOfQoqMdbQk=; fh=AKKAkFjxDrprv159oSpFmEiu4CCnVztRIGZPjHSg+Ps=; b=ZjZlfrBdxlsHV/0gU986pgFFDXLHsBY5vNZHBZtXSRzvBvhn+H5H/aV2WnffQzpAZQ ik49p4Pp/Nr6uOwPH2dDoKdb7b1d7W/aqoekWUm3laJMlp9DvuOP5TTzcZDymGhD0boB mXsN2TmETq8XYI3eM/tcKP8O251jtSjMZqsv3+HcQH2DPtpqOjRgU/mTtoXzbYaAPXU2 PpSkT+CM28bJgq0WzxKgSuXGxLr0CBzX4h1UEGRznWMkNOB89WbXQCZXJqDl4z3Ie0g3 +pw9HZRwRV02K0QRPCaVA0UzwvlI8+vBusjQNOBbZTU3hzXsQC0QTGc8hJ4GHebvIu7d PQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fgZmmRcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ca27-20020a056a02069b00b005859a7d38f9si25189pgb.703.2023.10.19.10.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 10:27:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fgZmmRcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9B17E83BFC78; Thu, 19 Oct 2023 10:27:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345309AbjJSR12 (ORCPT + 99 others); Thu, 19 Oct 2023 13:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233272AbjJSR11 (ORCPT ); Thu, 19 Oct 2023 13:27:27 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BFA5CF; Thu, 19 Oct 2023 10:27:26 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39JDfmcH010428; Thu, 19 Oct 2023 17:27:23 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=U9G3NTV0pybnBgmSQBaCrwWGelgPxhZ1dOfQoqMdbQk=; b=fgZmmRcw8C0CqwuSGs1wiH+Ywy8BWadHowE0zC1poLakHVPKT6228JL1q34JEQU3h38k BKyVqEwkFQNT0cOwhRCF0j4KsqxN0kcitLwHdzuu65s5nDrzUv1D0vzvoH91wX+VB18r L/QHvdm0kSpGf19oI5V/atAOr4F0000o65rnNwsGXBJJfcX+vKlKRxPhya/qYCwZ/1ki lse7161NDIRMHRgDziGfEjvxTHg3ahTEpB5GqRQBfVsSl9+2x2MuIMd10RBlISZwdlKN 8XnPpJ2OYKuRrQAuddZzFmajkGQ5d+Akg5P8rJg6Ovbrl/Fbx0APe2H1kbmPbFsGg1Ty uQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tu49b0qdk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 17:27:22 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39JHRLmR003677 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 17:27:21 GMT Received: from [10.48.241.70] (10.49.16.6) 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.1118.39; Thu, 19 Oct 2023 10:27:21 -0700 Message-ID: Date: Thu, 19 Oct 2023 10:27:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath11k: fix gtk offload status event locking Content-Language: en-US To: Johan Hovold , Kalle Valo CC: , , , , Carl Huang References: <20231019155342.31631-1-johan+linaro@kernel.org> From: Jeff Johnson In-Reply-To: <20231019155342.31631-1-johan+linaro@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: dc76GSLz5aeiQPpj1bnMdk0McHTqslkm X-Proofpoint-GUID: dc76GSLz5aeiQPpj1bnMdk0McHTqslkm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-19_16,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=577 impostorscore=0 phishscore=0 bulkscore=0 adultscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 spamscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310190148 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 10:27:36 -0700 (PDT) On 10/19/2023 8:53 AM, Johan Hovold wrote: > The ath11k active pdevs are protected by RCU but the gtk offload status > event handling code calling ath11k_mac_get_arvif_by_vdev_id() was not > marked as a read-side critical section. > > Mark the code in question as an RCU read-side critical section to avoid > any potential use-after-free issues. > > Fixes: a16d9b50cfba ("ath11k: support GTK rekey offload") > Cc: stable@vger.kernel.org # 5.18 > Cc: Carl Huang > Signed-off-by: Johan Hovold Acked-by: Jeff Johnson