mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix double free bugs in nfcmrvl module
@ 2022-04-12 10:56 Duoming Zhou
  2022-04-12 10:56 ` [PATCH V3 1/2] drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over() Duoming Zhou
  2022-04-12 10:56 ` [PATCH 2/2] drivers: nfc: nfcmrvl: fix double free bug in nfc_fw_download_done() Duoming Zhou
  0 siblings, 2 replies; 5+ messages in thread
From: Duoming Zhou @ 2022-04-12 10:56 UTC (permalink / raw)
  To: krzk, linux-kernel
  Cc: davem, gregkh, alexander.deucher, broonie, akpm, netdev, pabeni,
	Duoming Zhou

We add lock and check in fw_dnld_over() in order to synchronize
among different threads that call fw_dnld_over(). The first patch
fixes double free bugs caused by fw_dnld_over() and the second patch
fixes double free bug in nfc_fw_download_done().

Duoming Zhou (2):
  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/fw_dnld.c | 8 +++++++-
 drivers/nfc/nfcmrvl/fw_dnld.h | 2 ++
 2 files changed, 9 insertions(+), 1 deletion(-)

-- 
2.17.1


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

end of thread, other threads:[~2022-04-12 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 10:56 [PATCH 0/2] Fix double free bugs in nfcmrvl module Duoming Zhou
2022-04-12 10:56 ` [PATCH V3 1/2] drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over() Duoming Zhou
2022-04-12 10:56 ` [PATCH 2/2] drivers: nfc: nfcmrvl: fix double free bug in nfc_fw_download_done() Duoming Zhou
2022-04-12 17:00   ` kernel test robot
2022-04-12 18:11   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®