linux-stable/fs/ntfs3
Andrew Ballance 1b6bc5f721 fs/ntfs3: Check if more than chunk-size bytes are written
[ Upstream commit 9931122d04 ]

A incorrectly formatted chunk may decompress into
more than LZNT_CHUNK_SIZE bytes and a index out of bounds
will occur in s_max_off.

Signed-off-by: Andrew Ballance <andrewjballance@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 16:26:43 +01: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-08-03 08:49:28 +02:00
attrlist.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-09-18 19:23:04 +02:00
bitfunc.c fs/ntfs3: Remove a useless shadowing variable 2021-09-23 19:05:46 +03:00
bitmap.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-09-18 19:23:04 +02: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: Check more cases when directory is corrupted 2024-09-12 11:10:24 +02:00
file.c fs/ntfs3: Do not call file_modified if collapse range failed 2024-10-17 15:22:12 +02:00
frecord.c fs/ntfs3: Fix sparse warning in ni_fiemap 2024-10-17 15:22:12 +02:00
fslog.c fs/ntfs3: Refactor enum_rstbl to suppress static checker 2024-10-17 15:22:12 +02:00
fsntfs.c fs/ntfs3: add prefix to bitmap_size() and use BITS_TO_U64() 2024-08-29 17:30:14 +02:00
index.c fs/ntfs3: add prefix to bitmap_size() and use BITS_TO_U64() 2024-08-29 17:30:14 +02:00
inode.c fs/ntfs3: Add missing .dirty_folio in address_space_operations 2024-08-03 08:49:26 +02:00
Kconfig fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
lznt.c fs/ntfs3: Check if more than chunk-size bytes are written 2024-11-08 16:26:43 +01:00
Makefile fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
namei.c fs/ntfs3: Refactoring of various minor issues 2023-05-17 11:53:51 +02:00
ntfs_fs.h fs/ntfs3: add prefix to bitmap_size() and use BITS_TO_U64() 2024-08-29 17:30:14 +02:00
ntfs.h fs/ntfs3: Fix field-spanning write in INDEX_HDR 2024-08-03 08:49:27 +02:00
record.c fs/ntfs3: Add more attributes checks in mi_enum_attr() 2024-11-01 01:56:02 +01:00
run.c fs/ntfs3: Check fields while reading 2023-07-23 13:49:27 +02:00
super.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-09-18 19:23:04 +02:00
upcase.c fs/ntfs3: Change right headers to upcase.c 2021-09-13 19:41:45 +03:00
xattr.c fs/ntfs3: Mark volume as dirty if xattr is broken 2024-07-11 12:47:17 +02:00