Skip to content
Commit 33458eab authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: fix use-after-free race in ext4_remount()'s error path



It's possible for ext4_show_quota_options() to try reading
s_qf_names[i] while it is being modified by ext4_remount() --- most
notably, in ext4_remount's error path when the original values of the
quota file name gets restored.

Reported-by: default avatar <syzbot+a2872d6feea6918008a9@syzkaller.appspotmail.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 3.2+
parent 6fd94178
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment