aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-03-19 14:07:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-19 16:31:39 +0100
commit4c41aa24baa4ed338241d05494f2c595c885af8f (patch)
tree66e40138eae73dd94f4da1d9c2081992599c132e /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
parentb769949981fb2f3201d42ecf66b4116861a8e998 (diff)
staging: ncpfs: memory corruption in ncp_read_kernel()
If the server is malicious then *bytes_read could be larger than the size of the "target" buffer. It would lead to memory corruption when we do the memcpy(). Reported-by: Dr Silvio Cesare of InfoSect <Silvio Cesare <silvio.cesare@gmail.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions