Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2444369rda; Wed, 25 Oct 2023 03:01:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHT6RPkIy+kR8PsO3sOHe6Sdu5b8PuSxfL0o3hcm9ABQJ1+VHeQQS/SJUA+8g95aJ4k6e7Z X-Received: by 2002:a0d:ea8d:0:b0:5a7:a989:b85c with SMTP id t135-20020a0dea8d000000b005a7a989b85cmr15429924ywe.16.1698228094080; Wed, 25 Oct 2023 03:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698228094; cv=none; d=google.com; s=arc-20160816; b=BImXG9sBZPpseSS9j0I6ZSN698/s3Ne0KPy4QKeXV5SuEIaQ7Nw2aQQ9GHXQ4GZC+k wpk7vMFfotRHuRUVnO3dueqS2YuUzt3qgp5ueAIrG2r4ZuLqjNU0CbQ6Qko+uAyIuSt/ DFETAHlIHsxLTEb7EjONZoXyPyp6u+EDgPlcrxmDbWNAvGkFnQDZj8exs1w1L32BTtRx 2PKL2oA4aDU5wO7pYGoRr8F7zwYT/1L1se85+mdNFUdRahUNVQffTI0C29hSmQ1ZrREl sh24xrsSQq4kS2cual6YxRVhuFwnRv2Z3lLo1DiRLytK594Tf5FMmnUX2zClwRHUp4d0 /yng== 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=TQpxR1LW11gEve2YWLn9hGh7LLebZzkiwXvGn7VJAb0=; fh=VtlA3wTtTRT7Yfu8ujdV5FAeWU3cFwIjaFd+89FI2Gc=; b=dPpVD9/cDdsfhNWGfcd3Spwak7PuuuBvhd7dIiv+p64Qnfbu3dUx3/BA0DQg2DkAa9 qABTV2/yquXe+Zprbr7W6QukQBX832fpRfX4VQIEYRmintt1TShfjgcEcCKb6VxExDgZ DBJdanRviZQnvmMzisaVWLux+ObcHBLzMTPb6x+z8/r7TtaCTFj9G6ulZ2R6crGgVf58 vRw0+4h0dbPPeZX7MjAGhqe7XDyfiN26zSOv2iv7Tw+u9d1UQZeB4yVyIGvYLeMcKjQq i5PVm+Z8UIziNxmh3XQ/G4W3m+4jiK6soiHPXKyLzT3XgzGfVZdZuHqDm+udb5VvqFC9 Ay4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ClMGUXZU; 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 v201-20020a8148d2000000b005a7af4e22a8si11170936ywa.29.2023.10.25.03.01.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 03:01:34 -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=ClMGUXZU; 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 C41978047050; Wed, 25 Oct 2023 03:01:31 -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 S234242AbjJYKBX (ORCPT + 99 others); Wed, 25 Oct 2023 06:01:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234477AbjJYKBU (ORCPT ); Wed, 25 Oct 2023 06:01:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29D07123; Wed, 25 Oct 2023 03:01:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72B51C433C7; Wed, 25 Oct 2023 10:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698228077; bh=pHVZBBUZeJJACrobCo39QHBAU5G9lo0Us8u49XLaWF4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ClMGUXZUCMde94G13lpoO3c0rhFI06ZPtYzliOtGhMSl3DtrKs8+FfEVwVY9t9S7r ALIKtgsMijC2G1la8c1XmHrwXgQ+9VzrWBEvUngMue/BGhKpWn/sObkQtPlPTd2plG jwOXiB2F9MRMuCnzQYBdxYwR5L9HrF/0PORqOb1w+1TuDlsZi3DmOjeQTVnvZZcSDJ PFHN+stZ8toavxWKHWcBy5TPDYAxkpIkzYET3KHRwAH11hL1LIQGkMFLWYBguHGvXI xCtL46y0Ly2kWkCso+Mw6qJhYQqOnGa5NlvVRy4cFWQc9B4vwS7kIDIbym4yvRe+JU IhoE4jvmgszTg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: fix gtk offload status event locking From: Kalle Valo In-Reply-To: <20231019155342.31631-1-johan+linaro@kernel.org> References: <20231019155342.31631-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, Carl Huang User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169822807368.891844.11001606844056073292.kvalo@kernel.org> Date: Wed, 25 Oct 2023 10:01:15 +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:01:31 -0700 (PDT) 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. > > Compile tested only. > > 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 > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 1dea3c0720a1 wifi: ath11k: fix gtk offload status event locking -- https://patchwork.kernel.org/project/linux-wireless/patch/20231019155342.31631-1-johan+linaro@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches