Details

[Home]

Issue of the Implementation # L0136

Brief

can: ems_usb: fix urb leaks on failure paths

Detailed Description

There are a couple failure paths where urb leaks. Is spare code within ems_usb_start_xmit(), usb_free_urb() should be used to deallocate urb instead of usb_unanchor_urb(). In ems_usb_start() there is no usb_free_urb() if usb_submit_urb() fails.

Component

linux-kernel 3.12

Accepted

https://lkml.org/lkml/2013/12/6/862
commit

Status

Fixed in kernel 3.13-rc5

[Home]