diff options
author | 2020-08-30 21:45:23 +0000 | |
---|---|---|
committer | 2020-09-11 11:11:25 -0700 | |
commit | aad1383cbf08c87f29f5dba1622e122717fbc32a (patch) | |
tree | 4301709a2b41087742d804eb86b030520cded895 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | f2fs: correct statistic of APP_DIRECT_IO/APP_DIRECT_READ_IO (diff) | |
download | wireguard-linux-aad1383cbf08c87f29f5dba1622e122717fbc32a.tar.xz wireguard-linux-aad1383cbf08c87f29f5dba1622e122717fbc32a.zip |
f2fs: check position in move range ioctl
When the move range ioctl is used, check the input and output position and
ensure that it is a non-negative value. Without this check
f2fs_get_dnode_of_data may hit a memmory bug.
Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions