aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-11-18 13:24:26 -0500
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:50:56 +0200
commit9098069166fa675d138a6359697276e066eafe97 (patch)
tree3a7ac4e6577ebbdeb0c58b54ed3306c1564f8a93 /fs/jbd2
parent921a1677750c6f692fc1bf014661961b3b52ece9 (diff)
ext4: fix in-superblock mount options processing
commit 5aee0f8a3f42c94c5012f1673420aee96315925a upstream. Fix a large number of problems with how we handle mount options in the superblock. For one, if the string in the superblock is long enough that it is not null terminated, we could run off the end of the string and try to interpret superblocks fields as characters. It's unlikely this will cause a security problem, but it could result in an invalid parse. Also, parse_options is destructive to the string, so in some cases if there is a comma-separated string, it would be modified in the superblock. (Fortunately it only happens on file systems with a 1k block size.) Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions