[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190221144231.GC9283@kroah.com>
Date: Thu, 21 Feb 2019 15:42:31 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Mathieu Poirier <mathieu.poirier@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [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@...ux.intel.com>
Fixes: tag?
stable?
Powered by blists - more mailing lists