| commit | c9a241893eed90d27229798a7e836d5b3699ac93 | [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> | Tue Nov 08 10:55:09 2016 -0500 |
| tree | 1331fe16f2d9f61a2bfa14a53853f8b6fcc12bea | |
| parent | b8aa37b1fb4e62cc22a698fed55f0af50bcb0597 [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>