public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Backporting some memory leak of ima policy to 4.19+ from mainline
@ 2022-09-30  7:49 gouhao
  2022-09-30  7:49 ` [PATCH 1/3] ima: Have the LSM free its audit rule gouhao
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: gouhao @ 2022-09-30  7:49 UTC (permalink / raw)
  To: stable; +Cc: gouhao, tyhicks, zohar, dmitry.kasatkin, jmorris, serge

From: Gou Hao <gouhao@uniontech.com>

patch1: is memory leak of audit rule
patch2~3: is memory leak about 'fsname' field of struct ima_rule_entry

Tyler Hicks (3):
  ima: Have the LSM free its audit rule
  ima: Free the entire rule when deleting a list of rules
  ima: Free the entire rule if it fails to parse

 security/integrity/ima/ima.h        |  5 +++++
 security/integrity/ima/ima_policy.c | 24 ++++++++++++++++++------
 2 files changed, 23 insertions(+), 6 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-07 18:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30  7:49 [PATCH 0/3] Backporting some memory leak of ima policy to 4.19+ from mainline gouhao
2022-09-30  7:49 ` [PATCH 1/3] ima: Have the LSM free its audit rule gouhao
2022-09-30  7:49 ` [PATCH 2/3] ima: Free the entire rule when deleting a list of rules gouhao
2022-09-30  7:49 ` [PATCH 3/3] ima: Free the entire rule if it fails to parse gouhao
2022-10-02 15:35 ` [PATCH 0/3] Backporting some memory leak of ima policy to 4.19+ from mainline Greg KH
2022-10-07 18:31   ` Tyler Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox