[GIT PULL] LSM fixes for v6.1 (#1)

From: Paul Moore
Date: Mon Oct 31 2022 - 07:07:32 EST


Hi Linus,

A single patch to the capabilities code to fix a potential memory leak
in the xattr allocation error handling. Please apply for v6.1-rcX.

Thanks,
-Paul

--
The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git
tags/lsm-pr-20221031

for you to fetch changes up to 8cf0a1bc12870d148ae830a4ba88cfdf0e879cee:

capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
(2022-10-28 06:44:33 -0400)

----------------------------------------------------------------
lsm/stable-6.1 PR 20221031

----------------------------------------------------------------
Gaosheng Cui (1):
capabilities: fix potential memleak on error path from
vfs_getxattr_alloc()

security/commoncap.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

--
paul-moore.com