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] [day] [month] [year] [list]
Message-Id: <176424541467.1853134.8527838747212328732.b4-ty@kernel.org>
Date: Thu, 27 Nov 2025 07:10:14 -0500
From: Leon Romanovsky <leon@...nel.org>
To: linux-rdma@...r.kernel.org, Stefan Metzmacher <metze@...ba.org>
Cc: Zhu Yanjun <zyjzyj2000@...il.com>, Zhu Yanjun <yanjun.zhu@...ux.dev>, 
 Jason Gunthorpe <jgg@...pe.ca>, netdev@...r.kernel.org, 
 linux-cifs@...r.kernel.org
Subject: Re: [PATCH v3] RDMA/rxe: reclassify sockets in order to avoid
 false positives from lockdep


On Thu, 27 Nov 2025 11:56:14 +0100, Stefan Metzmacher wrote:
> While developing IPPROTO_SMBDIRECT support for the code
> under fs/smb/common/smbdirect [1], I noticed false positives like this:
> 
> [+0,003927] ============================================
> [+0,000532] WARNING: possible recursive locking detected
> [+0,000611] 6.18.0-rc5-metze-kasan-lockdep.02+ #1 Tainted: G           OE
> [+0,000835] --------------------------------------------
> [+0,000729] ksmbd:r5445/3609 is trying to acquire lock:
> [+0,000709] ffff88800b9570f8 (k-sk_lock-AF_INET){+.+.}-{0:0},
>                               at: inet_shutdown+0x52/0x360
> [+0,000831]
>             but task is already holding lock:
> [+0,000684] ffff88800654af78 (k-sk_lock-AF_INET){+.+.}-{0:0},
>                            at: smbdirect_sk_close+0x122/0x790 [smbdirect]
> [+0,000928]
>             other info that might help us debug this:
> [+0,005552]  Possible unsafe locking scenario:
> 
> [...]

Applied, thanks!

[1/1] RDMA/rxe: reclassify sockets in order to avoid false positives from lockdep
      https://git.kernel.org/rdma/rdma/c/80a85a771deb11

Best regards,
-- 
Leon Romanovsky <leon@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ