Bug 824176 (CVE-2012-2383) - CVE-2012-2383 kernel: drm/i915: integer overflow in i915_gem_execbuffer2()
Summary: CVE-2012-2383 kernel: drm/i915: integer overflow in i915_gem_execbuffer2()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-2383
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 824553 824555 824556 824557
Blocks: 824180
TreeView+ depends on / blocked
 
Reported: 2012-05-22 21:44 UTC by Petr Matousek
Modified: 2019-09-29 12:53 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-24 12:40:03 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1156 normal SHIPPED_LIVE Moderate: kernel security and bug fix update 2012-08-14 22:08:11 UTC

Description Petr Matousek 2012-05-22 21:44:23 UTC
Description of the problem:
On 32-bit systems, a large args->buffer_count from userspace via ioctl may overflow the allocation size, leading to out-of-bounds access.

References:
http://www.openwall.com/lists/oss-security/2012/05/21/1

Upstream fix:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ed8cd3b2cd61004cab85380c52b1817aca1ca49b

Comment 1 Josh Boyer 2012-05-23 16:04:28 UTC
FYI.  This was fixed in 3.3.5 (stable commit 4a265435c87b19175c3906ff49ffe5bf4a4cc228).  All Fedora branches are on that or newer already.

Comment 2 Petr Matousek 2012-05-23 17:54:55 UTC
(In reply to comment #1)
> FYI.  This was fixed in 3.3.5 (stable commit
> 4a265435c87b19175c3906ff49ffe5bf4a4cc228).  All Fedora branches are on that
> or newer already.

Josh, what about Fedora 15? I see thaf f15 is on 2.6.43.

Comment 5 Josh Boyer 2012-05-23 18:03:54 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > FYI.  This was fixed in 3.3.5 (stable commit
> > 4a265435c87b19175c3906ff49ffe5bf4a4cc228).  All Fedora branches are on that
> > or newer already.
> 
> Josh, what about Fedora 15? I see thaf f15 is on 2.6.43.

2.6.4x is just 3.x renamed.  So kernel-2.6.43.5-2.fc15 is equivalent to 3.3.5, and that is the kernel currently in f15 stable updates.  We have 2.6.43.7 already committed to Fedora git as well.

Comment 6 Petr Matousek 2012-05-23 18:18:47 UTC
(In reply to comment #5)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > FYI.  This was fixed in 3.3.5 (stable commit
> > > 4a265435c87b19175c3906ff49ffe5bf4a4cc228).  All Fedora branches are on that
> > > or newer already.
> > 
> > Josh, what about Fedora 15? I see thaf f15 is on 2.6.43.
> 
> 2.6.4x is just 3.x renamed.  So kernel-2.6.43.5-2.fc15 is equivalent to
> 3.3.5, and that is the kernel currently in f15 stable updates.  We have
> 2.6.43.7 already committed to Fedora git as well.

Perfect, thanks for the info.

Comment 7 Petr Matousek 2012-07-20 14:10:27 UTC
Statement:

This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG 2.

Comment 8 errata-xmlrpc 2012-08-14 18:09:16 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1156 https://rhn.redhat.com/errata/RHSA-2012-1156.html


Note You need to log in before you can comment on or make changes to this bug.