[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <79af0c28-9423-40ac-840f-ccf0ca676bf1@sirena.org.uk>
Date: Thu, 8 Jan 2026 11:31:46 +0000
From: Mark Brown <broonie@...nel.org>
To: Andrei Vagin <avagin@...gle.com>
Cc: Kees Cook <kees@...nel.org>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
criu@...ts.linux.dev, Andrew Morton <akpm@...ux-foundation.org>,
Chen Ridong <chenridong@...wei.com>,
Christian Brauner <brauner@...nel.org>,
David Hildenbrand <david@...nel.org>,
Eric Biederman <ebiederm@...ssion.com>,
Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
Michal Koutny <mkoutny@...e.com>, Max Filippov <jcmvbkbc@...il.com>
Subject: Re: [PATCH 1/3] binfmt_elf_fdpic: fix AUXV size calculation for
ELF_HWCAP3 and ELF_HWCAP4
On Thu, Jan 08, 2026 at 05:07:46AM +0000, Andrei Vagin wrote:
> Commit 4e6e8c2b757f ("binfmt_elf: Wire up AT_HWCAP3 at AT_HWCAP4") added
> support for AT_HWCAP3 and AT_HWCAP4, but it missed updating the AUX
> vector size calculation in create_elf_fdpic_tables() and
> AT_VECTOR_SIZE_BASE in include/linux/auxvec.h.
>
> Similar to the fix for ELF_HWCAP2 in commit c6a09e342f8e
> ("binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined"),
> this omission leads to a mismatch between the reserved space and the
> actual number of AUX entries, eventually triggering a kernel BUG_ON(csp != sp).
Sorry, missed fdpic here:
Reviewed-by: Mark Brown <broonie@...nel.org>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists