Skip to contentSkip to conversation

seccomp fixes for v5.17-rc4

GIT PULL Merged Kees Cook 2 participants 2 messages Feb 12, 2022

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull these signal and seccomp fixes for v5.17-rc4. This fixes a corner case of fatal SIGSYS being ignored since v5.15. Along with the signal fix is a change to seccomp so that seeing another syscall after a fatal filter result will cause seccomp to kill the process harder.

Thanks!

-Kees

The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v5.17-rc4

for you to fetch changes up to eed09ad261822a7bdc441ed192c6f444375e5527:

samples/seccomp: Adjust sample to also provide kill option (2022-02-10 19:09:12 -0800)

----------------------------------------------------------------
seccomp fixes for v5.17-rc4

- Force HANDLER_EXIT even for SIGNAL_UNKILLABLE.
- Make seccomp self-destruct after fatal filter results.
- Update seccomp samples for easier behavioral demonstration.

----------------------------------------------------------------
Kees Cook (3):
signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
seccomp: Invalidate seccomp mode to catch death failures samples/seccomp: Adjust sample to also provide kill option

 kernel/seccomp.c          | 10 ++++++++++
 kernel/signal.c           |  5 +++--
 samples/seccomp/dropper.c |  9 +++++++--
 3 files changed, 20 insertions(+), 4 deletions(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 11 Feb 2022 19:02:38 -0800:

The pull request you sent on Fri, 11 Feb 2022 19:02:38 -0800:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v5.17-rc4

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

Thank you!

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