[GITLAB] - UPGRADE TO v12 on Wednesday the 18th of December at 11.30AM
commit d07f1e8600ccb885c8f4143402b8912f7d827bcb upstream.
Smatch says that skb->data is untrusted so we need to check to make sure
that the memcpy() doesn't overflow.
Fixes: cfad1ba8 ('NFC: Initial support for Inside Secure microread')
Signed-off-by: Dan Carpenter <firstname.lastname@example.org>
Signed-off-by: Samuel Ortiz <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>