android_kernel_motorola_sm6375/drivers/nfc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Martin Faltesek 0e2a4560db nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
[ Upstream commit c60c152230828825c06e62a8f1ce956d4b659266 ]

The first validation check for EVT_TRANSACTION has two different checks
tied together with logical AND. One is a check for minimum packet length,
and the other is for a valid aid_tag. If either condition is true (fails),
then an error should be triggered. The fix is to change && to ||.

Reported-by: Denis Efremov <denis.e.efremov@oracle.com>
Reviewed-by: Guenter Roeck <groeck@google.com>
Fixes: 5d1ceb7f5e ("NFC: st21nfcb: Add HCI transaction event support")
Signed-off-by: Martin Faltesek <mfaltesek@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-08 11:22:59 +01:00
..
fdp
microread
nfcmrvl nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send() 2022-11-10 17:57:50 +01:00
nxp-nci NFC: nxp-nci: don't print header length mismatch on i2c error 2022-07-21 20:59:25 +02:00
pn533 nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails 2021-11-17 09:48:47 +01:00
pn544
s3fwrn5 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send() 2022-11-10 17:57:50 +01:00
st-nci nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION 2022-12-08 11:22:59 +01:00
st21nfca nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION 2022-06-22 14:11:02 +02:00
st95hf
Kconfig
Makefile
mei_phy.c
mei_phy.h
nfcsim.c nfc: nfcsim: fix use after free during module unload 2021-08-04 12:27:38 +02:00
port100.c NFC: port100: fix use-after-free in port100_send_complete 2022-03-16 13:21:46 +01:00
trf7970a.c