Skip to contentSkip to conversation

ucount fixes for v5.14

GIT PULL Merged Eric W. Biederman 2 participants 2 messages Aug 25, 2021

lore
Share & tools
lore
#0 lore raw

Please pull the for-v5.14 branch from the git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-v5.14

HEAD: bbb6d0f3e1feb43d663af089c7dedb23be6a04fb ucounts: Increase ucounts reference counter before the security hook

This branch fixes a regression that made it impossible to increase rlimits that had been converted to the ucount infrastructure, and also fixes a reference counting bug where the reference was not incremented soon enough.

The fixes are trivial and the bugs have been encountered in the wild, and the fixes have been tested.

Alexey Gladkov (1):
ucounts: Increase ucounts reference counter before the security hook

Eric W. Biederman (1):
ucounts: Fix regression preventing increasing of rlimits in init_user_ns

 kernel/cred.c | 12 ++++++------
 kernel/fork.c |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

Thank you,
Eric

merge bot Merged
#1 lore raw
The pull request you sent on Wed, 25 Aug 2021 09:54:20 -0500:

The pull request you sent on Wed, 25 Aug 2021 09:54:20 -0500:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-v5.14

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

Thank you!

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