All of lore.kernel.org
 help / color / mirror / Atom feed
From: wangboshi@huawei.com (Boshi Wang)
To: linux-security-module@vger.kernel.org
Subject: A potential issue in security_inode_init_security function
Date: Fri, 29 Sep 2017 20:37:57 +0800	[thread overview]
Message-ID: <cedbcdd2-ef0c-afa9-627a-406ed0712af8@huawei.com> (raw)

In security_inode_init_security function of security/security.c, lsm_xattr can be modified by multiple functions due to call_init_hook function. I think that it is a potential issue when inode_init_security list is associated with more security modules, although inode_init_security list is associated with only selinux and smack currrently and the two security modules usually are not used at the same time.


--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2017-09-29 12:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-29 12:37 Boshi Wang [this message]
2017-09-29 17:47 ` A potential issue in security_inode_init_security function Casey Schaufler
2017-09-30  1:55   ` Boshi Wang

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=cedbcdd2-ef0c-afa9-627a-406ed0712af8@huawei.com \
    --to=wangboshi@huawei.com \
    --cc=linux-security-module@vger.kernel.org \
    /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.