diff options
author | Theodore Ts'o <tytso@mit.edu> | 2019-12-15 01:09:03 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-12-15 18:05:20 -0500 |
commit | 9803387c55f7d2ce69aa64340c5fdc6b3027dbc8 (patch) | |
tree | 7074d366004eb513473463ea2e11b5d348ef284a /drivers/media | |
parent | a70fd5ac2ea787cafe07b69dadd16b3648ad64ac (diff) | |
download | linux-9803387c55f7d2ce69aa64340c5fdc6b3027dbc8.tar.gz linux-9803387c55f7d2ce69aa64340c5fdc6b3027dbc8.tar.bz2 linux-9803387c55f7d2ce69aa64340c5fdc6b3027dbc8.zip |
ext4: validate the debug_want_extra_isize mount option at parse time
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
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions