[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120423204439.GM4935@phenom.ffwll.local>
Date: Mon, 23 Apr 2012 22:44:39 +0200
From: Daniel Vetter <daniel@...ll.ch>
To: Chris Wilson <chris@...is-wilson.co.uk>
Cc: Xi Wang <xi.wang@...il.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Keith Packard <keithp@...thp.com>, security@...nel.org,
intel-gfx@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v2 1/2] drm/i915: fix integer overflow in
i915_gem_execbuffer2()
On Mon, Apr 23, 2012 at 09:18:25AM +0100, Chris Wilson wrote:
> On Mon, 23 Apr 2012 04:06:41 -0400, Xi Wang <xi.wang@...il.com> wrote:
> > On 32-bit systems, a large args->buffer_count from userspace via ioctl
> > may overflow the allocation size, leading to out-of-bounds access.
> >
> > This vulnerability was introduced in commit 8408c282 ("drm/i915:
> > First try a normal large kmalloc for the temporary exec buffers").
> >
> > Signed-off-by: Xi Wang <xi.wang@...il.com>
> > Cc: Chris Wilson <chris@...is-wilson.co.uk>
> > Cc: stable@...r.kernel.org
> Reviewed-by: Chris Wilson <chris@...is-wilson.co.uk>
Both patches picked up for -fixes, thanks.
-Daniel
--
Daniel Vetter
Mail: daniel@...ll.ch
Mobile: +41 (0)79 365 57 48
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists