linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix double free bugs and UAF bug in nfcmrvl module
@ 2022-04-14  5:31 Duoming Zhou
  2022-04-14  5:31 ` [PATCH V3 1/3] drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over() Duoming Zhou
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Duoming Zhou @ 2022-04-14  5:31 UTC (permalink / raw)
  To: krzk, linux-kernel
  Cc: davem, gregkh, alexander.deucher, akpm, broonie, netdev, linma,
	Duoming Zhou

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-14  9:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14  5:31 [PATCH 0/3] Fix double free bugs and UAF bug in nfcmrvl module Duoming Zhou
2022-04-14  5:31 ` [PATCH V3 1/3] drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over() Duoming Zhou
2022-04-14  5:50   ` Lin Ma
2022-04-14  5:31 ` [PATCH V2 2/3] drivers: nfc: nfcmrvl: fix double free bug in nfc_fw_download_done() Duoming Zhou
2022-04-14  5:47   ` Lin Ma
2022-04-14  5:31 ` [PATCH 3/3] drivers: nfc: nfcmrvl: fix use-after-free bug in nfcmrvl_fw_dnld_start() Duoming Zhou
2022-04-14  9:37 ` [PATCH 0/3] Fix double free bugs and UAF bug in nfcmrvl module Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).