Details

[Home]

Issue of the Implementation # L0149

Brief

rtl8187: fix use after free on failure path in rtl8187_probe()

Detailed Description

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.

Component

linux-kernel 3.14

Accepted

https://lkml.org/lkml/2014/3/28/425
commit

Status

Fixed in kernel 3.15-rc1

[Home]