Re: [PATCH] NFC: pn533: fix use-after-free and memleaks

From: Jakub Kicinski
Date: Tue Oct 08 2019 - 20:03:54 EST


On Mon, 7 Oct 2019 18:40:59 +0200, Johan Hovold wrote:
> The driver would fail to deregister and its class device and free
> related resources on late probe errors.
>
> Reported-by: syzbot+cb035c75c03dbe34b796@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 32ecc75ded72 ("NFC: pn533: change order operations in dev registation")
> Cc: stable <stable@xxxxxxxxxxxxxxx> # 4.11
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Applied to net, thank you