[GIT PULL] ucount fix for v5.14-rc

From: Eric W. Biederman
Date: Thu Aug 05 2021 - 13:15:45 EST



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: 345daff2e994ee844d6a609c37f085695fbb4c4d ucounts: Fix race condition between alloc_ucounts and put_ucounts

This is just one patch on top of v5.14-rc3 that fixes a subtle locking
versus reference counting bug in the ucount changes, found by syzbot
after you merged this code.

The ucount sysctls have a issue on big endian architectures that I hope
to get in before v5.14 is released but a patch is not ready yet.

Eric