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: <aQxqTiUUrDmF5M_X@gondor.apana.org.au>
Date: Thu, 6 Nov 2025 17:28:46 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
Cc: syzbot <syzbot+bd936ccd4339cea66e6b@...kaller.appspotmail.com>,
	daniel.m.jordan@...cle.com, linux-kernel@...r.kernel.org,
	steffen.klassert@...unet.com, linux-crypto@...r.kernel.org
Subject: Re: padata: Is padata_find_next() thread-safe?

On Tue, Nov 04, 2025 at 08:44:53PM +0900, Tetsuo Handa wrote:
> syzbot is reporting possibility of recursive locking at
> https://syzkaller.appspot.com/bug?extid=bd936ccd4339cea66e6b .
> If this is a false positive report, the fix will be as simple as

Yes it's a false positive as reorder->lock is never the same as
squeue->serial.lock.

However, they both have the same data type which is why lockdep
is confused.

Please provide a patch that sets the class for one of them to
something different.  For example, change the lockdep class for
reorder->lock using lockdep_set_class and the problem should go
away.

Thanks,
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ