diff options
| author | Namjae Jeon <[email protected]> | 2024-03-18 23:40:48 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2024-03-19 02:21:33 +0000 |
| commit | c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da (patch) | |
| tree | e8c1bb86025876a921b99e637478473d52bdd000 /drivers/cdx/controller/cdx_controller.c | |
| parent | ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() (diff) | |
| download | kernel-c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da.tar.gz kernel-c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da.zip | |
ksmbd: fix potencial out-of-bounds when buffer offset is invalid
I found potencial out-of-bounds when buffer offset fields of a few requests
is invalid. This patch set the minimum value of buffer offset field to
->Buffer offset to validate buffer length.
Cc: [email protected]
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
