[GIT PULL] seccomp fixes for v5.9-rc5
From: Kees Cook
Date: Fri Sep 11 2020 - 20:20:39 EST
Hi Linus,
Please pull these seccomp fixes for v5.9-rc5. This fixes a rare race
condition in seccomp when using TSYNC and USER_NOTIF together where a
memory allocation would not get freed (found by syzkaller, fixed by
Tycho). Additionally updates Tycho's MAINTAINERS and .mailmap entries
for his new address.
Thanks!
-Kees
The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:
Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v5.9-rc5
for you to fetch changes up to e839317900e9f13c83d8711d684de88c625b307a:
seccomp: don't leave dangling ->notif if file allocation fails (2020-09-08 11:30:16 -0700)
----------------------------------------------------------------
seccomp fixes for v5.9-rc5
- Fix memory resource leak of user_notif under TSYNC race (Tycho Andersen)
----------------------------------------------------------------
Tycho Andersen (3):
seccomp: don't leak memory when filter install races
mailmap, MAINTAINERS: move to tycho.pizza
seccomp: don't leave dangling ->notif if file allocation fails
.mailmap | 1 +
MAINTAINERS | 2 +-
kernel/seccomp.c | 24 ++++++++++++++++++------
3 files changed, 20 insertions(+), 7 deletions(-)
--
Kees Cook