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:   Tue, 4 Apr 2023 22:16:52 +0000
From:   Thinh Nguyen <Thinh.Nguyen@...opsys.com>
To:     Wesley Cheng <quic_wcheng@...cinc.com>
CC:     Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
        "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
        "quic_jackp@...cinc.com" <quic_jackp@...cinc.com>,
        "quic_ugoswami@...cinc.com" <quic_ugoswami@...cinc.com>
Subject: Re: [PATCH] usb: dwc3: gadget: Stall and restart EP0 if host is
 unresponsive

On Tue, Apr 04, 2023, Wesley Cheng wrote:
> Hi Thinh,
> 
> On 4/3/2023 6:11 PM, Thinh Nguyen wrote:
> > On Fri, Mar 31, 2023, Wesley Cheng wrote:
> > > It was observed that there are hosts that may complete pending SETUP
> > > transactions before the stop active transfers and controller halt occurs,
> > > leading to lingering endxfer commands on DEPs on subsequent pullup/gadget
> > > start iterations.
> > 
> > Can you clarify this a bit further? Even though the controller is
> > halted, you still observed activity?
> > 
> 
> Yes...I didn't understand how that was possible either, but traces clearly
> showed that the controller halt was successful even though there were no
> endxfers issued on some EPs.  Although, I can't say for certain if those EPs
> were actively being used at that time.
> 

The controller should only be halted after the (non-ep0) endpoints are
disabled.

"even though there were no endxferx issued on some EPs", which EPs are
you referring to? If there's no End Transfer issued while the endpoints
are active and started during disconnect, we need to fix that in the
driver.

Thanks,
Thinh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ