aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <[email protected]>2014-03-28 20:26:15 +0000
committerJohn W. Linville <[email protected]>2014-03-31 17:47:41 +0000
commita31267c30880ebdc73e6815f58c69a665052fab8 (patch)
treee5d0be79fbfd9de5e5d5ba49baa4fc04f4acb899 /drivers/net/xen-netback/interface.c
parentrtl8180: don't use weird trick to access "far" registers (diff)
downloadkernel-a31267c30880ebdc73e6815f58c69a665052fab8.tar.gz
kernel-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 <[email protected]> Acked-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions