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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071129-subarctic-uniformly-8ae3@gregkh>
Date: Fri, 11 Jul 2025 17:30:52 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: oushixiong <oushixiong1025@....com>
Cc: Michael Grzeschik <m.grzeschik@...gutronix.de>,
	Sabyrzhan Tasbolatov <snovitoll@...il.com>,
	Frederic Weisbecker <frederic@...nel.org>,
	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
	Xu Yang <xu.yang_2@....com>, Al Viro <viro@...iv.linux.org.uk>,
	Shixiong Ou <oushixiong@...inos.cn>
Subject: Re: [PATCH] usb: gadget: uvc: destroy worker when function is unbound

On Fri, Jul 11, 2025 at 11:29:36PM +0800, oushixiong wrote:
> 
> 在 2025/7/11 19:04, Greg Kroah-Hartman 写道:
> > On Fri, Jul 11, 2025 at 04:35:50PM +0800,oushixiong1025@....com wrote:
> > > From: Shixiong Ou<oushixiong@...inos.cn>
> > > 
> > > Destroy worker when function is unbound.
> > This says what you did, but not why.
> > 
> > Why is this needed?  What happens without this change applied?
> 
> I think the kthread_worker created in uvcg_video_init() is not being
> properly destroyed during the unbind phase.

Is this actually happening?  How was this noticed?  How was this tested?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ