Re: [PATCH 0/6] usbip fixes to crashes found by syzbot

From: Tetsuo Handa
Date: Thu Mar 11 2021 - 07:35:55 EST


On 2021/03/11 3:33, Greg KH wrote:
> On Sun, Mar 07, 2021 at 08:53:25PM -0700, Shuah Khan wrote:
>> This patch series fixes the following problems founds in syzbot
>> fuzzing.
>
> Thanks for these, all now queued up.

I send SIGSTOP to

[PATCH 4/6] usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
[PATCH 5/6] usbip: fix vhci_hcd attach_store() races leading to gpf
[PATCH 6/6] usbip: fix vudc usbip_sockfd_store races leading to gpf

because these patches merely converted NULL pointer dererefence bug to use-after-free bug
by breaking kthread_get_run() into kthread_create()/get_task_struct()/wake_up_process().