Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp513916rdb; Thu, 19 Oct 2023 10:33:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IELQ7RjT3n2f98VOFO0FWJ9nndv681tmWCRWZVO8pQgLQyHkC/nvSHoVXGHvR+q4woeFuty X-Received: by 2002:a05:6a20:4295:b0:17a:fcda:4a6b with SMTP id o21-20020a056a20429500b0017afcda4a6bmr2917738pzj.13.1697736821009; Thu, 19 Oct 2023 10:33:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697736820; cv=none; d=google.com; s=arc-20160816; b=JOopQDb1fnl0iujNiRPFaSL6AJbPtqnsJR47d2fTYA88ASwxRLZOSE+/HEDkU41q6B LISrAktITIPWrCBYzzdBl/N853SDde01xSDRXliMqKThzC2XOy+JyEWqQmS1SqB7llIk TWN/aE2N7R40avQnm5I5HHT7a3kZssFWxhiIXWpff5j74C0MbMnYMpNbYHlSotADKr2k TRfqPIKrv/GAinCI72dp4IXUjpo5PSJoP/lbJqDhs2GwtU2r3C6IgOdWOG/tQ1lHmEAa yR9I9ieGTgqvSU/E55HJkj4VUYW08DZdmTzPETyiWAphLazbdA2J6HZHCH0z5EwFdGBX 1jVg== 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=hSDxNbot7+m/+CmxWZ/YuRhATf9AFer7UvRxZ/UJhh8=; fh=JUpNa3XESH0nD9ShfiLavq1qMwyLD4w+KDqh0GJpXK8=; b=aMFw3+WhQJrcnHTOGxMEnSgyfu7omigFNbVX7hiu/RVteweDPrXg5GngpAIwXOQNB0 Vkmr1L3hVl2fNZsP8lwg0YIlonP7RLVWJ7bcVp9NJppybG+P72oizGCqZWDM/yJpS5tt ag5D6Kjc9hgzdnATLPVaW0HC2tX11gS6rwnil7i5gICTodBw9NVz/AMex0KmhqgRya61 hxQnKGL0/mKewkUl7tGxXGogPNqbMVUXjC95baRjpsx1I7ZI247e84mbbt3nD3sVi8kJ tJOMYx48irVsYlBOBpRAjMhirtNASqcxDPgapzyWqIC7Z50iQEedxWjcGnKlYZrh4wsS ruYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Rx+tFQ4M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id ik13-20020a170902ab0d00b001bbb175a81asi2495107plb.263.2023.10.19.10.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 10:33:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Rx+tFQ4M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 700BE83BFC77; Thu, 19 Oct 2023 10:33:38 -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 S1346271AbjJSRd3 (ORCPT + 99 others); Thu, 19 Oct 2023 13:33:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235492AbjJSRd2 (ORCPT ); Thu, 19 Oct 2023 13:33:28 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBC73106; Thu, 19 Oct 2023 10:33:26 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39JHMWw4015395; Thu, 19 Oct 2023 17:33:18 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=hSDxNbot7+m/+CmxWZ/YuRhATf9AFer7UvRxZ/UJhh8=; b=Rx+tFQ4McqlKFSPTQvXuQc6/JfkltsqvEiyLjipSjlfcVA0+85MYhrhZytYSo9V7YjFV DEf/PduFO+nm0415OsV35r4bmdiucA9/gl8cP/bOz246qLzzmkp88T5l1UdCPtdV3bjs mV9vokh+g0x7G/lakE5hF64LvAQQHBhYw7cgBVIC4PCn5N4ry2dl6MHwhf8OANTSIjaE sagigS0GxgiZh0B9nZKp/YG5DLdVWhnh7YLLNjmaX2/Mqif7A9iXCAy6cIoptLYWzdZk ZXN88CUXRk4rRTjALKcRk+AWTnNMtwM9im7TnEFE04tljxK0GfdUVAu95l/x8drtO3P3 ug== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tu14cs6pr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 17:33:18 +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 39JHXHLK010429 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 17:33:17 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:33:16 -0700 Message-ID: <69b0b9c8-d06f-46b5-8246-a2e1dce0d06f@quicinc.com> Date: Thu, 19 Oct 2023 10:33:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] wifi: ath12k: fix htt mlo-offset event locking Content-Language: en-US To: Johan Hovold , Kalle Valo CC: , , , References: <20231019113650.9060-1-johan+linaro@kernel.org> <20231019113650.9060-3-johan+linaro@kernel.org> From: Jeff Johnson In-Reply-To: <20231019113650.9060-3-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-GUID: O8n16vmkdMIhsOECwXV-9vjXnY9_BkmW X-Proofpoint-ORIG-GUID: O8n16vmkdMIhsOECwXV-9vjXnY9_BkmW 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_15,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=456 clxscore=1015 suspectscore=0 impostorscore=0 adultscore=0 bulkscore=0 mlxscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 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:33:38 -0700 (PDT) On 10/19/2023 4:36 AM, Johan Hovold wrote: > The ath12k active pdevs are protected by RCU but the htt mlo-offset > event handling code calling ath12k_mac_get_ar_by_pdev_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: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") > Cc: stable@vger.kernel.org # v6.2 > Signed-off-by: Johan Hovold Acked-by: Jeff Johnson