summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-12-15 01:09:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-05 14:18:13 +0000
commit08e4a312439c294b9753166537baf3cc0bd6bb07 (patch)
tree85af38113f69ad3674d53f97b880fd7dad96f0f7 /mm
parent64700ad97eab8b533afd5dbfff22266b68900e35 (diff)
ext4: validate the debug_want_extra_isize mount option at parse time
commit 9803387c55f7d2ce69aa64340c5fdc6b3027dbc8 upstream. Instead of setting s_want_extra_size and then making sure that it is a valid value afterwards, validate the field before we set it. This avoids races and other problems when remounting the file system. Link: https://lore.kernel.org/r/20191215063020.GA11512@mit.edu Cc: stable@kernel.org Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reported-and-tested-by: syzbot+4a39a025912b265cacef@syzkaller.appspotmail.com Signed-off-by: Zubin Mithra <zsm@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions