commit | b4bfec7f4a86424b114f94f41c4e1841ec102df3 | [log] [tgz] |
---|---|---|
author | Seth Forshee <seth.forshee@canonical.com> | Mon Aug 01 08:19:10 2016 -0500 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Sun Nov 13 22:50:11 2016 -0500 |
tree | 9f4a668c3d28ef3de0743d3dda285829b38a85a3 | |
parent | 5465d02a4970990d8ec692c7539af5fdde95e613 [diff] |
security/integrity: Harden against malformed xattrs In general the handling of IMA/EVM xattrs is good, but I found a few locations where either the xattr size or the value of the type field in the xattr are not checked. Add a few simple checks to these locations to prevent malformed or malicious xattrs from causing problems. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>