Details

[Home]

Issue of the Implementation # L0109

Brief

usb: gadget: r8a66597-udc: unlock of unheld spinlock in r8a66597_sudmac_irq()

Detailed Description

r8a66597_irq() processes sudmac part (r8a66597_sudmac_irq()) before locking r8a66597->lock. But transfer_complete(), that is called inside (r8a66597_sudmac_irq()->sudmac_finish()->transfer_complete()), expects r8a66597->lock is locked. As a result an unheld spinlock can be unlocked.

Component

linux-kernel 3.9

Accepted

https://lkml.org/lkml/2013/5/29/667
commit

Status

Fixed in kernel 3.10-rc4

[Home]