WSL2-Linux-Kernel/drivers/nfc/st21nfca
Jordy Zomer 4fbcc1a4cb nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
It appears that there are some buffer overflows in EVT_TRANSACTION.
This happens because the length parameters that are passed to memcpy
come directly from skb->data and are not guarded in any way.

Signed-off-by: Jordy Zomer <jordy@pwning.systems>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-12 14:17:45 +00:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
core.c nfc: st21nfca: remove unused header includes 2021-08-26 09:13:36 +01:00
dep.c NFC: st21nfca: remove unnecessary variable and labels 2021-05-20 15:44:27 -07:00
i2c.c nfc: st21nfca: remove redundant assignment to variable i 2021-12-30 17:26:58 -08:00
se.c nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION 2022-01-12 14:17:45 +00:00
st21nfca.h nfc: constify nfc_phy_ops 2021-07-25 09:21:21 +01:00
vendor_cmds.c nfc: constify pointer to nfc_vendor_cmd 2021-07-25 09:21:21 +01:00