aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorJoshua Rogers <[email protected]>2025-11-06 16:09:37 +0000
committerSteve French <[email protected]>2025-11-07 16:15:43 +0000
commit4012abe8a78fbb8869634130024266eaef7081fe (patch)
tree45dd4c2e376debf671f20d08041b2476b9338192 /lib/mpi/mpi-scan.c
parentsmb: client: fix refcount leak in smb2_set_path_attr (diff)
downloadkernel-4012abe8a78fbb8869634130024266eaef7081fe.tar.gz
kernel-4012abe8a78fbb8869634130024266eaef7081fe.zip
smb: client: validate change notify buffer before copy
SMB2_change_notify called smb2_validate_iov() but ignored the return code, then kmemdup()ed using server provided OutputBufferOffset/Length. Check the return of smb2_validate_iov() and bail out on error. Discovered with help from the ZeroPath security tooling. Signed-off-by: Joshua Rogers <[email protected]> Reviewed-by: Paulo Alcantara (Red Hat) <[email protected]> Cc: [email protected] Fixes: e3e9463414f61 ("smb3: improve SMB3 change notification support") Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions