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

ext4: force revalidation of directory pointer after seekdir(2)



A malicious user could force the directory pointer to be in an invalid
spot by using seekdir(2).  Use the mechanism we already have to notice
if the directory has changed since the last time we called
ext4_readdir() to force a revalidation of the pointer.

Reported-by: default avatar <syzbot+1236ce66f79263e8a862@syzkaller.appspotmail.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
parent 54dd0e0a
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