tmp_suning_uos_patched/security/tomoyo
Tetsuo Handa 4e78c724d4 TOMOYO: Fix oops in tomoyo_mount_acl().
In tomoyo_mount_acl() since 2.6.36, kern_path() was called without checking
dev_name != NULL. As a result, an unprivileged user can trigger oops by issuing
mount(NULL, "/", "ext3", 0, NULL) request.
Fix this by checking dev_name != NULL before calling kern_path(dev_name).

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: stable@kernel.org
Signed-off-by: James Morris <jmorris@namei.org>
2011-06-14 15:18:42 +10:00
..
common.c TOMOYO: Fix infinite loop bug when reading /sys/kernel/security/tomoyo/audit 2011-04-19 09:37:12 +10:00
common.h TOMOYO: Don't abuse sys_getpid(), sys_getppid() 2010-09-27 10:53:18 +10:00
domain.c TOMOYO: Use pathname specified by policy rather than execve() 2010-08-02 15:38:38 +10:00
file.c TOMOYO: Don't add / for allow_unmount permission check. 2011-04-19 09:37:09 +10:00
gc.c TOMOYO: Rename symbols. 2010-08-02 15:34:54 +10:00
group.c TOMOYO: Use pathname specified by policy rather than execve() 2010-08-02 15:38:38 +10:00
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
load_policy.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile TOMOYO: Merge path_group and number_group. 2010-08-02 15:34:42 +10:00
memory.c tomoyo: fix memory leak in tomoyo_commit_ok() 2011-03-31 10:25:06 +11:00
mount.c TOMOYO: Fix oops in tomoyo_mount_acl(). 2011-06-14 15:18:42 +10:00
realpath.c fs: dcache scale d_unhashed 2011-01-07 17:50:21 +11:00
securityfs_if.c TOMOYO: Explicitly set file_operations->llseek pointer. 2010-08-02 15:34:57 +10:00
tomoyo.c TOMOYO: Rename symbols. 2010-08-02 15:34:33 +10:00
util.c TOMOYO: Fix wrong domainname validation. 2011-05-12 11:07:21 +10:00