Loading
netlabel: remove unused parameter in netlbl_netlink_auditinfo()
stable inclusion from stable-v5.10.209 commit 5ac84b01a09bfbd16a760a7ec23be23a99043045 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9Q9IT CVE: CVE-2023-52698 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5ac84b01a09bfbd16a760a7ec23be23a99043045 -------------------------------- [ Upstream commit f7e0318a ] loginuid/sessionid/secid have been read from 'current' instead of struct netlink_skb_parms, the parameter 'skb' seems no longer needed. Fixes: c53fa1ed ("netlink: kill loginuid/sessionid/sid members from struct netlink_skb_parms") Signed-off-by:Zheng Yejian <zhengyejian1@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: ec4e9d630a64 ("calipso: fix memory leak in netlbl_calipso_add_pass()") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wang Hai <wanghai38@huawei.com>