2022-09-17 18:33:18

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH v3 4/9] i2c-mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()

On Thu, Sep 08, 2022 at 01:35:39PM -0400, Asmaa Mnebhi wrote:
> memcpy() is called in a loop while 'operation->length' upper bound
> is not checked and 'data_idx' also increments.
>
> Fixes: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
> Reviewed-by: Khalil Blaiech <[email protected]>
> Signed-off-by: Asmaa Mnebhi <[email protected]>

Fixed the prefix in $subject and applied to for-current, thanks!


Attachments:
(No filename) (447.00 B)
signature.asc (849.00 B)
Download all attachments