From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796176096; b=h3U4EAdAePOOzXCtSUBH0Ve+4aB0m5l4yY6HcPCKg1ZBFfHDcirGplh03ARO/qEhMlm+ dHt+/60yN/mTCU5EmhyxLszYS6Bycl28Lwh8nXwnUHztoZuKGTyg22vBiidhjREAY199s sbqBu0XYX6uDQ8cIr8q27et+IPa2o6HKqgeQ4tWW8iwcugjnYvvGqCXrkFlDjGqnjpKdz y6866T/5nqEIQQCwXQiZy4K++emDBC9G66yTh6n4yHCbgzL4FrIKnkcnxI/Wvf5WQtk6O zNdqpHWs9PUhdv9RFmMJnPR2Fg/CszkJ7de16Jx2jVod8vxfPw0EgnAVP9uPXwv8DNg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796176096; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=PuGd9Y2sQ73sI5gcDPBCn4diCZsxI3CDmSNxtXnRG7U=; b=euEhj5h9pcFsn5Nr2a5E212AKdCGyA8tUJFiMOn0vg4J+HNeeEK6Za03POi4NHEsXT+5 wj/7zSLBB6oOn45HLEPkwQOW8iILSdrjorA3VgHFmpUZOvs8WhPiU74EaDkmpqB0rMzeP BkYwHE55VfjeogITQ3enrOswAopDZ0X7vG9lkaBWGcCJLGRrtOy2f4aW3SHYK/RfaEwRp tZTZ/93jZ5NVYNE6OHzhSNnuZoahwlUc64yhC6BUMVrpw/x0ODw8lSaghN+ylmBxdwKiK Vp0cV7AHKVBeLancuosgBxlqVsC4KBC3NXp7komqvUXYjqEfWOLibUL2jzhrPcJnjLg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=FFunBfut; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 C3F15606A31A for ; Wed, 2 Dec 2026 01:48:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C3F15606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=FFunBfut X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B21mBbX5543211, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796176091; bh=PuGd9Y2sQ73sI5gcDPBCn4diCZsxI3CDmSNxtXnRG7U=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=FFunBfutkHrm0yJlIQmfx/D6SeJIZosmwvUWf3P7rsbyIxsh9PmzgNCn87cQppBx3 90sgwvSFAxsYiBZOqxEyrJBGsZP4agQvGJigHLctE6Oo58YPt1RcHGgS07Xgfc8LAZ bunXSaxi0WUj1vh2sseXLBKBfetDgB97IjcN0qOaZI7nCFl8r7qbc8K9b6q4F+8nSm 1TlNsxoQP+dwaR0URmz2lRUNQ1LFL0lqKOXGFM0KddWKBJUWKDrNycK1tCpADNNTSq n9m6kyIrgzGvVsIIzFTP8cpixXekhoeQPzPKj+yh2cXK5DFliQ/DmozhQElxKzB1VB WEW2KNjWAY8Sw== Received: from mail.realtek.com (rtkexhmbs03.realtek.com.tw[10.21.1.53]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B21mBbX5543211 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Dec 2026 09:48:11 +0800 Received: from RTKEXHMBS01.realtek.com.tw (172.21.6.40) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 09:48:11 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS01.realtek.com.tw (172.21.6.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 09:48:11 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Wed, 2 Dec 2026 09:48:11 +0800 From: Ping-Ke Shih To: Artem Dinaburg CC: "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] wifi: rtw89: usb: cancel TX URBs on probe failure Thread-Topic: [PATCH] wifi: rtw89: usb: cancel TX URBs on probe failure Thread-Index: AQHdgdH54FklFnFSdkWw3Vot6FtntrdI+ckQ Date: Wed, 2 Dec 2026 01:48:11 +0000 Message-ID: <9515171c935b4f3989a9b693e953c328@realtek.com> References: <20261201202421.32470.11331.01-rtw89-usb-probe-tx-anchor-patch@trailofbits.com> In-Reply-To: <20261201202421.32470.11331.01-rtw89-usb-probe-tx-anchor-patch@trailofbits.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Artem Dinaburg wrote: > Chip information setup can leave firmware TX URBs pending when USB probe > fails. The error path then frees the USB private state while those URBs > still reference its TX anchor. >=20 > Cancel pending TX URBs before core teardown, as the disconnect path does. At probe path, there is no transmitting data. How could a TX URBs in flight= ? Can you point out which point causes KASAN report?