aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-12-08 16:02:17 +0000
committerAlex Williamson <[email protected]>2022-12-12 21:10:12 +0000
commit70be6f322860d322ebcd120cf0c05402ead5c6de (patch)
tree4573159ffe9b24bbdec01578a03766bd0a5b98b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentvfio/mlx5: fix error code in mlx5vf_precopy_ioctl() (diff)
downloadkernel-70be6f322860d322ebcd120cf0c05402ead5c6de.tar.gz
kernel-70be6f322860d322ebcd120cf0c05402ead5c6de.zip
vfio/mlx5: error pointer dereference in error handling
This code frees the wrong "buf" variable and results in an error pointer dereference. Fixes: 34e2f27143d1 ("vfio/mlx5: Introduce multiple loads") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Yishai Hadas <[email protected]> Link: https://lore.kernel.org/r/Y5IKia5SaiVxYmG5@kili Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions