]> git.hungrycats.org Git - linux/commit
fs/ntfs3: Add a check for attr_names and oatbl
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 3 Jun 2024 10:13:17 +0000 (13:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jul 2024 09:36:15 +0000 (11:36 +0200)
commitc114d2b88f8b226d4b2acf5a1ba0412cde6c31dd
tree6b11f581071001d9c2493fd474a1e106f3de4051
parentf4435f476b9bf059cd9e26a69f5b29c768d00375
fs/ntfs3: Add a check for attr_names and oatbl

commit 702d4930eb06dcfda85a2fa67e8a1a27bfa2a845 upstream.

Added out-of-bound checking for *ane (ATTR_NAME_ENTRY).

Reported-by: lei lu <llfamsec@gmail.com>
Fixes: 865e7a7700d93 ("fs/ntfs3: Reduce stack usage")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ntfs3/fslog.c