-
- Downloads
drm/amd/pm: Prevent division by zero
The user can set any speed value. If speed is greater than UINT_MAX/8, division by zero is possible. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 031db090 ("drm/amd/powerplay/vega20: enable fan RPM and pwm settings V2") Signed-off-by:Denis Arefev <arefev@swemel.ru> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Loading
Please register or sign in to comment