• T
    ext4: force revalidation of directory pointer after seekdir(2) · e40ff213
    Theodore Ts'o 提交于
    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: syzbot+1236ce66f79263e8a862@syzkaller.appspotmail.com
    Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
    Cc: stable@vger.kernel.org
    e40ff213
dir.c 17.0 KB