From: Andy Lutomirski Date: Thu, 29 May 2014 03:09:58 +0000 (-0400) Subject: auditsc: audit_krule mask accesses need bounds checking X-Git-Tag: v3.2.61~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38831a0a5984c10d6763aba7e3fffe7fe04a1741;p=pandora-kernel.git auditsc: audit_krule mask accesses need bounds checking commit a3c54931199565930d6d84f4c3456f6440aefd41 upstream. Fixes an easy DoS and possible information disclosure. This does nothing about the broken state of x32 auditing. eparis: If the admin has enabled auditd and has specifically loaded audit rules. This bug has been around since before git. Wow... Signed-off-by: Andy Lutomirski Signed-off-by: Eric Paris Signed-off-by: Linus Torvalds [bwh: Backported to 3.2: audit_filter_inode_name() is not a separate function but part of audit_filter_inodes()] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed