summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/dentry.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2012-01-24 10:02:22 -0600
committerTyler Hicks <tyhicks@canonical.com>2012-01-25 14:43:42 -0600
commit58ded24f0fcb85bddb665baba75892f6ad0f4b8a (patch)
tree40190011c2c728cfcfae82e105800958ddc92399 /fs/ecryptfs/dentry.c
parentf2cb933501ebc066bf3c4b1836fd8428f8fe9863 (diff)
eCryptfs: Fix oops when printing debug info in extent crypto functions
If pages passed to the eCryptfs extent-based crypto functions are not mapped and the module parameter ecryptfs_verbosity=1 was specified at loading time, a NULL pointer dereference will occur. Note that this wouldn't happen on a production system, as you wouldn't pass ecryptfs_verbosity=1 on a production system. It leaks private information to the system logs and is for debugging only. The debugging info printed in these messages is no longer very useful and rather than doing a kmap() in these debugging paths, it will be better to simply remove the debugging paths completely. https://launchpad.net/bugs/913651 Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Reported-by: Daniel DeFreez Cc: <stable@vger.kernel.org>
Diffstat (limited to 'fs/ecryptfs/dentry.c')
0 files changed, 0 insertions, 0 deletions