diff options
author | Namjae Jeon <[email protected]> | 2023-11-05 12:46:24 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2023-11-07 18:54:25 -0600 |
commit | eebff19acaa35820cb09ce2ccb3d21bee2156ffb (patch) | |
tree | 2392ed5c8e614275ca15ad06246ca7ef26a14ae8 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 766e9cf3bd64c45fcace3acc6f8b3df815448ea3 (diff) |
ksmbd: fix slab out of bounds write in smb_inherit_dacl()
slab out-of-bounds write is caused by that offsets is bigger than pntsd
allocation size. This patch add the check to validate 3 offsets using
allocation size.
Reported-by: [email protected] # ZDI-CAN-22271
Cc: [email protected]
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions