From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.70.43.99 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795199189; b=Zf22mHfJVq2v7HpyOCAhGDHHk6Vot1Oi0EP6keL7bS5zilbku0MmaebZVB/OrUmtVEgw dXth0mXD3J4+I5RdHN8w0QkuwSqkBzMnbviNfumxsSQ3iHdoLVwYT7WwAPnldR3801SFB 6MZTqPu+9D7kRIp7duE6yBOl0JrFH4qsM1f3gfCmntWnjkLbP1sngkehH5/+0JDdMxPX/ DnXp0HXKID+5WQ5nGEtzrkxBg6EsVrz0ZWqscp4D4m5jNJ2TOvR0/CNnayGaeM8lJw9I/ H1/6XH28IkYunqIjSOVgc1byUzG5uc+E5G/lPYds8IJhwEoS7WLGtj7OhafpjI0hy4A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795199189; h=DMARC-Filter:DKIM-Signature:Date:To:From:Cc:Subject:Message-ID: In-Reply-To:References:Feedback-ID:X-Pm-Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=VAmL/P3cbS7VpErxmKQCAD6JjHHgirS2soZqF2/4KsA=; b=gv2/heMusi94WpFa7zRoOVktSF15v6MR0pgJLqjZO8O6ACjeDb39S1/6mfDYxlcg6aYB Kkh7Mq/3htOjf5b+DENRI/rxYxVdnipo3qYuIcv1cjnJF6WOpEoY7VvXS+SoEAlUWrNwf zNlPfwjLjC95lGGBgZS9DTs2y7h3Ap2iipSdfpcFk/pOR0G5JymX1m7/4a/wSa8monOBH vO0t2WSd6k7mDRZwoWmL3Vgu6+1rqzNboVPN2+CAJReVk2zaz02A9aanf3SyMEn7s0N9U nDGxA3asYIWUG3aVcgaBYQAnhXWYQzzMPRIRUbDIOOZkJFeMhHJVQVCx9lTfRaWEN/A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=modelmiser.com; spf=pass smtp.mailfrom=modelmiser.com; dkim=pass header.d=modelmiser.com header.i=@modelmiser.com header.a=rsa-sha256 header.s=protonmail header.b=ZloQGlz7; arc=none smtp.remote-ip=185.70.43.99 Received: from mail-4399.protonmail.ch (mail-4399.protonmail.ch [185.70.43.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B42AF606A325 for ; Fri, 20 Nov 2026 18:26:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B42AF606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=modelmiser.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=modelmiser.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=modelmiser.com header.i=@modelmiser.com header.a=rsa-sha256 header.s=protonmail header.b=ZloQGlz7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=modelmiser.com; s=protonmail; t=1795199185; x=1795458385; bh=VAmL/P3cbS7VpErxmKQCAD6JjHHgirS2soZqF2/4KsA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ZloQGlz7USCOTa1jA9CDu09ujSSbEjfAUfQ5bYloZFfXx2zNBVAjfiYqFHPoj19oN Bw7WNydljEnToiGVBNB715xFN2wID5u5H8qt955AjJRzVQHrSsKdbChhqq37FJv35C Y98ztCk/Nyawb7ViIFR/v90pqS/crAzg6NpeRzhOVmYHX8nQlXXewn/3xKaUTec5G4 q8xCa/GqgO8ZTprF63zCINndWq8amZj4sppotPiU58jD7rxQKwx+110ARjtMBrsGpR T7x8A/KN1vnM6hflvAk82couKV4SQoU08Y/m0uzMp74sgi6wLrFDBhJKVuN1AZz3nY pnQGr+czkQ+mQ== Date: Fri, 20 Nov 2026 18:26:21 +0000 To: Farhad Alemi From: Chad Aldreda Cc: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , Jeff Johnson , =?utf-8?Q?Miko=C5=82aj_Pisula?= , falemi@asu.edu, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] ath9k_htc_tx_cleanup_timer -- ODEBUG free-active-timer and use-after-free on USB unplug Message-ID: <20261120182614.1799276-2-ca@modelmiser.com> In-Reply-To: References: <20261109103444.381459-2-ca@modelmiser.com> Feedback-ID: 232753253:user:proton X-Pm-Message-ID: b9b8f21f17340fbb88510707cf31a2a160286643 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Farhad, Thanks for the reproducer. It hits neither of the two paths I guessed at. It withholds the reply to WMI_TARGET_IC_UPDATE_CMDID, so ath9k_htc_update_cap_target() times out in ath9k_htc_start(), which logs that only at debug level, still arms tx.cleanup_timer, and returns the error. mac80211 treats the start as failed and never calls ath9k_htc_stop(), so the timer is still pending when the device is unplugged, and then fires on the freed hw (the KASAN report). Miko=C5=82aj Pisula found the same thing and posted a fix this week, which Toke has applied to ath9k-pending: https://lore.kernel.org/linux-wireless/20261117103918.33701-1-mikolaj@pisu.= la/ https://git.kernel.org/toke/ath9k-pending/c/176a947f3d98 I haven't run your reproducer against it. If you do, a Tested-by on that thread would still be welcome. Chad This reply was drafted with an AI assistant (Claude Opus 5.5).