linux-stable/drivers/nfc
Oliver Neukum af8071f50f nfc: port100: handle command failure cleanly
commit 5f9f0b11f0 upstream.

If starting the transfer of a command suceeds but the transfer for the reply
fails, it is not enough to initiate killing the transfer for the
command may still be running. You need to wait for the killing to finish
before you can reuse URB and buffer.

Reported-and-tested-by: syzbot+711468aa5c3a1eabf863@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-01 09:17:38 +01:00
..
fdp NFC: fdp: fix incorrect free object 2019-11-12 19:20:29 +01:00
microread
nfcmrvl NFC: nfcmrvl: fix gpio-handling regression 2019-08-09 17:52:33 +02:00
nxp-nci nfc: nxp-nci: constify i2c_device_id 2017-11-06 00:56:55 +01:00
pn533 NFC: pn533: fix use-after-free and memleaks 2019-11-06 13:06:25 +01:00
pn544 nfc: pn544: constify i2c_device_id 2017-11-06 00:56:55 +01:00
s3fwrn5 nfc: s3fwrn5: make array match static const 2017-11-06 01:05:06 +01:00
st-nci st_nci_hci_connectivity_event_received: null check the allocation 2019-08-29 08:28:31 +02:00
st21nfca NFC: st21nfca: fix double free 2019-11-12 19:20:30 +01:00
st95hf spi: ST ST95HF NFC: declare missing of table 2019-05-16 19:41:25 +02:00
Kconfig
Makefile
mei_phy.c
mei_phy.h
nfcsim.c
port100.c nfc: port100: handle command failure cleanly 2019-12-01 09:17:38 +01:00
trf7970a.c