diff options
author | Jan Kara <jack@suse.cz> | 2023-01-18 19:42:35 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-01-26 16:46:34 +0100 |
commit | f950fd0529130a617b3da526da9fb6a896ce87c2 (patch) | |
tree | a89823d9ba8c1ef7ff5719cd1c2c05e2a4ee3902 /fs/aio.c | |
parent | 32f123a3f34283f9c6446de87861696f0502b02e (diff) |
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/aio.c')
0 files changed, 0 insertions, 0 deletions