[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YyYOi5EoKSUKLt5l@shikoro>
Date: Sat, 17 Sep 2022 20:14:35 +0200
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Asmaa Mnebhi <asmaa@...dia.com>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Khalil Blaiech <kblaiech@...dia.com>
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 <kblaiech@...dia.com>
> Signed-off-by: Asmaa Mnebhi <asmaa@...dia.com>
Fixed the prefix in $subject and applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists