summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-02-24 09:43:09 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-02-26 01:54:57 +0300
commit64ac7c09fc44985ec9bb6a9db740899fa40ca613 (patch)
treeb84cc74810d5c12cdc14511877c7e200abb05868 /include/uapi/linux/errqueue.h
parentea78f8c68f4f6211c557df49174c54d167821962 (diff)
downloadlinux-64ac7c09fc44985ec9bb6a9db740899fa40ca613.tar.xz
drm/amdgpu: add upper bound check on user inputs in wait ioctl
Huge input values in amdgpu_userq_wait_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. v2: squash in Srini's fix 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 fcec012c664247531aed3e662f4280ff804d1476) Cc: stable@vger.kernel.org
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions