[PATCH 4.9 065/104] netfilter: nfnetlink_queue: fix secctx memory leak

2017-12-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liping Zhang [ Upstream commit 77c1c03c5b8ef28e55bb0aff29b1e006037ca645 ] We must call security_release_secctx to free the memory returned by security_secid_to_secctx,

[PATCH 4.9 065/104] netfilter: nfnetlink_queue: fix secctx memory leak

2017-12-22 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liping Zhang [ Upstream commit 77c1c03c5b8ef28e55bb0aff29b1e006037ca645 ] We must call security_release_secctx to free the memory returned by security_secid_to_secctx, otherwise memory may be