aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2024-03-18 23:40:48 +0000
committerSteve French <[email protected]>2024-03-19 02:21:33 +0000
commitc6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da (patch)
treee8c1bb86025876a921b99e637478473d52bdd000 /drivers/cdx/controller/cdx_controller.c
parentksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() (diff)
downloadkernel-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