Skip to content
Snippets Groups Projects
Unverified Commit d57431c6 authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Do copy_to_user out of run_lock


In order not to call copy_to_user (from fiemap_fill_next_extent)
we allocate memory in the kernel, fill it and copy it to user memory
after up_read(run_lock).

Reported-by: default avatar <syzbot+36bb70085ef6edc2ebb9@syzkaller.appspotmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent eb95678e
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment