Skip to content

Backporting some memory leak of ima policy to 4.19+ from mainline

[email protected] stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ima: Have the LSM free its audit rulesecurity/integrity/ima/ima.h security/integrity/ima/ima_policy.c+8 -10 replies
2/3ima: Free the entire rule when deleting a list of rulessecurity/integrity/ima/ima_policy.c+16 -70 replies
3/3ima: Free the entire rule if it fails to parsesecurity/integrity/ima/ima_policy.c+2 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMimi Zohar
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Backporting some memory leak of ima policy to 4.19+ from mainline

From: Gou Hao <[email protected]>

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(-)
Signature · 1 line
2.20.1