linux_dsm_epyc7002/drivers/usb/gadget
Mario Schuknecht b44be2462d usb: gadget: gadgetfs: Free memory allocated by memdup_user()
Commit 3b74c73f8d switched over to memdup_user()
in ep_write() function and removed kfree (kbuf).
memdup_user() function allocates memory which is never freed.

Fixes: 3b74c73 (usb: gadget: inode: switch over to memdup_user())
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-12-22 10:37:15 -06:00
..
function usb: gadget: fix misspelling of current function in string 2014-12-22 10:27:34 -06:00
legacy usb: gadget: gadgetfs: Free memory allocated by memdup_user() 2014-12-22 10:37:15 -06:00
udc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
composite.c usb: gadget: configfs: add suspend/resume 2014-11-03 10:00:59 -06:00
config.c
configfs.c usb: gadget: udc: core: prepend udc_attach_driver with usb_ 2014-11-03 10:01:16 -06:00
configfs.h usb: gadget: OS descriptors: provide interface directory names 2014-06-19 10:06:48 -05:00
epautoconf.c
functions.c
Kconfig usb: gadget: hid: add configfs support 2014-11-06 16:18:19 -06:00
Makefile usb: gadget: use $(srctree) instead of $(PWD) for includes 2014-08-29 15:53:46 -05:00
u_f.c
u_f.h
u_os_desc.h usb: gadget: u_os_desc: helper functions for accessing ext prop buffer 2014-07-10 08:36:51 -05:00
usbstring.c