[GIT PULL] seccomp fixes for v5.13-rc4

From: Kees Cook
Date: Sat May 29 2021 - 14:20:25 EST


Hi Linus,

Please pull these seccomp fixes for v5.13-rc4. This fixes a hard-to-hit
race condition in the addfd user_notif feature of seccomp, visible since
v5.9.

Thanks!

-Kees

The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ddc473916955f7710d1eb17c1273d91c8622a9fe:

seccomp: Refactor notification handler to prepare for new semantics (2021-05-29 11:13:27 -0700)

----------------------------------------------------------------
seccomp fixes for v5.13-rc4

- Fix addfd notification race condition (Sargun Dhillon)

----------------------------------------------------------------
Sargun Dhillon (2):
Documentation: seccomp: Fix user notification documentation
seccomp: Refactor notification handler to prepare for new semantics

Documentation/userspace-api/seccomp_filter.rst | 16 +++++++-------
kernel/seccomp.c | 30 ++++++++++++++------------
2 files changed, 24 insertions(+), 22 deletions(-)

--
Kees Cook