[GIT PULL] execve updates for v6.13-rc1

From: Kees Cook
Date: Tue Nov 19 2024 - 12:36:25 EST


Hi Linus,

Please pull these execve updates for v6.13-rc1.

Thanks!

-Kees

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.13-rc1

for you to fetch changes up to 8c9870077aac4b141decfb42431415bb32d1fedf:

exec: remove legacy custom binfmt modules autoloading (2024-11-16 20:54:03 -0800)

----------------------------------------------------------------
execve updates for v6.13-rc1

- binfmt: Fix comment typos (Christophe JAILLET)

- exec: Use argv[0] for "comm" with AT_EMPTY_PATH (Tycho Andersen,
Dan Carpenter, Nir Lichtman)

- exec: remove legacy custom binfmt modules autoloading (Nir Lichtman)

- coredump: Do not lock when copying "comm"

- MAINTAINERS: add auxvec.h and set myself as maintainer

----------------------------------------------------------------
Christophe JAILLET (1):
fs: binfmt: Fix a typo

Dan Carpenter (1):
exec: Fix a NULL vs IS_ERR() test in bprm_add_fixup_comm()

Kees Cook (4):
coredump: Do not lock during 'comm' reporting
MAINTAINERS: exec: Add auxvec.h UAPI
MAINTAINERS: exec: Mark Kees as maintainer
exec: NULL out bprm->argv0 when it is an ERR_PTR

Nir Lichtman (1):
exec: remove legacy custom binfmt modules autoloading

Tycho Andersen (2):
exec: fix up /proc/pid/comm in the execveat(AT_EMPTY_PATH) case
selftests/exec: add a test for execveat()'s comm

nir@xxxxxxxxxxxx (1):
exec: move warning of null argv to be next to the relevant code

MAINTAINERS | 3 +-
fs/binfmt_misc.c | 2 +-
fs/exec.c | 62 ++++++++++++++++++--------
include/linux/binfmts.h | 1 +
include/linux/coredump.h | 4 +-
tools/testing/selftests/exec/execveat.c | 77 +++++++++++++++++++++++++++++++--
6 files changed, 123 insertions(+), 26 deletions(-)

--
Kees Cook