diff options
| author | Diogo Jahchan Koike <djahchankoike@gmail.com> | 2024-09-02 14:19:32 -0300 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-10-01 12:19:06 +0300 |
| commit | 589996bf8c459deb5bbc9747d8f1c51658608103 (patch) | |
| tree | 2c97c1594fb3c763fe558c5e1e76f07e40859876 /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | bdd6baf7408c69d403365d156447a22982d45430 (diff) | |
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: d392e85fd1e8 ("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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions
