Hello Joas Antonio dos Santos.
On Tue, 10 Nov 2026 09:03:25 +0000, Joas Antonio dos Santos wrote:
> atusb_xmit() stores the frame being transmitted in atusb->tx_skb and
> atusb_tx_done() hands it to ieee802154_xmit_complete() or
> ieee802154_xmit_error(), both of which free it. tx_skb is never
> cleared, and atusb_in_good() calls atusb_tx_done() for every one or two
> byte bulk-in transfer it receives from the device.
>
> A device that sends a second tx completion report after a transmit
> therefore makes the driver free the same skb again, and drop
> phy->ongoing_txs once more. A report sent before the first transmit
> calls the completion helpers with a NULL skb, which frees nothing but
> still drops phy->ongoing_txs. The stale pointer is also left behind when
> usb_submit_urb() fails in atusb_xmit() and mac802154 frees the skb.
>
> [...]
Applied to wpan/wpan.git, thanks!
[1/1] ieee802154: atusb: complete each transmitted frame only once
https://git.kernel.org/wpan/wpan/c/bc10f5da3e77
regards,
Stefan Schmidt