diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-02-20 13:47:58 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-02-25 16:29:26 -0500 |
| commit | be267e15f99bc97cbe202cd556717797cdcf79a5 (patch) | |
| tree | 712535c17ff78f7a05d552bad24a1cf158eb6235 /tools/perf/scripts | |
| parent | 2de9353e193fd62dfa65c45890dd2f9c53f12527 (diff) | |
drm/amdgpu: add upper bound check on user inputs in signal ioctl
Huge input values in amdgpu_userq_signal_ioctl can lead to a OOM and
could be exploited.
So check these input value against AMDGPU_USERQ_MAX_HANDLES
which is big enough value for genuine use cases and could
potentially avoid OOM.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
