Skip to contentSkip to conversation

execve updates for v6.14-rc1

GIT PULL Merged Kees Cook 2 participants 2 messages Jan 16, 2025 – Jan 20, 2025

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull these execve updates for v6.14-rc1. This is mostly the pull request for v6.13-rc1, but with all the "comm" stuff now settled and has lived in -next for the entire past dev cycle.

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.14-rc1

for you to fetch changes up to 55cf2f4b945f6a6416cc2524ba740b83cc9af25a:

binfmt_flat: Fix integer overflow bug on 32 bit systems (2025-01-10 08:49:05 -0800)

----------------------------------------------------------------
execve updates for v6.14-rc1

- exec: fix up /proc/pid/comm in the execveat(AT_EMPTY_PATH) case (Tycho Andersen, Kees Cook)

- binfmt_misc: Fix comment typos (Christophe JAILLET)

- exec: move empty argv[0] warning closer to actual logic (Nir Lichtman)

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

- binfmt_flat: Fix integer overflow bug on 32 bit systems (Dan Carpenter)

- exec: Make sure set_task_comm() always NUL-terminates

- 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):
binfmt_flat: Fix integer overflow bug on 32 bit systems

Kees Cook (5):
coredump: Do not lock during 'comm' reporting
MAINTAINERS: exec: Add auxvec.h UAPI
MAINTAINERS: exec: Mark Kees as maintainer
exec: Make sure task->comm is always NUL-terminated
exec: fix up /proc/pid/comm in the execveat(AT_EMPTY_PATH) case

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

Tycho Andersen (1):
selftests/exec: add a test for execveat()'s comm

[email protected] (1):
exec: move warning of null argv to be next to the relevant code

 MAINTAINERS                             |  3 +-
 fs/binfmt_flat.c                        |  2 +-
 fs/binfmt_misc.c                        |  2 +-
 fs/exec.c                               | 63 +++++++++++++++------------
 include/linux/binfmts.h                 |  4 +-
 include/linux/coredump.h                |  4 +-
 include/linux/sched.h                   |  9 ++--
 io_uring/io-wq.c                        |  2 +-
 io_uring/sqpoll.c                       |  2 +-
 kernel/kthread.c                        |  3 +-
 tools/testing/selftests/exec/execveat.c | 75 +++++++++++++++++++++++++++++++--
 11 files changed, 125 insertions(+), 44 deletions(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 15 Jan 2025 16:09:58 -0800:

The pull request you sent on Wed, 15 Jan 2025 16:09:58 -0800:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fadc3ed9ce1cd9ecc5c8be8875f7ec11ab3a7ebe

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html