From: Ping-Ke Shih <pkshih@realtek.com>
To: Artem Dinaburg <artem@trailofbits.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH] wifi: rtw89: usb: cancel TX URBs on probe failure
Date: Wed, 2 Dec 2026 02:45:17 +0000 [thread overview]
Message-ID: <236dba9694974061803b5a1808704445@realtek.com> (raw)
In-Reply-To: <CAP3zxaDMM5Dv0wz33X99Rv26+F_G9KMHiMEMz0CBROp9qJWx2Q@mail.gmail.com>
Artem Dinaburg <artem@trailofbits.com> wrote:
> Ping-Ke Shih wrote:
> > At probe path, there is no transmitting data. How could a TX URBs in flight?
> > Can you point out which point causes KASAN report?
>
> Hi Ping-Ke,
>
> This was not a physical device. It was an emulated 8852BU that we built
> for testing USB drivers, and it did not complete the bulk-OUT
> transfers it was sent.
>
> There is no data traffic during probe, but firmware download goes
> through the same TX path and anchors its URBs on tx_submitted:
>
> rtw89_usb_probe()
> rtw89_chip_info_setup()
> rtw89_chip_efuse_info_setup()
> rtw89_mac_partial_init()
> rtw89_fw_download() /* up to 5 attempts */
> __rtw89_fw_download_hdr()
> rtw89_h2c_tx() /* RTW89_TXCH_CH12 */
> rtw89_usb_ops_tx_kick_off()
> rtw89_usb_write_port() /* usb_anchor_urb(urb,
> &rtwusb->tx_submitted) */
>
> Each download attempt timed out with its URB still anchored.
Thanks for the explanation in detail. I missed this point that it might
be timed out during downloading firmware.
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
prev parent reply other threads:[~2026-12-02 2:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 20:24 [PATCH] wifi: rtw89: usb: cancel TX URBs on probe failure Artem Dinaburg
2026-12-02 1:48 ` Ping-Ke Shih
2026-12-02 2:40 ` Artem Dinaburg
2026-12-02 2:45 ` Ping-Ke Shih [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=236dba9694974061803b5a1808704445@realtek.com \
--to=pkshih@realtek.com \
--cc=artem@trailofbits.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox