Description
In the Linux kernel, the following vulnerability has been resolved: 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 (cherry picked from commit fcec012c664247531aed3e662f4280ff804d1476)
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before b1d10508da559da2e0ca9cca6505094a7df948e1
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 3cd93bc695b3456f26f5ed52753d9071da26202a
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 64ac7c09fc44985ec9bb6a9db740899fa40ca613
6.18.19 (semver)
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/b1d10508da559da2e0ca9cca6505094a7df948e1
git.kernel.org/...c/3cd93bc695b3456f26f5ed52753d9071da26202a
git.kernel.org/...c/64ac7c09fc44985ec9bb6a9db740899fa40ca613