On Wed, Jul 20, 2022 at 1:25 AM Denis Efremov wrote: > > Hi, > > On 6/7/22 06:57, Martin Faltesek wrote: > > > > Martin Faltesek (3): > > nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION > > nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling > > nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION > > > > drivers/nfc/st21nfca/se.c | 53 ++++++++++++++++++++++----------------- > > 1 file changed, 30 insertions(+), 23 deletions(-) > > > It looks like driver st-nci contains the same problems and all 3 fixes are > also applicable to st_nci_hci_connectivity_event_received() function. > At least I can see the memory leak > https://elixir.bootlin.com/linux/v5.19-rc7/source/drivers/nfc/st-nci/se.c#L343 > > Can you please double check the st-nci driver and send the same fixes to it? > Reported-by: Denis Efremov Will do.