Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322453

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

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject Re: [patch] intel_scu_ipcutil: underflow in scu_reg_access()
Date 2016-01-30 18:50 +0100
Message-ID <qWHOO-7mY-7@gated-at.bofh.it> (permalink)
References <qV86J-23v-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@oracle.com>

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

Thanks Dan,


-- 
Darren Hart
Intel Open Source Technology Center

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [patch] intel_scu_ipcutil: underflow in scu_reg_access() Darren Hart <dvhart@infradead.org> - 2016-01-30 18:50 +0100

csiph-web