Skip to content
Commit 0aef7184 authored by Jordy Zomer's avatar Jordy Zomer Committed by Greg Kroah-Hartman
Browse files

nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION



commit 4fbcc1a4 upstream.

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: default avatarJordy Zomer <jordy@pwning.systems>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDenis Efremov <denis.e.efremov@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 628adfa2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment