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]
Message-ID: <20250612182143.16f857a9@kernel.org>
Date: Thu, 12 Jun 2025 18:21:43 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Haiyang Zhang <haiyangz@...ux.microsoft.com>
Cc: linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
 haiyangz@...rosoft.com, decui@...rosoft.com, stephen@...workplumber.org,
 kys@...rosoft.com, paulros@...rosoft.com, olaf@...fle.de,
 vkuznets@...hat.com, davem@...emloft.net, wei.liu@...nel.org,
 edumazet@...gle.com, pabeni@...hat.com, leon@...nel.org,
 longli@...rosoft.com, ssengar@...ux.microsoft.com,
 linux-rdma@...r.kernel.org, daniel@...earbox.net, john.fastabend@...il.com,
 bpf@...r.kernel.org, ast@...nel.org, hawk@...nel.org, tglx@...utronix.de,
 shradhagupta@...ux.microsoft.com, andrew+netdev@...n.ch,
 kotaranov@...rosoft.com, horms@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next,v7] net: mana: Add handler for hardware
 servicing events

On Tue, 10 Jun 2025 11:42:22 -0700 Haiyang Zhang wrote:
> v6:
> Not acquiring module refcnt as suggested by Paolo Abeni.

TBH I'm not 100% sure this is correct.
If the service worker operations end up unbinding the driver from
the device holding the device ref may not prevent the module from
being unloaded.

Could you try to trigger that condition? Make that msleep() in the work
even longer and try to remove the module while the work is sleeping
there?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ