android_kernel_motorola_sm6225/drivers/nfc/fdp
Pan Bian 760a1f7f22 NFC: fdp: fix incorrect free object
[ Upstream commit 517ce4e93368938b204451285e53014549804868 ]

The address of fw_vsc_cfg is on stack. Releasing it with devm_kfree() is
incorrect, which may result in a system crash or other security impacts.
The expected object to free is *fw_vsc_cfg.

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:20:29 +01:00
..
fdp.c NFC: fdp: make struct nci_ops static 2017-11-06 01:05:50 +01:00
fdp.h
i2c.c NFC: fdp: fix incorrect free object 2019-11-12 19:20:29 +01:00
Kconfig
Makefile