linux-kernelorg-stable/drivers/usb/mtu3
Dan Carpenter 3f6f6343a2 usb: mtu3: fix memory corruption in mtu3_debugfs_regset()
This code is using the wrong sizeof() so it does not allocate enough
memory.  It allocates 32 bytes but 72 are required.  That will lead to
memory corruption.

Fixes: ae07809255 ("usb: mtu3: add debugfs interface files")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X8ikqc4Mo2/0G72j@mwanda
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-07 15:26:18 +01:00
..
Kconfig
Makefile
mtu3.h
mtu3_core.c
mtu3_debug.h
mtu3_debugfs.c usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2020-12-07 15:26:18 +01:00
mtu3_dr.c
mtu3_dr.h
mtu3_gadget.c
mtu3_gadget_ep0.c
mtu3_host.c
mtu3_hw_regs.h
mtu3_plat.c
mtu3_qmu.c
mtu3_qmu.h
mtu3_trace.c
mtu3_trace.h