forked from Minki/linux
a31267c308
If allocation of io_dmabuf fails, rtl8187_probe() calls usb_put_dev(udev) while usb_get_dev(udev) is not called yet. As a result refcnt is decremented incorrectly and usb_dev can be used after memory deallocation. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
dev.c | ||
leds.c | ||
leds.h | ||
Makefile | ||
rfkill.c | ||
rfkill.h | ||
rtl8187.h | ||
rtl8225.c | ||
rtl8225.h |