summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-02-20 13:47:58 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-02-25 17:49:48 -0500
commitea78f8c68f4f6211c557df49174c54d167821962 (patch)
treeeb0e1b1f9971807ee387ceef7e4669a3faee9a0c /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent7b7d7693a55d606d700beb9549c9f7f0e5d9c24f (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions