diff options
author | Jordy Zomer <[email protected]> | 2024-11-28 09:33:25 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2024-12-01 17:31:19 -0600 |
commit | 313dab082289e460391c82d855430ec8a28ddf81 (patch) | |
tree | c55ea9c544c2ce7d79d45a7fa183e0c1d4d963c3 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9 (diff) |
ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
An offset from client could be a negative value, It could allows
to write data outside the bounds of the allocated buffer.
Note that this issue is coming when setting
'vfs objects = streams_xattr parameter' in ksmbd.conf.
Cc: [email protected] # v5.15+
Reported-by: Jordy Zomer <[email protected]>
Signed-off-by: Jordy Zomer <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions