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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 23 Dec 2022 15:56:44 +0100
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     Prashanth K <quic_prashk@...cinc.com>
Cc:     Pavel Hofman <pavel.hofman@...tera.com>,
        Joe Perches <joe@...ches.com>, Julian Scheel <julian@...st.de>,
        Colin Ian King <colin.i.king@...il.com>,
        Pratham Pratap <quic_ppratap@...cinc.com>,
        linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints

On Wed, Nov 23, 2022 at 02:18:10PM +0530, Prashanth K wrote:
> Currently connect/disconnect of USB cable calls afunc_bind and
> eventually increments the bNumEndpoints. And performing multiple
> plugin/plugout will incorrectly increment bNumEndpoints on the
> next plug-in leading to invalid configuration of descriptor and
> hence enumeration failure.
> 
> Fix this by resetting the value of bNumEndpoints to 1 on every
> afunc_bind call.
> 
> Signed-off-by: Pratham Pratap <quic_ppratap@...cinc.com>
> Signed-off-by: Prashanth K <quic_prashk@...cinc.com>

Who authored this, Pratham or you?

And why no "[PATCH]" in the subject line?

What commit id does this fix?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ