[lkml]   [2011]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v3] comedi: integer overflow in do_insnlist_ioctl()
    On Fri, Nov 25, 2011 at 04:46:51PM -0500, Xi Wang wrote:
    > There is a potential integer overflow in do_insnlist_ioctl() if
    > userspace passes in a large insnlist.n_insns. The call to kmalloc()
    > would allocate a small buffer, leading to a memory corruption.
    > The bug was reported by Dan Carpenter <>
    > and Haogang Chen <>. The patch was suggested by
    > Ian Abbott <> and Lars-Peter Clausen <>.
    > Signed-off-by: Xi Wang <>

    Hm, I already applied Dan's previous patch, what should I do with this
    one now? Revert Dan's and apply this one, or apply both of them, or
    something else?


    greg k-h

     \ /
      Last update: 2011-11-27 11:09    [W:0.230 / U:6.976 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site