linux/fs/ntfs3
Diogo Jahchan Koike 589996bf8c
ntfs3: Change to non-blocking allocation in ntfs_d_hash
d_hash is done while under "rcu-walk" and should not sleep.
__get_name() allocates using GFP_KERNEL, having the possibility
to sleep when under memory pressure. Change the allocation to
GFP_NOWAIT.

Reported-by: syzbot+7f71f79bbfb4427b00e1@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=7f71f79bbfb4427b00e1
Fixes: d392e85fd1 ("fs/ntfs3: Fix the format of the "nocase" mount option")
Signed-off-by: Diogo Jahchan Koike <djahchankoike@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
2024-10-01 12:19:06 +03:00
..
lib fs/ntfs3: Use swap() to improve code 2024-09-03 16:58:38 +03:00
attrib.c fs/ntfs3: Add support for the compression attribute 2024-09-03 16:58:44 +03:00
attrlist.c fs/ntfs3: Remove unused al_delete_le 2024-10-01 12:19:05 +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: Redesign legacy ntfs support 2024-07-11 12:19:45 +03:00
file.c fs/ntfs3: Rename ntfs3_setattr into ntfs_setattr 2024-09-03 16:58:45 +03:00
frecord.c fs/ntfs3: Add support for the compression attribute 2024-09-03 16:58:44 +03:00
fslog.c fs/ntfs3: Refactor enum_rstbl to suppress static checker 2024-09-03 16:58:42 +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 fs/ntfs3: Rename ntfs3_setattr into ntfs_setattr 2024-09-03 16:58:45 +03:00
Kconfig ntfs3: serve as alias for the legacy ntfs driver 2024-04-16 10:45:26 +02:00
lznt.c fs/ntfs3: Check if more than chunk-size bytes are written 2024-09-03 16:58:39 +03:00
Makefile
namei.c ntfs3: Change to non-blocking allocation in ntfs_d_hash 2024-10-01 12:19:06 +03:00
ntfs_fs.h fs/ntfs3: Remove unused al_delete_le 2024-10-01 12:19:05 +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: Add rough attr alloc_size check 2024-09-03 16:58:43 +03:00
run.c fs/ntfs3: Make checks in run_unpack more clear 2024-09-03 16:58:43 +03:00
super.c fs/ntfs3: Replace fsparam_flag_no -> fsparam_flag 2024-09-03 16:58:45 +03:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c fs/ntfs3: Rename ntfs3_setattr into ntfs_setattr 2024-09-03 16:58:45 +03:00