linux/fs/ext3
Lars-Peter Clausen e3c51d6b8b ext3: Fix format string issues
commit 8d0c2d10dd upstream.

ext3_msg() takes the printk prefix as the second parameter and the
format string as the third parameter. Two callers of ext3_msg omit the
prefix and pass the format string as the second parameter and the first
parameter to the format string as the third parameter. In both cases
this string comes from an arbitrary source. Which means the string may
contain format string characters, which will
lead to undefined and potentially harmful behavior.

The issue was introduced in commit 4cf46b67eb("ext3: Unify log messages
in ext3") and is fixed by this patch.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-20 13:04:58 -07:00
..
acl.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
acl.h fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
balloc.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
bitmap.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
dir.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
ext3_jbd.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
ext3.h ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
file.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
fsync.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
hash.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
ialloc.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
inode.c ext3: Fix fdatasync() for files with only i_size changes 2012-09-14 10:00:32 -07:00
ioctl.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
Kconfig ext3: default to ordered mode 2010-07-23 12:50:55 +02:00
Makefile [PATCH] ext3: uninline large functions 2006-12-07 08:39:35 -08:00
namei.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
namei.h [PATCH] ext3: sparse fixes 2005-10-30 17:37:25 -08:00
resize.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
super.c ext3: Fix format string issues 2013-03-20 13:04:58 -07:00
symlink.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_security.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_trusted.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_user.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr.h fs/vfs/security: pass last path component to LSM on inode creation 2011-02-01 11:12:29 -05:00