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: syzbot+36bb70085ef6edc2ebb9@syzkaller.appspotmail.com
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2024-06-17 15:14:07 +03:00
commit d57431c6f5
No known key found for this signature in database
GPG key ID: A9B0331F832407B6