]> Gentwo Git Trees - linux/.git/commit
ntfs3: Fix uninit buffer allocated by __getname()
authorSidharth Seela <sidharthseela@gmail.com>
Tue, 23 Sep 2025 06:40:16 +0000 (12:10 +0530)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 17 Oct 2025 14:45:38 +0000 (16:45 +0200)
commit9948dcb2f7b5a1bf8e8710eafaf6016e00be3ad6
tree5761caaccafee7169de607818db69bb9ddb7330b
parent73e6b9dacf72a1e7a4265eacca46f8f33e0997d6
ntfs3: Fix uninit buffer allocated by __getname()

Fix uninit errors caused after buffer allocation given to 'de'; by
initializing the buffer with zeroes. The fix was found by using KMSAN.

Reported-by: syzbot+332bd4e9d148f11a87dc@syzkaller.appspotmail.com
Fixes: 78ab59fee07f2 ("fs/ntfs3: Rework file operations")
Signed-off-by: Sidharth Seela <sidharthseela@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/inode.c