commit | 6af3aa57a0984e061f61308fe181a9a12359fecc | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Oct 07 18:40:59 2019 +0200 |
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Oct 08 16:52:26 2019 -0700 |
tree | 9146b10e8f88624f36c9876c64f16b9e723f6a63 | |
parent | 4b793feccae3b06764268377a4030eb774ed924e [diff] |
NFC: pn533: fix use-after-free and memleaks The driver would fail to deregister and its class device and free related resources on late probe errors. Reported-by: syzbot+cb035c75c03dbe34b796@syzkaller.appspotmail.com Fixes: 32ecc75ded72 ("NFC: pn533: change order operations in dev registation") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>