linux-IllusionX/fs/ntfs3
Diogo Jahchan Koike d0c710372e ntfs3: Change to non-blocking allocation in ntfs_d_hash
[ Upstream commit 589996bf8c459deb5bbc9747d8f1c51658608103 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:26:32 +02:00
..
lib
attrib.c
attrlist.c
bitfunc.c
bitmap.c
debug.h
dir.c
file.c
frecord.c fs/ntfs3: Fix sparse warning in ni_fiemap 2024-10-17 15:26:31 +02:00
fslog.c fs/ntfs3: Refactor enum_rstbl to suppress static checker 2024-10-17 15:26:31 +02:00
fsntfs.c
index.c
inode.c
Kconfig
lznt.c
Makefile
namei.c ntfs3: Change to non-blocking allocation in ntfs_d_hash 2024-10-17 15:26:32 +02:00
ntfs.h
ntfs_fs.h
record.c
run.c
super.c fs/ntfs3: Fix sparse warning for bigendian 2024-10-17 15:26:31 +02:00
upcase.c
xattr.c