diff options
| author | Joshua Rogers <linux@joshua.hu> | 2025-11-07 00:09:37 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-11-07 10:15:43 -0600 |
| commit | 4012abe8a78fbb8869634130024266eaef7081fe (patch) | |
| tree | 45dd4c2e376debf671f20d08041b2476b9338192 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | b540de9e3b4fab3b9e10f30714a6f5c1b2a50ec3 (diff) | |
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 <linux@joshua.hu>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: stable@vger.kernel.org
Fixes: e3e9463414f61 ("smb3: improve SMB3 change notification support")
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
