Files
linux/fs/smb/client
Namjae Jeon aa2a739a75 cifs: fix incorrect validation for num_aces field of smb_acl
parse_dcal() validate num_aces to allocate ace array.

f (num_aces > ULONG_MAX / sizeof(struct smb_ace *))

It is an incorrect validation that we can create an array of size ULONG_MAX.
smb_acl has ->size field to calculate actual number of aces in response buffer
size. Use this to check invalid num_aces.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2025-03-02 22:50:54 -06:00
..
2025-01-31 12:51:44 -06:00
2025-01-31 12:51:44 -06:00
2025-01-31 12:51:44 -06:00
2025-01-31 12:51:44 -06:00
2024-10-16 00:30:52 -05:00
2024-11-03 01:28:07 -05:00
2025-01-31 12:51:44 -06:00