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: <173739642251.137076.1833330906555536038.b4-ty@kernel.dk>
Date: Mon, 20 Jan 2025 11:07:02 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, Jann Horn <jannh@...gle.com>
Cc: io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring/rsrc: Move lockdep assert from
 io_free_rsrc_node() to caller


On Mon, 20 Jan 2025 17:21:57 +0100, Jann Horn wrote:
> Checking for lockdep_assert_held(&ctx->uring_lock) in io_free_rsrc_node()
> means that the assertion is only checked when the resource drops to zero
> references.
> Move the lockdep assertion up into the caller io_put_rsrc_node() so that it
> instead happens on every reference count decrement.
> 
> 
> [...]

Applied, thanks!

[1/1] io_uring/rsrc: Move lockdep assert from io_free_rsrc_node() to caller
      commit: 8c4b2fd5908d2260dfac8d4b74aae1bb5deea379

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ