WSL2-Linux-Kernel/drivers/misc/mic
Dan Carpenter 816c9311f1 misc: mic: double free on ioctl error path
This function only has one caller.  Freeing "vdev" here leads to a use
after free bug.  There are several other error paths in this function
but this is the only one which frees "vdev".  It looks like the kfree()
can be safely removed.

Fixes: 61e9c905df ("misc: mic: Enable VOP host side functionality")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-10 21:46:41 +01:00
..
bus misc: mic: MIC VOP Bus 2016-02-09 17:32:37 -08:00
card misc: mic: MIC host and card driver changes to enable VOP 2016-02-09 17:32:37 -08:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: mic: Fix crash when MIC reset is invoked in RESET_FAILED state 2016-02-07 22:53:40 -08:00
cosm_client misc: mic: COSM client driver 2015-10-04 12:46:06 +01:00
host dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
scif mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
vop misc: mic: double free on ioctl error path 2017-01-10 21:46:41 +01:00
Kconfig vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Makefile misc: mic: Enable VOP debugfs and driver build 2016-02-09 17:32:37 -08:00