linux/fs/ntfs3
lei lu 50c4787965
fs/ntfs3: Validate ff offset
This adds sanity checks for ff offset. There is a check
on rt->first_free at first, but walking through by ff
without any check. If the second ff is a large offset.
We may encounter an out-of-bound read.

Signed-off-by: lei lu <llfamsec@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
2024-06-26 15:48:51 +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: Fix attr_insert_range at end of file 2024-06-26 15:48:50 +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: add prefix to bitmap_size() and use BITS_TO_U64() 2024-04-01 10:49:27 +01: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 fs/ntfs3: Replace inode_trylock with inode_lock 2024-06-26 15:48:50 +03:00
frecord.c fs/ntfs3: One more reason to mark inode bad 2024-06-26 15:48:51 +03:00
fslog.c fs/ntfs3: Validate ff offset 2024-06-26 15:48:51 +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 driver ntfs3 for linux 6.10 2024-05-25 14:19:01 -07:00
inode.c fs/ntfs3: Correct undo if ntfs_create_inode failed 2024-06-26 15:48:51 +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
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 fs/ntfs3: Simplify initialization of $AttrDef and $UpCase 2024-06-07 14:31:06 +03:00
ntfs.h fs/ntfs3: Remove unused macros MAXIMUM_REPARSE_DATA_BUFFER_SIZE 2024-06-07 14:31:06 +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: Simplify initialization of $AttrDef and $UpCase 2024-06-07 14:31:06 +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