Re: [patch] intel_scu_ipcutil: underflow in scu_reg_access()

From: Darren Hart
Date: Sat Jan 30 2016 - 12:42:58 EST


On Tue, Jan 26, 2016 at 12:24:25PM +0300, Dan Carpenter wrote:
> "count" is controlled by the user and it can be negative. Let's prevent
> that by making it unsigned. You have to have CAP_SYS_RAWIO to call this
> function so the bug is not as serious as it could be.
>
> Fixes: 5369c02d951a ('intel_scu_ipc: Utility driver for intel scu ipc')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Queued to fixes for 4.5-rc1 as well as stable.

Thanks Dan,


--
Darren Hart
Intel Open Source Technology Center