First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 130979
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
xrender-mitri.diff xrender-mitri.diff patch Sune Kloppenborg Jeppesen 2006-04-23 09:23 0000 793 bytes Details | Diff
CVE-2006-1526-xrender-mitri.patch modular patch patch Donnie Berkholz 2006-04-23 23:28 0000 819 bytes Details | Diff
CVE-2006-1526-xrender-mitri.patch monolith patch patch Donnie Berkholz 2006-04-23 23:29 0000 833 bytes Details | Diff
xorg-x11-6.8.2-r7.ebuild xorg-x11-6.8.2-r7.ebuild text/plain Donnie Berkholz 2006-04-23 23:29 0000 53.94 KB Details
xorg-x11-6.9.0-r1.ebuild xorg-x11-6.9.0-r1.ebuild text/plain Donnie Berkholz 2006-04-23 23:29 0000 52.21 KB Details
xorg-server-1.0.2-r4.ebuild xorg-server-1.0.2-r4.ebuild text/plain Donnie Berkholz 2006-04-23 23:30 0000 5.59 KB Details
xorg-server-1.0.99.901-r2.ebuild xorg-server-1.0.99.901-r2.ebuild text/plain Donnie Berkholz 2006-04-23 23:30 0000 7.83 KB Details
xcb-build.diff xcb-build.diff patch Donnie Berkholz 2006-04-24 09:06 0000 1.68 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130979 depends on: Show dependency tree
Bug 130979 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-23 09:19 0000
Bart Massey, a X.Org user reported that "When running rendertest from
XCB xcb/xcb-demo, the Xorg X server crashes partway through.  100%
reproducible on a wide variety of graphics architectures".

Analyzing the bug Eric Anholt found out that a typo in render/mitri.c
causes the X render extension to mis-calculate the size of a
buffer, leading to an overflow, which can problably be exploited by 
clients of the X server on most systems.

This is Freedesktop.org bugzilla #6642. It has been marked confidential, 
  after the security implications of the problem were identified.

X.Org releases 6.8.0 and later are affected by this bug. Previous 
versions (and XFree86 versions) are not affected.

------- Comment #1 From Sune Kloppenborg Jeppesen 2006-04-23 09:23:42 0000 -------
Created an attachment (id=85279) [details]
xrender-mitri.diff

Upstream patch.

------- Comment #2 From Sune Kloppenborg Jeppesen 2006-04-23 09:26:07 0000 -------
Donnie please advise on severity and attach an updated ebuild to this bug. We
will call Arch Security Liaisons to test. Do NOT commit anything yet.

------- Comment #3 From Donnie Berkholz 2006-04-23 12:47:11 0000 -------
For severity, you can just read the description. Buffer overflow, probably
exploitable by X clients (any X-using program).

I'll be pushing out a new 6.8.2-r7, 6.9-r1 and xorg-server 1.0.2 and
1.0.99.901-r2. Ah, the joys of so many parallel ebuilds.

Testers will probably want to test either 6.8.2 or 1.0.2, current stable and
~arch. Ebuilds coming today or tomorrow.

------- Comment #4 From Sune Kloppenborg Jeppesen 2006-04-23 13:07:35 0000 -------
Thx Donnie, just remember don't commit the updates to Portage just yet:-)

------- Comment #5 From Donnie Berkholz 2006-04-23 13:37:28 0000 -------
You didn't need to tell me the first time, let alone a second. I don't really
appreciate being treated like I'm clueless.

------- Comment #6 From Sune Kloppenborg Jeppesen 2006-04-23 21:52:32 0000 -------
To be on the safe side I'd rather say it too often. This was obviously too
often. I was just not sure after reading your comment #3, OTOH you've handled
stuff like this before and I should have remembered. Sorry about that.

------- Comment #7 From Donnie Berkholz 2006-04-23 23:28:40 0000 -------
Created an attachment (id=85322) [details]
modular patch

------- Comment #8 From Donnie Berkholz 2006-04-23 23:29:02 0000 -------
Created an attachment (id=85323) [details]
monolith patch

------- Comment #9 From Donnie Berkholz 2006-04-23 23:29:25 0000 -------
Created an attachment (id=85325) [details]
xorg-x11-6.8.2-r7.ebuild

------- Comment #10 From Donnie Berkholz 2006-04-23 23:29:43 0000 -------
Created an attachment (id=85326) [details]
xorg-x11-6.9.0-r1.ebuild

------- Comment #11 From Donnie Berkholz 2006-04-23 23:30:04 0000 -------
Created an attachment (id=85327) [details]
xorg-server-1.0.2-r4.ebuild

------- Comment #12 From Donnie Berkholz 2006-04-23 23:30:21 0000 -------
Created an attachment (id=85328) [details]
xorg-server-1.0.99.901-r2.ebuild

------- Comment #13 From Sune Kloppenborg Jeppesen 2006-04-23 23:46:05 0000 -------
Thx Donnie.

Arch Security Liaisons please test and report back on this bug.

------- Comment #14 From Donnie Berkholz 2006-04-23 23:55:25 0000 -------
I've confirmed the fix no longer crashes the server. Although the rendertest
client crashes now, that's a separate issue.

------- Comment #15 From Thomas Cort (RETIRED) 2006-04-24 03:19:49 0000 -------
(In reply to comment #14)
> I've confirmed the fix no longer crashes the server. Although the rendertest
> client crashes now, that's a separate issue.

I'm running xorg-x11-6.8.2-r6 on amd64 and I'd like to be able to confirm this.
I tried checking out xcb-demo from cvs because it appears that xcb-demo isn't
in portage. The cvs version fails on ./configure, it says:

    checking for XCB... configure: error: Package requirements (xcb) 
        were not met: No package 'xcb' found

and I have x11-misc/xcb-2.4 installed. Any hints?

http://webcvs.freedesktop.org/xcb/xcb-demo/
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xcb co xcb-demo

------- Comment #16 From Markus Rothe 2006-04-24 04:10:59 0000 -------
I have compile tested xorg-x11-6.8.2-r7 and xorg-server-1.0.2-r4 on PPC64 now.

they compile just fine, but unfortunately I don't have access to the bug on
fd.o bugzilla, so I don't know how to trigger this bug. Is there a testcase?

------- Comment #17 From Donnie Berkholz 2006-04-24 09:05:41 0000 -------
(In reply to comment #15)
> (In reply to comment #14)
> > I've confirmed the fix no longer crashes the server. Although the rendertest
> > client crashes now, that's a separate issue.
> 
> I'm running xorg-x11-6.8.2-r6 on amd64 and I'd like to be able to confirm this.
> I tried checking out xcb-demo from cvs because it appears that xcb-demo isn't
> in portage. The cvs version fails on ./configure, it says:
> 
>     checking for XCB... configure: error: Package requirements (xcb) 
>         were not met: No package 'xcb' found
> 
> and I have x11-misc/xcb-2.4 installed. Any hints?

X Cut Buffers != X C Bindings

XCB is no longer maintained in CVS, it's in git. You'll need to install stuff
in roughly this order: xcb-proto, xcb, xcb-util, xcb-demo.

------- Comment #18 From Donnie Berkholz 2006-04-24 09:06:27 0000 -------
Created an attachment (id=85366) [details]
xcb-build.diff

This hacky patch fixes the build of xcb-util and xcb-demos.

------- Comment #19 From Donnie Berkholz 2006-04-24 09:07:44 0000 -------
(In reply to comment #16)
> I have compile tested xorg-x11-6.8.2-r7 and xorg-server-1.0.2-r4 on PPC64 now.
> 
> they compile just fine, but unfortunately I don't have access to the bug on
> fd.o bugzilla, so I don't know how to trigger this bug. Is there a testcase?

As mentioned in comment #0, rendertest from xcb/xcb-demo is the testcase.
http://xcb.freedesktop.org/wiki/ has all the info.

------- Comment #20 From Gustavo Zacarias (RETIRED) 2006-04-24 15:44:13 0000 -------
Adding Ferris since he's our xorg man in the sparc team.

------- Comment #21 From Ferris McCormick 2006-04-24 16:14:16 0000 -------
Um, for me, repoman hates -r6.

------- Comment #22 From Donnie Berkholz 2006-04-24 16:35:09 0000 -------
There's no -r6 anywhere on this bug, so it's a little unclear what you're
talking about.

------- Comment #23 From Mark Loeser 2006-04-24 20:37:38 0000 -------
Seems fine to me. (x86)

------- Comment #24 From Thomas Cort (RETIRED) 2006-04-25 06:15:42 0000 -------
Seems fine to me. (amd64) 

------- Comment #25 From René Nussbaumer 2006-04-25 13:10:15 0000 -------
Looks good on hppa

------- Comment #26 From Gustavo Zacarias (RETIRED) 2006-04-25 15:06:32 0000 -------
Looks good on sparc 2.6/ati-pci.

------- Comment #27 From Ferris McCormick 2006-04-27 06:52:34 0000 -------
sparc with 2.6 kernel/sunffb video driver builds and seems fine when using
xorg-server-1.0.99.901-r2 + the modular patch.

------- Comment #28 From Thierry Carrez (RETIRED) 2006-04-28 11:00:03 0000 -------
Still missing test reports from alpha, ppc and ppc64 teams

------- Comment #29 From Bryan Østergaard (RETIRED) 2006-04-28 13:14:08 0000 -------
cc'ign ferdy on behalf of alpha.

------- Comment #30 From Fernando J. Pereda (RETIRED) 2006-04-30 13:54:12 0000 -------
Looks ok on Alpha.

------- Comment #31 From Tobias Scherbaum 2006-04-30 16:21:02 0000 -------
6.8.2-r7 looks good on ppc

------- Comment #32 From Sune Kloppenborg Jeppesen 2006-05-01 07:13:17 0000 -------
ppc64 please test and report back, disclosure date is tomorrow. 

------- Comment #33 From Markus Rothe 2006-05-01 14:14:39 0000 -------
sorry for being late. looks good on ppc64.

------- Comment #34 From Sune Kloppenborg Jeppesen 2006-05-01 21:11:52 0000 -------
Thx Markus.

Security please review draft GLSA so we can release on time.

------- Comment #35 From Sune Kloppenborg Jeppesen 2006-05-02 09:50:20 0000 -------
Opening since it is public now.

Donnie/someone with commit rights please commit the ebuilds, GLSA is ready.

------- Comment #36 From Joshua Baergen (RETIRED) 2006-05-02 10:36:12 0000 -------
Ebuilds committed.

------- Comment #37 From Sune Kloppenborg Jeppesen 2006-05-02 10:42:05 0000 -------
Thx Joshua.

This one is ready for GLSA. Let's give the mirrors a chance to sync before
sending the GLSA.

------- Comment #38 From Sune Kloppenborg Jeppesen 2006-05-02 11:25:31 0000 -------
Thx everyone.

GLSA 200605-02

First Last Prev Next    No search results available      Search page      Enter new bug