summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-fw.h
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2014-03-29 00:26:15 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-31 13:47:41 -0400
commita31267c30880ebdc73e6815f58c69a665052fab8 (patch)
treee5d0be79fbfd9de5e5d5ba49baa4fc04f4acb899 /drivers/net/wireless/iwlwifi/iwl-fw.h
parent6cea5f2173440d324b0172373a95408323f28911 (diff)
downloadtalos-obmc-linux-a31267c30880ebdc73e6815f58c69a665052fab8.tar.gz
talos-obmc-linux-a31267c30880ebdc73e6815f58c69a665052fab8.zip
rtl8187: fix use after free on failure path in rtl8187_probe()
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud