diff options
| author | 2026-02-20 13:47:58 +0530 | |
|---|---|---|
| committer | 2026-02-25 17:49:48 -0500 | |
| commit | ea78f8c68f4f6211c557df49174c54d167821962 (patch) | |
| tree | eb0e1b1f9971807ee387ceef7e4669a3faee9a0c /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu/userq: Do not allow userspace to trivially triger kernel warnings (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>
(cherry picked from commit be267e15f99bc97cbe202cd556717797cdcf79a5)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
