Re: [PATCH v2] Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag

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

 



No response from maintainers for one month.
Do I need to directly ask Greg or Andrew to take this patch?

On 2022/08/16 18:50, Tetsuo Handa wrote:
> Any questions?
> 
> On 2022/07/27 7:00, Tetsuo Handa wrote:
>> syzbot is reporting hung task at __input_unregister_device() [1], for
>> iforce_close() waiting at wait_event_interruptible() with dev->mutex held
>> is blocking input_disconnect_device() from __input_unregister_device().
>>
>> It seems that the cause is simply that commit c2b27ef672992a20 ("Input:
>> iforce - wait for command completion when closing the device") forgot to
>> call wake_up() after clear_bit().
>>
>> Fix this problem by introducing a helper that calls clear_bit() followed
>> by wake_up_all().
>>
>> Link: https://syzkaller.appspot.com/bug?extid=deb6abc36aad4008f407 [1]
>> Reported-by: syzbot <syzbot+deb6abc36aad4008f407@xxxxxxxxxxxxxxxxxxxxxxxxx>
>> Fixes: c2b27ef672992a20 ("Input: iforce - wait for command completion when closing the device")
>> Tested-by: syzbot <syzbot+deb6abc36aad4008f407@xxxxxxxxxxxxxxxxxxxxxxxxx>
>> Suggested-by: Fabio M. De Francesco <fmdefrancesco@xxxxxxxxx>
>> Co-developed-by: Hillf Danton <hdanton@xxxxxxxx>
>> Signed-off-by: Hillf Danton <hdanton@xxxxxxxx>
>> Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
> 




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux