linux-stable/fs/ntfs3
Konstantin Komarov d57431c6f5
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>
2024-07-11 12:19:43 +03:00
..
lib fs/ntfs3: Add missing header and guards to lib/ headers 2021-09-13 19:41:44 +03:00
attrib.c fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP 2024-07-11 12:19:43 +03:00
attrlist.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-01-16 11:31:56 +03:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Missed error return 2024-07-11 12:19:42 +03:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Fix getting file type 2024-06-07 14:31:08 +03:00
file.c ntfs3: Convert ntfs_get_frame_pages() to use a folio 2024-06-26 15:48:57 +03:00
frecord.c fs/ntfs3: Do copy_to_user out of run_lock 2024-07-11 12:19:43 +03:00
fslog.c fs/ntfs3: Add some comments 2024-06-26 15:48:53 +03:00
fsntfs.c fs/ntfs3: Use macros NTFS_LABEL_MAX_LENGTH instead of hardcoded value 2024-06-07 14:31:06 +03:00
index.c fs/ntfs3: Fix field-spanning write in INDEX_HDR 2024-06-26 15:48:58 +03:00
inode.c ntfs3: Convert ni_readpage_cmpr() to take a folio 2024-06-26 15:48:57 +03:00
Kconfig ntfs3: serve as alias for the legacy ntfs driver 2024-04-16 10:45:26 +02:00
lznt.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
Makefile fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
namei.c fs/ntfs3: Redesign ntfs_create_inode to return error code instead of inode 2024-04-23 09:34:24 +03:00
ntfs_fs.h ntfs3: Convert attr_wof_frame_info() to use a folio 2024-06-26 15:48:58 +03:00
ntfs.h fs/ntfs3: Fix field-spanning write in INDEX_HDR 2024-06-26 15:48:58 +03:00
record.c fs/ntfs3: Taking DOS names into account during link counting 2024-04-23 09:34:20 +03:00
run.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
super.c fs/ntfs3: Fix the format of the "nocase" mount option 2024-07-11 12:19:42 +03:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c fs/ntfs3: Mark volume as dirty if xattr is broken 2024-04-23 09:34:25 +03:00