Re: KASAN: use-after-free Read in usblp_bulk_read

From: Alan Stern
Date: Wed May 06 2020 - 10:08:51 EST


On Wed, 6 May 2020, Oliver Neukum wrote:

> Am Donnerstag, den 30.04.2020, 11:11 -0400 schrieb Alan Stern:
>
> > KASAN is documented. The difficulty is that this race is obviously
> > hard to trigger, and without the ability to reproduce it we can't run
> > diagnostics to find the underlying cause.
> >
> > We can't even ask syzbot to try running tests for us; without a valid
> > reproducer it won't agree to rerun the original test program.
>
>
> Very well. We are not going to find it without exceptional luck. Yet
> there may be a real issue, too. We simply do not know. How about the
> attached patch?

It's okay with me (apart from the typo in the patch description: "UB").

Alan Stern