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: <172470276219.1124110.5967273192476181059.b4-ty@kernel.org>
Date: Mon, 26 Aug 2024 13:06:04 -0700
From: Kees Cook <kees@...nel.org>
To: Greg Ungerer <gregungerer@...tnet.com.au>,
	linux-kernel@...r.kernel.org,
	Max Filippov <jcmvbkbc@...il.com>
Cc: Kees Cook <kees@...nel.org>,
	linux-mm@...ck.org,
	linux-fsdevel@...r.kernel.org,
	Alexander Viro <viro@...iv.linux.org.uk>,
	Christian Brauner <brauner@...nel.org>,
	Jan Kara <jack@...e.cz>,
	Eric Biederman <ebiederm@...ssion.com>,
	stable@...r.kernel.org
Subject: Re: [PATCH] binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined

On Sun, 25 Aug 2024 20:27:45 -0700, Max Filippov wrote:
> create_elf_fdpic_tables() does not correctly account the space for the
> AUX vector when an architecture has ELF_HWCAP2 defined. Prior to the
> commit 10e29251be0e ("binfmt_elf_fdpic: fix /proc/<pid>/auxv") it
> resulted in the last entry of the AUX vector being set to zero, but with
> that change it results in a kernel BUG.
> 
> Fix that by adding one to the number of AUXV entries (nitems) when
> ELF_HWCAP2 is defined.
> 
> [...]

Applied to for-linus/execve, thanks!

[1/1] binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
      https://git.kernel.org/kees/c/c6a09e342f8e

Take care,

-- 
Kees Cook


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ