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: <20250819-geopolitisch-artikel-e64bc21337d6@brauner>
Date: Tue, 19 Aug 2025 13:06:04 +0200
From: Christian Brauner <brauner@...nel.org>
To: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
	"Adrian Huang (Lenovo)" <adrianhuang0701@...il.com>
Cc: Christian Brauner <brauner@...nel.org>,
	linux-kernel@...r.kernel.org,
	ahuang12@...ovo.com
Subject: Re: [PATCH 1/1] signal: Fix memory leak for PIDFD_SELF* sentinels

On Mon, 18 Aug 2025 21:43:10 +0800, Adrian Huang (Lenovo) wrote:
> Commit f08d0c3a7111 ("pidfd: add PIDFD_SELF* sentinels to refer to own
> thread/process") introduced a leak by acquiring a pid reference through
> get_task_pid(), which increments pid->count but never drops it with
> put_pid().
> 
> As a result, kmemleak reports unreferenced pid objects after running
> tools/testing/selftests/pidfd/pidfd_test, for example:
> 
> [...]

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes

[1/1] signal: Fix memory leak for PIDFD_SELF* sentinels
      https://git.kernel.org/vfs/vfs/c/4df38f680278

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ