Re: [PATCH] rtl818x: fix potential use after free

From: Kalle Valo
Date: Thu Dec 13 2018 - 10:03:30 EST


Pan Bian <bianpan2016@xxxxxxx> wrote:

> entry is released via usb_put_urb just after calling usb_submit_urb.
> However, entry is used if the submission fails, resulting in a use after
> free bug. The patch fixes this.
>
> Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>
> ACKed-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

afbb1947db94 rtl818x: fix potential use after free

--
https://patchwork.kernel.org/patch/10704331/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches