[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1196d35e-46a0-4c96-8271-12becb932f06@suse.com>
Date: Wed, 13 Mar 2024 16:17:38 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Chenyuan Yang <chenyuan0y@...il.com>, gregkh@...uxfoundation.org,
azeemshaikh38@...il.com, ivan.orlov0322@...il.com,
benjamin.tissoires@...hat.com, linux-usb@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, syzkaller@...glegroups.com,
Zijie Zhao <zzjas98@...il.com>
Subject: Re: [Linux Kernel Bug][usb/f_printer] WARNING in usb_ep_queue
On 02.02.24 19:59, Chenyuan Yang wrote:
> Dear Linux Developers for F_printer,
>
> We encountered "WARNING in usb_ep_queue" when testing the f_printer driver with
> Syzkaller and our generated specifications.
>
Hi,
it is clear what happens, but at least to me it is not clear why we allow
a write() before we enable the endpoint. Anyway, does this fix the issue?
Regards
Oliver
View attachment "0001-usb-f_printer-sanity-check-in-write.patch" of type "text/x-patch" (3076 bytes)
Powered by blists - more mailing lists