All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] integrity: NULL pointer dereference fixes
@ 2014-10-28 11:31 Dmitry Kasatkin
  2014-10-28 11:31 ` [PATCH v3 1/3] ima: check xattr value length and type in the ima_inode_setxattr() Dmitry Kasatkin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dmitry Kasatkin @ 2014-10-28 11:31 UTC (permalink / raw)
  To: zohar, linux-security-module, linux-ima-devel
  Cc: linux-kernel, jack, jmorris, dmitry.kasatkin, Dmitry Kasatkin

Hi,

Recently Jan Kara reported about possible NULL pointer dereference
in IMA and EVM setxattr hooks. This patchset fixes the problem.

http://sourceforge.net/p/linux-ima/mailman/message/32957578

In this version of the patchset we agreed with Mimi to split IMA
patch into two, where the first patch fixes the oops and must go to
the stable and the second patch limits setting of file hash to fix
and log modes and may go to the next kernel version via normal process.

- Dmitry

Dmitry Kasatkin (3):
  ima: check xattr value length and type in the ima_inode_setxattr()
  ima: limit file hash setting by user to fix and log modes
  evm: check xattr value length and type in evm_inode_setxattr()

 security/integrity/evm/evm_main.c     | 11 ++++++++---
 security/integrity/ima/ima_appraise.c | 10 ++++++++--
 security/integrity/integrity.h        |  1 +
 3 files changed, 17 insertions(+), 5 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2014-10-28 14:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 11:31 [PATCH v3 0/3] integrity: NULL pointer dereference fixes Dmitry Kasatkin
2014-10-28 11:31 ` [PATCH v3 1/3] ima: check xattr value length and type in the ima_inode_setxattr() Dmitry Kasatkin
2014-10-28 11:31 ` [PATCH v3 2/3] ima: limit file hash setting by user to fix and log modes Dmitry Kasatkin
2014-10-28 11:31 ` [PATCH v3 3/3] evm: check xattr value length and type in evm_inode_setxattr() Dmitry Kasatkin
2014-10-28 12:28   ` [PATCH v3 1/1] " Dmitry Kasatkin
2014-10-28 12:33   ` [PATCH v3 3/3] " Dmitry Kasatkin
2014-10-28 14:23 ` [PATCH v3 0/3] integrity: NULL pointer dereference fixes Mimi Zohar

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.