* [GIT PULL] execve updates for v5.18-rc1
@ 2022-03-21 14:44 Kees Cook
2022-03-22 3:06 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2022-03-21 14:44 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, Akira Kawata, Alexander Viro, Alexey Dobriyan,
Andrew Morton, Andy Lutomirski, Ariadne Conill, Bill Messmer,
Catalin Marinas, Christian Brauner, Dave Martin, David Gow,
Eric Biederman, Geert Uytterhoeven, Ivan Kokshaysky, Jann Horn,
Kees Cook, Magnus Groß, Matthew Wilcox, Matt Turner,
Michael Kerrisk, Peter Collingbourne, Randy Dunlap,
Richard Henderson, Rich Felker, Rick Edgecombe, Shuah Khan,
Tom Rix, Yang Yingliang, Yu-cheng Yu
Hi Linus,
Please pull these execve and binfmt updates for v5.18-rc1. Eric and I
have stepped up to be the active maintainers of this area, so here's our
first collection. The bulk of the work was in coredump handling fixes;
additional details are noted below.
Thanks!
-Kees
The following changes since commit 439a8468242b313486e69b8cc3b45ddcfa898fbf:
binfmt_elf: Avoid total_mapping_size for ET_EXEC (2022-03-01 10:29:20 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v5.18-rc1
for you to fetch changes up to dd664099002db909912a23215f8775c97f7f4f10:
binfmt_elf: Don't write past end of notes for regset gap (2022-03-18 10:17:09 -0700)
----------------------------------------------------------------
execve updates for v5.18-rc1
- Handle unusual AT_PHDR offsets (Akira Kawata)
- Fix initial mapping size when PT_LOADs are not ordered (Alexey Dobriyan)
- Move more code under CONFIG_COREDUMP (Alexey Dobriyan)
- Fix missing mmap_lock in file_files_note (Eric W. Biederman)
- Remove a.out support for alpha and m68k (Eric W. Biederman)
- Include first pages of non-exec ELF libraries in coredump (Jann Horn)
- Don't write past end of notes for regset gap in coredump (Rick Edgecombe)
- Comment clean-ups (Tom Rix)
- Force single empty string when argv is empty (Kees Cook)
- Add NULL argv selftest (Kees Cook)
- Properly redefine PT_GNU_* in terms of PT_LOOS (Kees Cook)
- MAINTAINERS: Update execve entry with tree (Kees Cook)
- Introduce initial KUnit testing for binfmt_elf (Kees Cook)
----------------------------------------------------------------
Akira Kawata (2):
fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
fs/binfmt_elf: Refactor load_elf_binary function
Alexey Dobriyan (2):
ELF: fix overflow in total mapping size calculation
binfmt: move more stuff undef CONFIG_COREDUMP
Eric W. Biederman (7):
coredump: Move definition of struct coredump_params into coredump.h
coredump: Snapshot the vmas in do_coredump
coredump: Remove the WARN_ON in dump_vma_snapshot
coredump/elf: Pass coredump_params into fill_note_info
coredump: Use the vma snapshot in fill_files_note
coredump: Don't compile flat_core_dump when coredumps are disabled
a.out: Stop building a.out/osf1 support on alpha and m68k
Jann Horn (1):
coredump: Also dump first pages of non-executable ELF libraries
Kees Cook (6):
exec: Force single empty string when argv is empty
selftests/exec: Test for empty string on NULL argv
MAINTAINERS: Update execve entry with more details
ELF: Properly redefine PT_GNU_* in terms of PT_LOOS
binfmt_elf: Introduce KUnit test
Merge branch 'coredump-vma-snapshot-fix-for-v5.18' of https://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace into for-next/execve
Rick Edgecombe (1):
binfmt_elf: Don't write past end of notes for regset gap
Tom Rix (1):
exec: cleanup comments
MAINTAINERS | 4 +
arch/alpha/Kconfig | 1 -
arch/m68k/Kconfig | 1 -
fs/Kconfig.binfmt | 10 ++
fs/binfmt_elf.c | 153 +++++++++++++++++--------------
fs/binfmt_elf_fdpic.c | 20 ++--
fs/binfmt_elf_test.c | 64 +++++++++++++
fs/binfmt_flat.c | 7 ++
fs/compat_binfmt_elf.c | 2 +
fs/coredump.c | 86 +++++++++++++----
fs/exec.c | 32 ++++++-
include/linux/binfmts.h | 15 +--
include/linux/coredump.h | 20 +++-
include/uapi/linux/elf.h | 7 +-
tools/testing/selftests/exec/Makefile | 1 +
tools/testing/selftests/exec/null-argv.c | 78 ++++++++++++++++
16 files changed, 374 insertions(+), 127 deletions(-)
create mode 100644 fs/binfmt_elf_test.c
create mode 100644 tools/testing/selftests/exec/null-argv.c
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] execve updates for v5.18-rc1
2022-03-21 14:44 [GIT PULL] execve updates for v5.18-rc1 Kees Cook
@ 2022-03-22 3:06 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2022-03-22 3:06 UTC (permalink / raw)
To: Kees Cook
Cc: Linus Torvalds, linux-kernel, Akira Kawata, Alexander Viro,
Alexey Dobriyan, Andrew Morton, Andy Lutomirski, Ariadne Conill,
Bill Messmer, Catalin Marinas, Christian Brauner, Dave Martin,
David Gow, Eric Biederman, Geert Uytterhoeven, Ivan Kokshaysky,
Jann Horn, Kees Cook, Magnus Groß, Matthew Wilcox,
Matt Turner, Michael Kerrisk, Peter Collingbourne, Randy Dunlap,
Richard Henderson, Rich Felker, Rick Edgecombe, Shuah Khan,
Tom Rix, Yang Yingliang, Yu-cheng Yu
The pull request you sent on Mon, 21 Mar 2022 07:44:54 -0700:
> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v5.18-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b7a801f3956f0c1409d0ece07feb9a2ff78cd15b
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-22 3:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-21 14:44 [GIT PULL] execve updates for v5.18-rc1 Kees Cook
2022-03-22 3:06 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).