Backport fixes for ucounts
Bugzilla: https://bugzilla.redhat.com/2049040 CVE: CVE-2022-24122 Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Another batch of fixes in ucounts. These commits fix use-after-free in shm code.
Signed-off-by: Alexey Gladkov agladkov@redhat.com
Edited by Herton R. Krzesinski