cifs: add validation check for the fields in smb_aces
authorNamjae Jeon <linkinjeon@kernel.org>
Wed, 12 Feb 2025 08:52:19 +0000 (17:52 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 26 Mar 2025 19:51:14 +0000 (14:51 -0500)
commiteeb827f2922eb07ffbf7d53569cc95b38272646f
tree3ba1f05adfec40864e628a3d6b17de9f88e7d2d5
parent1821e90be08e7d4a54cd167dd818d80d06e064e9
cifs: add validation check for the fields in smb_aces

cifs.ko is missing validation check when accessing smb_aces.
This patch add validation check for the fields in smb_aces.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsacl.c