diff options
author | Jordy Zomer <jordyzomer@google.com> | 2024-11-28 09:32:45 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-12-01 17:31:19 -0600 |
commit | fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9 (patch) | |
tree | b649587a1bd1e6251aea937de996bf551cce0853 /lib/mpi/mpiutil.c | |
parent | e18655cf35a5958fbf4ae9ca3ebf28871a3a1801 (diff) |
ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
An offset from client could be a negative value, It could lead
to an out-of-bounds read from the stream_buf.
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