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


Groups > linux.kernel > #1322453 > unrolled thread

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

Started byDarren Hart <dvhart@infradead.org>
First post2016-01-30 18:50 +0100
Last post2016-01-30 18:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1322453 — Re: [patch] intel_scu_ipcutil: underflow in scu_reg_access()

FromDarren Hart <dvhart@infradead.org>
Date2016-01-30 18:50 +0100
SubjectRe: [patch] intel_scu_ipcutil: underflow in scu_reg_access()
Message-ID<qWHOO-7mY-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web