[PATCH 0/3] Fix double free bugs and UAF bug in nfcmrvl module
From: Duoming Zhou
Date: Thu Apr 14 2022 - 01:31:58 EST
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