All of lore.kernel.org
 help / color / mirror / Atom feed
From: GUO Zihua <guozihua@huawei.com>
To: <stable@vger.kernel.org>, <gregkh@linuxfoundation.org>,
	<zohar@linux.ibm.com>
Cc: <paul@paul-moore.com>, <linux-integrity@vger.kernel.org>,
	<luhuaxin1@huawei.com>
Subject: [PATCH v2 0/2] ima: Fix IMA mishandling of LSM based rule during
Date: Tue, 3 Jan 2023 10:20:09 +0800	[thread overview]
Message-ID: <20230103022011.15741-1-guozihua@huawei.com> (raw)

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 | 153 +++++++++++++++++++++++-----
 3 files changed, 137 insertions(+), 26 deletions(-)

-- 
2.17.1


             reply	other threads:[~2023-01-03  2:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03  2:20 GUO Zihua [this message]
2023-01-03  2:20 ` [PATCH v2 1/2] ima: use the lsm policy update notifier GUO Zihua
2023-01-03 18:50   ` Mimi Zohar
2023-01-04  1:27     ` Guozihua (Scott)
2023-01-03  2:20 ` [PATCH v2 2/2] ima: Handle -ESTALE returned by ima_filter_rule_match() GUO Zihua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230103022011.15741-1-guozihua@huawei.com \
    --to=guozihua@huawei.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-integrity@vger.kernel.org \
    --cc=luhuaxin1@huawei.com \
    --cc=paul@paul-moore.com \
    --cc=stable@vger.kernel.org \
    --cc=zohar@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.