android_kernel_oneplus_msm8998/drivers/nfc
Pan Bian 0c5f54da33 NFC: st21nfca: fix double free
[ Upstream commit 99a8efbb6e30b72ac98cecf81103f847abffb1e5 ]

The variable nfcid_skb is not changed in the callee nfc_hci_get_param()
if error occurs. Consequently, the freed variable nfcid_skb will be
freed again, resulting in a double free bug. Set nfcid_skb to NULL after
releasing it to fix the bug.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:13:16 +01:00
..
fdp NFC: fdp: fix incorrect free object 2019-11-12 19:13:15 +01:00
microread
nfcmrvl NFC: nfcmrvl_uart: fix OF child-node lookup 2018-12-01 09:46:35 +01:00
nxp-nci NFC: nxp-nci: Include unaligned.h instead of access_ok.h 2019-02-20 10:13:20 +01:00
pn544
s3fwrn5
st-nci st_nci_hci_connectivity_event_received: null check the allocation 2019-09-06 10:18:05 +02:00
st21nfca NFC: st21nfca: fix double free 2019-11-12 19:13:16 +01:00
Kconfig
Makefile
mei_phy.c
mei_phy.h
nfcsim.c
nfcwilink.c
pn533.c
port100.c
trf7970a.c