[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220827065435.GL2030@kadam>
Date: Sat, 27 Aug 2022 09:54:35 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Maxime Coquelin <maxime.coquelin@...hat.com>
Cc: linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, elic@...dia.com,
guanjun@...ux.alibaba.com, parav@...dia.com,
gautam.dawar@...inx.com, xieyongji@...edance.com,
jasowang@...hat.com, mst@...hat.com
Subject: Re: [PATCH] vduse: prevent uninitialized memory accesses
On Fri, Aug 26, 2022 at 06:16:05PM +0200, Maxime Coquelin wrote:
> If the VDUSE application provides a smaller config space
> than the driver expects, the driver may use uninitialized
> memory from the stack.
>
> This patch prevents it by initializing the buffer passed by
> the driver to store the config value.
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin@...hat.com>
This sounds like it needs a Fixes tag?
regards,
dan carpenter
Powered by blists - more mailing lists