Skip to contentSkip to conversation

seccomp fixes for v5.9-rc5

GIT PULL Merged Kees Cook 2 participants 2 messages Sep 12, 2020

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

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(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 11 Sep 2020 17:20:02 -0700:

The pull request you sent on Fri, 11 Sep 2020 17:20:02 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v5.9-rc5

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

Thank you!

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