diff options
| author | Evan Quan <evan.quan@amd.com> | 2017-10-16 11:51:28 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-26 06:09:38 +0300 |
| commit | 4694257e7d4757fedaa8dcd18bb5ff52e76a2765 (patch) | |
| tree | 7495d845c5878ac1d2497156d5705787bad30df0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | 0722382dcc4fd4e53c12db2c2eda9c5c9c903432 (diff) | |
| download | linux-4694257e7d4757fedaa8dcd18bb5ff52e76a2765.tar.xz | |
drm/amdgpu/psp: prevent page fault by checking write_frame address(v4)
- Prevent a possible buffer overflow when updating the ring buffer by
bounds checking the command frame against the available space in the
ring buffer.
v2: update the ring_buffer_end address
v3: update the commit log
v4: squash in print fix (Michel)
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
