<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/GL, branch pr/render-cve-fixes</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Frender-cve-fixes</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Frender-cve-fixes'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2015-04-22T04:22:37+00:00</updated>
<entry>
<title>library clean-up: Don't build and link libXfont.a anymore. Use system's libXfont shared library and link dynamically.</title>
<updated>2015-04-22T04:22:37+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-04-14T07:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=70b77a0fc329e2e205a596a738c7307d354e7b1c'/>
<id>urn:sha1:70b77a0fc329e2e205a596a738c7307d354e7b1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>glx: Pass remaining request length into -&gt;varsize (v2) [CVE-2014-8098 8/8] (V3)</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1ea1cd8c4f93b0c03e5b34fe174b3fc9f27c7dfa'/>
<id>urn:sha1:1ea1cd8c4f93b0c03e5b34fe174b3fc9f27c7dfa</id>
<content type='text'>
v2: Handle more multiplies in indirect_reqsize.c (Julien Cristau)

v3: RHEL5 backport

v4: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>glx: Length checking for RenderLarge requests (v2) [CVE-2014-8098 3/8] (v3)</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=9c558f9ca2c0d4e34fa71dff272ed1c39c22cd9d'/>
<id>urn:sha1:9c558f9ca2c0d4e34fa71dff272ed1c39c22cd9d</id>
<content type='text'>
This is a half-measure until we start passing request length into the
varsize function, but it's better than the nothing we had before.

v2: Verify that there's at least a large render header's worth of
dataBytes (Julien Cristau)

v3: backport to RHEL5

v4: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

fixup swap
</content>
</entry>
<entry>
<title>glx: Length checking for non-generated single requests (v2) [CVE-2014-8098 7/8]</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=8931066077a04999d973932e04da577bd6906c82'/>
<id>urn:sha1:8931066077a04999d973932e04da577bd6906c82</id>
<content type='text'>
v2:
Fix single versus vendor-private length checking for ARB_imaging subset
extensions. (Julien Cristau)

v3:
Fix single versus vendor-private length checking for ARB_imaging subset
extensions. (Julien Cristau)

v4: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

fix safe_Add
</content>
</entry>
<entry>
<title>glx: Top-level length checking for swapped VendorPrivate requests [CVE-2014-8098 4/8]</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ad29acd7697e18333e164b1746f61c5a9e29a436'/>
<id>urn:sha1:ad29acd7697e18333e164b1746f61c5a9e29a436</id>
<content type='text'>
v2: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>glx: Integer overflow protection for non-generated render requests (v3) [CVE-2014-8093 5/6]</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ddb1235bc621d06bf28309be70c173ae06131edf'/>
<id>urn:sha1:ddb1235bc621d06bf28309be70c173ae06131edf</id>
<content type='text'>
v2:
Fix constants in __glXMap2fReqSize (Michal Srb)
Validate w/h/d for proxy targets too (Keith Packard)

v3:
Fix Map[12]Size to correctly reject order == 0 (Julien Cristau)

v4: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>glx: Length checking for GLXRender requests (v2) [CVE-2014-8098 2/8] (v3)</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Julien Cristau</name>
<email>jcristau@debian.org</email>
</author>
<published>2014-11-10T17:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=78b38a8a37e6105360c82a710ef62c92643ea4c1'/>
<id>urn:sha1:78b38a8a37e6105360c82a710ef62c92643ea4c1</id>
<content type='text'>
v2:
Remove can't-happen comparison for cmdlen &lt; 0 (Michal Srb)

v3: backport to RHEL5 hit old paths

v4: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>glx: Add safe_{add,mul,pad} (v3) [CVE-2014-8093 4/6] (v4)</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1a9f23118787be611b6db51e4eac864c43c702d9'/>
<id>urn:sha1:1a9f23118787be611b6db51e4eac864c43c702d9</id>
<content type='text'>
These are paranoid about integer overflow, and will return -1 if their
operation would overflow a (signed) integer or if either argument is
negative.

Note that RenderLarge requests are sized with a uint32_t so in principle
this could be sketchy there, but dix limits bigreqs to 128M so you
shouldn't ever notice, and honestly if you're sending more than 2G of
rendering commands you're already doing something very wrong.

v2: Use INT_MAX for consistency with the rest of the server (jcristau)
v3: Reject negative arguments (anholt)

v4: RHEL5: add limits.h, use inline

v5: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>glx: Additional paranoia in __glXGetAnswerBuffer / __GLX_GET_ANSWER_BUFFER (v2) [CVE-2014-8093 3/6]</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=d0fcbc8a6ca82df82c410d0f8f9062b05fa5ec8d'/>
<id>urn:sha1:d0fcbc8a6ca82df82c410d0f8f9062b05fa5ec8d</id>
<content type='text'>
If the computed reply size is negative, something went wrong, treat it
as an error.

v2: Be more careful about size_t being unsigned (Matthieu Herrb)
v3: SIZE_MAX not SIZE_T_MAX (Alan Coopersmith)
v4: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>glx: Be more strict about rejecting invalid image sizes [CVE-2014-8093 2/6]</title>
<updated>2015-02-14T15:14:32+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2014-11-10T17:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=cdf0c3e65670c797a4fd0617d44d2bdff4011815'/>
<id>urn:sha1:cdf0c3e65670c797a4fd0617d44d2bdff4011815</id>
<content type='text'>
Before this we'd just clamp the image size to 0, which was just
hideously stupid; if the parameters were such that they'd overflow an
integer, you'd allocate a small buffer, then pass huge values into (say)
ReadPixels, and now you're scribbling over arbitrary server memory.

v2: backport to nx-libs 3.6.x (Mike DePaulo)

Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
Reviewed-by: Michal Srb &lt;msrb@suse.com&gt;
Reviewed-by: Andy Ritger &lt;aritger@nvidia.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Fedora X Ninjas &lt;x@fedoraproject.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
