Re: [PATCH] USB: gadget: Fix obscure lockdep violation for udc_mutex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 26, 2022 at 03:31:17PM -0400, Alan Stern wrote:
> A recent commit expanding the scope of the udc_lock mutex in the
> gadget core managed to cause an obscure and slightly bizarre lockdep
> violation.  In abbreviated form:
> 
...

> Reported-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> Tested-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Cc: Felipe Balbi <balbi@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 2191c00855b0 ("USB: gadget: Fix use-after-free Read in usb_udc_uevent()")
> Link: https://lore.kernel.org/all/b2ba4245-9917-e399-94c8-03a383e7070e@xxxxxxxxxxx/

Tested-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

Francesco




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux