aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Halcrow <mhalcrow@google.com>2014-11-26 09:09:16 -0800
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-03-18 01:51:05 +0100
commit404abf4d18ebdf52d72a5d9dee4c89addabd9d46 (patch)
treea4cc1a3c89c708b62142a4ea24f664f64aecafe4 /include/linux
parent48a12b57608cfc4f34bbbf744f6644f90e529370 (diff)
downloadkernel_samsung_smdk4412-404abf4d18ebdf52d72a5d9dee4c89addabd9d46.zip
kernel_samsung_smdk4412-404abf4d18ebdf52d72a5d9dee4c89addabd9d46.tar.gz
kernel_samsung_smdk4412-404abf4d18ebdf52d72a5d9dee4c89addabd9d46.tar.bz2
eCryptfs: Remove buggy and unnecessary write in file name decode routine
Dmitry Chernenkov used KASAN to discover that eCryptfs writes past the end of the allocated buffer during encrypted filename decoding. This fix corrects the issue by getting rid of the unnecessary 0 write when the current bit offset is 2. Change-Id: Id8e04a580e550495c46cd36fec430a1ec4342940 Signed-off-by: Michael Halcrow <mhalcrow@google.com> Reported-by: Dmitry Chernenkov <dmitryc@google.com> Suggested-by: Kees Cook <keescook@chromium.org> Cc: stable@vger.kernel.org # v2.6.29+: 51ca58d eCryptfs: Filename Encryption: Encoding and encryption functions Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions