diff options
author | Jordy Zomer <jordyzomer@google.com> | 2024-11-28 09:33:25 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 19:54:32 +0100 |
commit | 8cd7490fc0f268883e86e840cda5311257af69ca (patch) | |
tree | 2d5e62dabf4047df0c1dc03f56e973042decaa28 /drivers/watchdog | |
parent | de4d790dcf53be41736239d7ee63849a16ff5d10 (diff) | |
download | linux-8cd7490fc0f268883e86e840cda5311257af69ca.tar.gz linux-8cd7490fc0f268883e86e840cda5311257af69ca.tar.bz2 linux-8cd7490fc0f268883e86e840cda5311257af69ca.zip |
ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
commit 313dab082289e460391c82d855430ec8a28ddf81 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions