Re: [GIT PULL 7/7] stm class: Prevent division by zero

From: Alexander Shishkin
Date: Thu Feb 21 2019 - 09:52:53 EST


Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:

> 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@xxxxxxxxxxxxxxx>
>
> Fixes: tag?
>
> stable?

Right, let me respin the whole set.

Thanks,
--
Alex