Re: [PATCH] usbmon: Fix out-of-bounds read in mon_copy_to_buff

From: Greg Kroah-Hartman
Date: Thu Jul 03 2025 - 01:13:02 EST


On Thu, Jul 03, 2025 at 02:57:40AM +0530, Manas Gupta via B4 Relay wrote:
> From: Manas Gupta <manas18244@xxxxxxxxxxx>
>
> memcpy tries to copy buffer 'from' when it is empty. This leads to
> out-of-bounds crash.

What exactly is the "crash" that you are seeing? What is reporting it,
and how?

thanks,

greg k-h