Re: [PATCH v3] nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
From: Jakub Kicinski
Date: Wed Jan 12 2022 - 12:26:00 EST
On Wed, 12 Jan 2022 11:07:34 +0100 Krzysztof Kozlowski wrote:
> On 11/01/2022 17:44, Jordy Zomer wrote:
> > 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>
>
> Looks ok.
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
Thanks! I believe this is commit 4fbcc1a4cb20 ("nfc: st21nfca: Fix
potential buffer overflows in EVT_TRANSACTION") in net.