summaryrefslogtreecommitdiff
path: root/fs/freevxfs/vxfs_inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-01-18 21:42:35 +0300
committerJan Kara <jack@suse.cz>2023-01-26 18:46:34 +0300
commitf950fd0529130a617b3da526da9fb6a896ce87c2 (patch)
treea89823d9ba8c1ef7ff5719cd1c2c05e2a4ee3902 /fs/freevxfs/vxfs_inode.c
parent32f123a3f34283f9c6446de87861696f0502b02e (diff)
downloadlinux-f950fd0529130a617b3da526da9fb6a896ce87c2.tar.xz
udf: Protect rename against modification of moved directory
When we are renaming a directory to a different directory, we need to update '..' entry in the moved directory. However nothing prevents moved directory from being modified and even converted from the in-ICB format to the normal format which results in a crash. Fix the problem by locking the moved directory. Reported-by: syzbot+aebf90eea2671c43112a@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/freevxfs/vxfs_inode.c')
0 files changed, 0 insertions, 0 deletions