Bug 113604 - CAN-2004-0003 r128 DRI
CAN-2004-0003 r128 DRI
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Dennis
Brian Brock
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-15 13:17 EST by Mark J. Cox (Product Security)
Modified: 2007-11-30 17:07 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-05-11 21:08:19 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)
posted by Alan Cox on 1/14/2004 (1.56 KB, patch)
2004-02-12 16:47 EST, John Dennis
no flags Details | Diff
modified patch (1.95 KB, patch)
2004-02-24 16:31 EST, John Dennis
no flags Details | Diff
fix missing check in 4th routine (2.21 KB, text/plain)
2004-02-27 12:38 EST, John Dennis
no flags Details

  None (edit)
Description Mark J. Cox (Product Security) 2004-01-15 13:17:35 EST
Alan Cox found issues in the R128 Direct render infrastructure which
could allow local privilege escalation.

Alan posted a fix to the dri-devel sourceforge list on Jan14th

Affects: 3
Comment 3 John Dennis 2004-02-12 16:47:39 EST
Created attachment 97633 [details]
posted by Alan Cox on 1/14/2004
Comment 10 John Dennis 2004-02-24 16:31:15 EST
Created attachment 98015 [details]
modified patch

The original patch did not check for a negative count. Arbitrary hardcoded
limits which are not part of the API (e.g. in a header file) are dubious
practice. Patch is modified to test for negative values and mulitiplication
overflow, no other limits appear necessary.
Comment 12 John Dennis 2004-02-27 12:38:41 EST
Created attachment 98112 [details]
fix missing check in 4th routine

Eagle-eyed Ernie Petrides on the rh-kernel noted only 3 of 4 equivalent
routines had the parameter validation check applied. This new patch revision
adds the omitted check on the 4th routine.
Comment 13 Ernie Petrides 2004-03-05 15:34:45 EST
Just to confirm, this was committed to the RHEL3 U2 patch pool
in kernel version 2.4.21-9.15.EL.
Comment 14 John Flanagan 2004-05-11 21:08:19 EDT
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2004-188.html

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