diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-07 19:40:59 +0300 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-09 02:52:26 +0300 |
commit | 6af3aa57a0984e061f61308fe181a9a12359fecc (patch) | |
tree | 9146b10e8f88624f36c9876c64f16b9e723f6a63 /fs/file_table.c | |
parent | 4b793feccae3b06764268377a4030eb774ed924e (diff) | |
download | linux-6af3aa57a0984e061f61308fe181a9a12359fecc.tar.xz |
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>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions