lkml.org 
[lkml]   [2019]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL 7/7] stm class: Prevent division by zero
On Thu, Feb 21, 2019 at 03:49:59PM +0200, Alexander Shishkin wrote:
> Using STP_POLICY_ID_SET ioctl command with dummy_stm device, or any STM
> device that supplies zero mmio channel size, will trigger a division by
> zero bug in the kernel.
>
> Prevent this by disallowing channel widths other than 1 for such devices.
>
> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>

Fixes: tag?

stable?

\
 
 \ /
  Last update: 2019-02-21 15:45    [W:0.346 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site