aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2025-02-12 00:32:11 +0000
committerSteve French <[email protected]>2025-03-03 04:50:54 +0000
commit1b8b67f3c5e5169535e26efedd3e422172e2db64 (patch)
treea0d75d0e83ec1edd0c9dc7d857c8fa93260889c4 /tools/perf/scripts/python/gecko.py
parentsmb: common: change the data type of num_aces to le16 (diff)
downloadkernel-1b8b67f3c5e5169535e26efedd3e422172e2db64.tar.gz
kernel-1b8b67f3c5e5169535e26efedd3e422172e2db64.zip
ksmbd: fix incorrect validation for num_aces field of smb_acl
parse_dcal() validate num_aces to allocate posix_ace_state_array. if (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 request buffer size. Use this to check invalid num_aces. Reported-by: Igor Leite Ladessa <[email protected]> Tested-by: Igor Leite Ladessa <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions