Bug 113604 - CAN-2004-0003 r128 DRI
Summary: CAN-2004-0003 r128 DRI
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel   
(Show other bugs)
Version: 3.0
Hardware: All Linux
Target Milestone: ---
Assignee: John Dennis
QA Contact: Brian Brock
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2004-01-15 18:17 UTC by Mark J. Cox
Modified: 2007-11-30 22:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-12 01:08:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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 21:47 UTC, John Dennis
no flags Details | Diff
modified patch (1.95 KB, patch)
2004-02-24 21:31 UTC, John Dennis
no flags Details | Diff
fix missing check in 4th routine (2.21 KB, text/plain)
2004-02-27 17:38 UTC, John Dennis
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2004:188 normal SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 3 Update 2 2004-05-11 04:00:00 UTC

Description Mark J. Cox 2004-01-15 18:17:35 UTC
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 21:47:39 UTC
Created attachment 97633 [details]
posted by Alan Cox on 1/14/2004

Comment 10 John Dennis 2004-02-24 21:31:15 UTC
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 17:38:41 UTC
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 20:34:45 UTC
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-12 01:08:19 UTC
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.


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