lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAeHK+wNS=MEuaD7UrRaQZNSrud1UNLH_+fPdxWEX7mQvs5ZRA@mail.gmail.com>
Date:   Wed, 13 Sep 2017 17:12:24 +0200
From:   Andrey Konovalov <andreyknvl@...gle.com>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Johan Hovold <johan@...nel.org>,
        USB list <linux-usb@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Dmitry Vyukov <dvyukov@...gle.com>,
        Kostya Serebryany <kcc@...gle.com>,
        syzkaller <syzkaller@...glegroups.com>
Subject: Re: usb/uwb: GPF in uwbd_start

On Tue, Sep 12, 2017 at 9:55 PM, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
> On Tue, Sep 12, 2017 at 07:10:07PM +0200, Andrey Konovalov wrote:
>> Hi!
>>
>> I've got the following crashes while fuzzing the kernel with syzkaller.
>>
>> On commit 81a84ad3cb5711cec79f4dd53a4ce026b092c432 (Sep 3).
>>
>> uwbd_start() calls kthread_run() and checks that the return value in
>> not NULL. But the return value is not NULL in case kthread_run()
>> fails, it takes the form of ERR_PTR(-EINTR).
>
> Great, do you want to write a patch for this, or do you want me to?

Just mailed a patch.

>
> And I'm guessing you really don't have the real hardware for this
> device, right?

I don't have a hardware reproducer, but making it is just a question
of effort. There's the Facedancer21 board [1], which can be used to
emulate arbitrary USB devices. It's also possible to do this with with
something like Raspberry Pi Zero in USB gadget mode through gadgetfs.

[1] https://int3.cc/products/facedancer21

>
> thanks,
>
> greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ