diff options
| author | Ritesh Harjani (IBM) <[email protected]> | 2025-06-10 02:12:26 +0000 |
|---|---|---|
| committer | Madhavan Srinivasan <[email protected]> | 2025-06-10 02:14:27 +0000 |
| commit | cd097df4596f3a1e9d75eb8520162de1eb8485b2 (patch) | |
| tree | 36fd73c0fb54e4e2982aa15eecb5a39b6d9a1c55 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-cd097df4596f3a1e9d75eb8520162de1eb8485b2.tar.gz kernel-cd097df4596f3a1e9d75eb8520162de1eb8485b2.zip | |
powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap
memtrace mmap issue has an out of bounds issue. This patch fixes the by
checking that the requested mapping region size should stay within the
allocated region size.
Reported-by: Jonathan Greental <[email protected]>
Fixes: 08a022ad3dfa ("powerpc/powernv/memtrace: Allow mmaping trace buffers")
Signed-off-by: Ritesh Harjani (IBM) <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
