All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ima: Fix IMA mishandling of LSM based rule during
@ 2022-12-27  1:47 GUO Zihua
  2022-12-27  1:47 ` [PATCH 1/2] ima: use the lsm policy update notifier GUO Zihua
  2022-12-27  1:47 ` [PATCH 2/2] ima: Handle -ESTALE returned by ima_filter_rule_match() GUO Zihua
  0 siblings, 2 replies; 6+ messages in thread
From: GUO Zihua @ 2022-12-27  1:47 UTC (permalink / raw)
  To: stable, gregkh, zohar; +Cc: paul, linux-integrity, luhuaxin1

Backports the following two patches to fix the issue of IMA mishandling
LSM based rule during LSM policy update, causing a file to match an
unexpected rule.

Some changes were made to these patches, which was stated in the commit
message of corresponding patch.

GUO Zihua (1):
  ima: Handle -ESTALE returned by ima_filter_rule_match()

Janne Karhunen (1):
  ima: use the lsm policy update notifier

 security/integrity/ima/ima.h        |   2 +
 security/integrity/ima/ima_main.c   |   8 ++
 security/integrity/ima/ima_policy.c | 146 +++++++++++++++++++++++-----
 3 files changed, 130 insertions(+), 26 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2022-12-30  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27  1:47 [PATCH 0/2] ima: Fix IMA mishandling of LSM based rule during GUO Zihua
2022-12-27  1:47 ` [PATCH 1/2] ima: use the lsm policy update notifier GUO Zihua
2022-12-27  1:47 ` [PATCH 2/2] ima: Handle -ESTALE returned by ima_filter_rule_match() GUO Zihua
2022-12-27  7:37   ` Greg KH
2022-12-27 11:56     ` Mimi Zohar
2022-12-30  6:18       ` Guozihua (Scott)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.