diff options
| author | Miklos Szeredi <[email protected]> | 2025-08-12 12:07:54 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2025-08-26 10:43:31 +0000 |
| commit | e5203209b3935041dac541bc5b37efb44220cc0b (patch) | |
| tree | 2bf07823ccc8ef0b9138501250fd9faa9f7da1a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | fuse: do not allow mapping a non-regular backing file (diff) | |
| download | kernel-e5203209b3935041dac541bc5b37efb44220cc0b.tar.gz kernel-e5203209b3935041dac541bc5b37efb44220cc0b.zip | |
fuse: check if copy_file_range() returns larger than requested size
Just like write(), copy_file_range() should check if the return value is
less or equal to the requested number of bytes.
Reported-by: Chunsheng Luo <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 88bc7d5097a1 ("fuse: add support for copy_file_range()")
Cc: <[email protected]> # v4.20
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
