Re: [PATCH 1/3] binfmt_elf_fdpic: fix AUXV size calculation for ELF_HWCAP3 and ELF_HWCAP4
Mark Brown <[email protected]> Thu, 8 Jan 2026 11:31:46 +0000
| Newsgroups | dev.linux.lists.criu,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmlflaIACgkQJNaLcl1U h9BNQQf/SWKoyWBsmRtRijLDQFwuIjFlknk89+D+ZwI7hTFR2GRem2nPrMjLveB2 SP+8ABx9/CPZxt3iYxRGP6ljFYeT6e6sHGPloqEG/nSyp9sAgSc5a3jM8CtjhbQB 5658MuH0gZgd7Sckj8WduZPof98zKrMkGftfJ2Q7uT/jhM7ZHIy8q+1GodpMLZ98 jMT6IkBHsjrfNgJr3KHrTxNa2os+W+371N9L5RlTanphMm4sQOdCJvAqyLVlvpjW IGrFyVgOcjwFqsBjXYs874Zo2+82EKN7QER2auVrJx5oIUn+uxf/KmBxkLN6DrcY aF+eT03o52RmgcRqCa6h1rIN1bDr6Q== =96VI -----END PGP SIGNATURE-----