Skip to content

Fix double free bugs and UAF bug in nfcmrvl module

Duoming Zhou lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 3 patches 1 replyIn review

1 of 3 patches is in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/3drivers: nfc: nfcmrvl: fix use-after-free bug in nfcmrvl_fw_dnld_start()drivers/nfc/nfcmrvl/fw_dnld.c+4 -10 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLin Ma
SeriesR-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1