Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2444197rda; Wed, 25 Oct 2023 03:01:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEwqaB3wiONan4MbNFsRegiY2tUjt3ZAJlmJCXhQeW+ZyOzjyKE09vnH3bAlG+OOtMng2c X-Received: by 2002:a81:4983:0:b0:5a7:b515:ae47 with SMTP id w125-20020a814983000000b005a7b515ae47mr16269874ywa.9.1698228079880; Wed, 25 Oct 2023 03:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698228079; cv=none; d=google.com; s=arc-20160816; b=jqFEfl3e/onJwF1NLcLY79/KrwoUDDHGyad+2/MKIayC1XJMhS8/K/k7cdDihs0Vkh jTMyrbGd5ZIy0OpXsmicwUw22WpNhxc9fJ2NZ+m2t/s3r+bRyuU/7jyUYlya0bsgh6XN 08xRjVkkIHDZVHAoEfg1TJvDoxXoWgEyW0vu3Tl6yVHCgOIYu7/XIigOw6Pe0BCRXCe1 TOrOSxkcIP6K8NokZ5dAL0mZj48zkm9CTcRf0MIXZf+JbUB6CtlYtC9NerGATCPnfSbR 19pqlyVksGNV27KHlPVJAyekyGOFswINrVv8g7IvVj6SQs3EDjFRBA0UJTXWhdXxFrs8 1m1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=8ZmHYVVkYMPbpTgc+wkti1g+Ull2MHHiXTSkP32Kj+Q=; fh=SWWS9gzUlUn+EEFw/nfeHBbHprpL6999iHU/g6RNh78=; b=nTSuceqvxn1NpaWGxfImQyUmkkAtLRhlrxttw1NfK3Mj2Hso7esqHGOHZkmHn/32hT aAV1aM433G3+CKTYQXpbD+AeSmYq2XpMDBPiztJ/7e53vFzPSfxWuYStReFOomayIZCa 1oGSjDpXa6nzgb1I4+J8Tr21MVdM2TLrEy61jBetRIU3CiYWo4PGGTFhrSUbtxVJAxd3 +A+rK+DqFxT6ehNGhcDFKb5Gf3/JpOACsqbBTamGX2KUDFUy3CO13hFQIX9VG9B3dG3n m60nQJXWv9JCwGJpxDn5xBU5jpCTSceBvkot4gce1zBKUj7qcR2SHyxLvWClDBHToU4v PrMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l8VjcJSr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k4-20020a819304000000b0059c07cce3d0si10761220ywg.321.2023.10.25.03.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 03:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l8VjcJSr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D7EFE806666D; Wed, 25 Oct 2023 03:00:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234484AbjJYKAb (ORCPT + 99 others); Wed, 25 Oct 2023 06:00:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232985AbjJYKA2 (ORCPT ); Wed, 25 Oct 2023 06:00:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2171510A; Wed, 25 Oct 2023 03:00:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43A68C433C8; Wed, 25 Oct 2023 10:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698228025; bh=F1/gkCmvsR0o6rzvIG81eu8MlRTMzJjQX+YLmYEwrMA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=l8VjcJSrhRs8tIxsZBYqxOMp0/7laXlM4HHfU546QUO904cgQQ2OjwYm8I8x2EUqC MdOlQfdI1fgHBFXMnrJTG3hHaoTlh8UeBZ8NZaRbr2q+I6AOV07I7Kxn/hb0WfF8k/ /cpR/Uh8ZoL0wcxmhIaTs/WKTDend/EBqQddzrDWLnCaCPEchMCAR/c6oSkAEerxS5 n9048glGa39cv7afiYykRJiUkHKv28eNBZDZY7ukUXX8m1xz6+sgu3Cr5+EjUPf+Rg TWTbDBxEBuOyxb2Coo0NIJjiLzCsil6tgfelMLoUii5O7+wqLlayVaVoZ3JJ7R6hBA ApWawiwTHSVrA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: fix htt pktlog locking From: Kalle Valo In-Reply-To: <20231019112521.2071-1-johan+linaro@kernel.org> References: <20231019112521.2071-1-johan+linaro@kernel.org> To: Johan Hovold Cc: Jeff Johnson , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169822802217.891844.6410411832034607586.kvalo@kernel.org> Date: Wed, 25 Oct 2023 10:00:24 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 03:00:42 -0700 (PDT) Johan Hovold wrote: > The ath11k active pdevs are protected by RCU but the htt pktlog handling > code calling ath11k_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. > > Compile tested only. > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Cc: stable@vger.kernel.org # 5.6 > Signed-off-by: Johan Hovold > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 3f77c7d605b2 wifi: ath11k: fix htt pktlog locking -- https://patchwork.kernel.org/project/linux-wireless/patch/20231019112521.2071-1-johan+linaro@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches