Skip to content
Commit f950fd05 authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatar <syzbot+aebf90eea2671c43112a@syzkaller.appspotmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 32f123a3
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