]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs/ntfs3: Add sanity check for file name
authorLizhi Xu <lizhi.xu@windriver.com>
Fri, 6 Jun 2025 05:16:16 +0000 (13:16 +0800)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 23 Jun 2025 17:23:03 +0000 (19:23 +0200)
commite841ecb139339602bc1853f5f09daa5d1ea920a2
tree787135756f3a53b1a019684902df8543eb762fb7
parentb1e9d89408f402858c00103f9831b25ffa0994d3
fs/ntfs3: Add sanity check for file name

The length of the file name should be smaller than the directory entry size.

Reported-by: syzbot+598057afa0f49e62bd23@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=598057afa0f49e62bd23
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/dir.c