Re: [PATCH] usb: usbtmc: initialize memory written to device
From: Greg KH
Date: Fri Oct 04 2024 - 08:57:56 EST
On Fri, Oct 04, 2024 at 12:33:13PM +0000, Pimyn@xxxxxxxxxxxxxxxxxx wrote:
> Avoid kernel-usb-infoleak by initializing all memory written to device.
> The buffer length uses 32bit alignment which might cause some buffer
> data to be read without any initialization.
>
> Reported-by: syzbot+8f282cce71948071c335@xxxxxxxxxxxxxxxxxxxxxxxxx
> Closes: https://lore.kernel.org/all/0000000000006f6622061eb52dba@xxxxxxxxxx/T/
> Signed-off-by: Pimyn Girgis <bemenboshra2001@xxxxxxxxx> (Google)
> ---
> drivers/usb/class/usbtmc.c | 3 +++
> 1 file changed, 3 insertions(+)
The "From:" line of this commit is obviously not correct and does not
match this signed-off-by line.
Also, as you are from google, just use your google.com email address
please.
thanks,
greg k-h