[ldv-project] [PATCH] usb: gadget: mv_u3d_core: fix violation of locking discipline in mv_u3d_ep_disable()

Felipe Balbi balbi at ti.com
Thu Jul 25 21:30:17 MSK 2013


Hi,

On Wed, Jul 24, 2013 at 12:20:17AM +0400, Alexey Khoroshilov wrote:
> mv_u3d_nuke() expects to be calles with ep->u3d->lock held,
> because mv_u3d_done() does. But mv_u3d_ep_disable() calls it
> without lock that can lead to unpleasant consequences.
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>

which commit introduced the bug ? Which kernels are affected by this bug ?

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20130725/b37b203a/attachment.pgp>


More information about the ldv-project mailing list