[PATCH 0/3] Fix double free bugs and UAF bug in nfcmrvl module

Duoming Zhou
2022-04-14T05:31:59Z

We add lock and check in fw_dnld_over() and nfcmrvl_fw_dnld_start(),
in order to synchronize among different threads that operate on
firmware.

Duoming Zhou (3):
drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over()
drivers: nfc: nfcmrvl: fix double free bug in nfc_fw_download_done()
drivers: nfc: nfcmrvl: fix use-after-free bug in
nfcmrvl_fw_dnld_start()

drivers/nfc/nfcmrvl/fw_dnld.c | 14 +++++++++++---
drivers/nfc/nfcmrvl/fw_dnld.h | 2 ++
2 files changed, 13 insertions(+), 3 deletions(-)

--
2.17.1