[GIT,PULL] execve fixes for v6.8-rc2

Message ID 202401241201.A53405B0D1@keescook
State New
Headers
Series [GIT,PULL] execve fixes for v6.8-rc2 |

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.8-rc2

Message

Kees Cook Jan. 24, 2024, 8:05 p.m. UTC
  Hi Linus,

Please pull these execve fixes for v6.8-rc2. One change was sent as part
of the original -rc1 PR, one is a recent fix, and the rest are cleanups
related to moving the open() earlier. I was waiting for a couple -next
cycles since -rc1, and since we were already working on the in_execve fix,
I figured I should send this PR now too.

Thanks!

-Kees

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.8-rc2

for you to fetch changes up to 90383cc07895183c75a0db2460301c2ffd912359:

  exec: Distinguish in_execve from in_exec (2024-01-24 11:48:52 -0800)

----------------------------------------------------------------
execve fixes for v6.8-rc2

- Fix error handling in begin_new_exec() (Bernd Edlinger)

- MAINTAINERS: specifically mention ELF (Alexey Dobriyan)

- Various cleanups related to earlier open() (Askar Safin, Kees Cook)

----------------------------------------------------------------
Alexey Dobriyan (1):
      ELF, MAINTAINERS: specifically mention ELF

Askar Safin (1):
      exec: remove useless comment

Bernd Edlinger (1):
      exec: Fix error handling in begin_new_exec()

Kees Cook (2):
      exec: Add do_close_execat() helper
      exec: Distinguish in_execve from in_exec

 MAINTAINERS           |  3 ++-
 fs/exec.c             | 39 ++++++++++++++++++++++++++++++---------
 include/linux/sched.h |  2 +-
 kernel/fork.c         |  1 +
 4 files changed, 34 insertions(+), 11 deletions(-)
  

Comments

pr-tracker-bot@kernel.org Jan. 24, 2024, 9:56 p.m. UTC | #1
The pull request you sent on Wed, 24 Jan 2024 12:05:10 -0800:

> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.8-rc2

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

Thank you!