Bug 679925 - (CVE-2011-1013) CVE-2011-1013 kernel: drm_modeset_ctl signedness issue
CVE-2011-1013 kernel: drm_modeset_ctl signedness issue
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
public=20110222,reported=20110223,sou...
: Security
Depends On: 679927 679928 679929
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-23 16:21 EST by Petr Matousek
Modified: 2015-08-19 05:07 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-26 11:57:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
OpenBSD proposed patch (1.40 KB, patch)
2011-02-23 16:24 EST, Petr Matousek
no flags Details | Diff
Linux proposed patch (1.49 KB, patch)
2011-02-23 17:47 EST, Petr Matousek
no flags Details | Diff

  None (edit)
Description Petr Matousek 2011-02-23 16:21:40 EST
Description:
It has been found that drm_modeset_ctl() did not properly validate input parameters. The issue is that the crtc variable there is signed. So a large enough value passed in the modeset parameter structure will be treated as negative, escaping the check for proper range later. This variable is later used as an index variable effectively allowing out of bounds writes of zero integers.
Comment 3 Petr Matousek 2011-02-23 16:24:51 EST
Created attachment 480579 [details]
OpenBSD proposed patch
Comment 4 Petr Matousek 2011-02-23 16:29:09 EST
Statement:

This issue did not affect the versions of the Linux kernel as shipped with Red
Hat Enterprise Linux 4, 5 as they did not include the affected functionality. A future update in Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG may address this flaw.
Comment 6 Petr Matousek 2011-02-23 17:47:09 EST
Created attachment 480596 [details]
Linux proposed patch
Comment 9 Petr Matousek 2011-04-11 04:55:06 EDT
Upstream commit:
http://git.kernel.org/linus/1922756124ddd53846877416d92ba4a802bc658f
Comment 11 errata-xmlrpc 2011-05-10 13:20:30 EDT
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2011:0500 https://rhn.redhat.com/errata/RHSA-2011-0500.html
Comment 12 errata-xmlrpc 2011-05-10 14:11:36 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0498 https://rhn.redhat.com/errata/RHSA-2011-0498.html

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