[GIT PULL] binfmt_elf fix for v5.17-rc7

From: Kees Cook
Date: Tue Mar 01 2022 - 13:35:14 EST


Hi Linus,

Please pull this binfmt_elf fix for v5.17-rc7. This addresses a
regression[1] under ia64 where some ET_EXEC binaries were not loading.

Thanks!

-Kees

[1] https://linux-regtracking.leemhuis.info/regzbot/regression/a3edd529-c42d-3b09-135c-7e98a15b150f@xxxxxxxxxxxxx/

The following changes since commit dfd42facf1e4ada021b939b4e19c935dcdd55566:

Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/binfmt_elf-v5.17-rc7

for you to fetch changes up to 439a8468242b313486e69b8cc3b45ddcfa898fbf:

binfmt_elf: Avoid total_mapping_size for ET_EXEC (2022-03-01 10:29:20 -0800)

----------------------------------------------------------------
binfmt_elf fix for v5.17-rc7

- Fix ia64 ET_EXEC loading

----------------------------------------------------------------
Kees Cook (1):
binfmt_elf: Avoid total_mapping_size for ET_EXEC

fs/binfmt_elf.c | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)

--
Kees Cook