aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2024-01-19 04:08:26 +0000
committerSteve French <[email protected]>2024-01-19 16:30:51 +0000
commit76025cc2285d9ede3d717fe4305d66f8be2d9346 (patch)
treed83bc931e81b3f69e56544fc7049344d73e9b901 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentcifs: update known bugs mentioned in kernel docs for cifs (diff)
downloadkernel-76025cc2285d9ede3d717fe4305d66f8be2d9346.tar.gz
kernel-76025cc2285d9ede3d717fe4305d66f8be2d9346.zip
smb: client: fix parsing of SMB3.1.1 POSIX create context
The data offset for the SMB3.1.1 POSIX create context will always be 8-byte aligned so having the check 'noff + nlen >= doff' in smb2_parse_contexts() is wrong as it will lead to -EINVAL because noff + nlen == doff. Fix the sanity check to correctly handle aligned create context data. Fixes: af1689a9b770 ("smb: client: fix potential OOBs in smb2_parse_contexts()") Signed-off-by: Paulo Alcantara <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions