diff options
author | Jordy Zomer <jordyzomer@google.com> | 2024-11-28 09:33:25 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-12-01 17:31:19 -0600 |
commit | 313dab082289e460391c82d855430ec8a28ddf81 (patch) | |
tree | c55ea9c544c2ce7d79d45a7fa183e0c1d4d963c3 /lib/mpi/mpiutil.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: stable@vger.kernel.org # v5.15+
Reported-by: Jordy Zomer <jordyzomer@google.com>
Signed-off-by: Jordy Zomer <jordyzomer@google.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions