[GIT PULL] execve fixes for v6.1-rc3

From: Kees Cook
Date: Thu Oct 27 2022 - 15:08:48 EST


Hi Linus,

Please pull these execve fixes for v6.1-rc3.

Thanks!

-Kees

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.1-rc3

for you to fetch changes up to 594d2a14f2168c09b13b114c3d457aa939403e52:

fs/binfmt_elf: Fix memory leak in load_elf_binary() (2022-10-25 15:11:21 -0700)

----------------------------------------------------------------
execve fixes for v6.1-rc3

- Fix an ancient signal action copy race. (Bernd Edlinger)

- Fix a memory leak in ELF loader, when under memory pressure. (Li Zetao)

----------------------------------------------------------------
Bernd Edlinger (1):
exec: Copy oldsighand->action under spin-lock

Li Zetao (1):
fs/binfmt_elf: Fix memory leak in load_elf_binary()

fs/binfmt_elf.c | 3 ++-
fs/exec.c | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)

--
Kees Cook