diff options
author | 2011-06-13 13:49:11 +0900 | |
---|---|---|
committer | 2011-06-14 15:18:42 +1000 | |
commit | 4e78c724d47e2342aa8fde61f6b8536f662f795f (patch) | |
tree | 9256c52a1e40b593601647bcc1d8d8e588188f77 /Documentation/filesystems | |
parent | Linux 3.0-rc3 (diff) | |
download | linux-dev-4e78c724d47e2342aa8fde61f6b8536f662f795f.tar.xz linux-dev-4e78c724d47e2342aa8fde61f6b8536f662f795f.zip |
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>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions