desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #98557
[Bug 1402551] Re: High memory usage of Xorg and kwin after Xorg security updates [nvidia]
- I have tested a fresh installation (via usb-stick) of Kubuntu 12.04.x
with nvidia driver 331.113-0ubuntu0.0.0.3 and 304.125-0ubuntu0.0.0.1 ,
but I cannot reproduce the problem there (a few hours of testing).
But with a fresh user on the affected installation, the memory leak
occurs.
- On my Office PC (12.04.x) with nvs300 the problem is gone, but I don't know why. (nvidia driver 304.125-0ubuntu0.0.0.1)
There was a kernel update linux-image-3.2.0-75-generic, but I don't know if this is connected. I installed and reinstalled several times different kernels.
changelog
linux (3.2.0-75.110) precise; urgency=low
[ Kamal Mostafa ]
* Release Tracking Bug
- LP: #1403154
[ Upstream Kernel Changes ]
* kvm: fix excessive pages un-pinning in kvm_iommu_map error path.
- LP: #1386395
- CVE-2014-8369
* KVM: x86: Don't report guest userspace emulation error to userspace
- LP: #1392823
- CVE-2014-7842
* drivers:scsi:storvsc: Fix a bug in handling ring buffer failures that
may result in I/O freeze
- LP: #1400289
* net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
msghdr struct from userland.
- LP: #1335478
-- Kamal Mostafa <kamal@xxxxxxxxxxxxx> Tue, 16 Dec 2014 10:00:12 -0800
- On my Home PC (GT 430) the problem is still there;
That's why I have upgraded to the latest Ubuntu LTS version 14.04.x
There I installed the Utopic(14.10) kernel (3.16) with the Utopic xstack (Xserver 1.16.x) with latest nvidia 346.35 driver (with the default settings), but still the problem, but now with a crash after growing of kwin and xorg.
Memory consumption after ~ 16 hours of normal working, then after 30 min after the xrestop measurement => crash and restart of the xserver (log attached)
(Full HD resolution with KDE-effects enabled (on the office pc I have exactly the same effects with the same settings)).
kwin:
Memory: 218,3 MiB
Shared: 98,5 MiB
Xorg
Memory: 217,2 MiB
Shared: 78,7 MiB
plasma-desktop
Memory: 125,4 MiB
Shared: 91,6 MiB
xrestop - Display: localhost
Monitoring 44 clients. XErrors: 0
Pixmaps: 209917K total, Other: 152K total, All: 210070K total
res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
2000000 84 14 0 1593 1903 142735K 46K 142782K 2732 kwin
[ 6422.217] (EE) Backtrace:
[ 6422.221] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f7dcd5bde88]
[ 6422.221] (EE) 1: /usr/bin/X (0x7f7dcd419000+0x1a8ea9) [0x7f7dcd5c1ea9]
[ 6422.221] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f7dcb599000+0x36d40) [0x7f7dcb5cfd40]
[ 6422.221] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x5a1d96) [0x7f7dc582ad96]
[ 6422.221] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x57fb79) [0x7f7dc5808b79]
[ 6422.221] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x134922) [0x7f7dc53bd922]
[ 6422.221] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x1388f7) [0x7f7dc53c18f7]
[ 6422.221] (EE) 7: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x136e29) [0x7f7dc53bfe29]
[ 6422.221] (EE) 8: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x12f4b2) [0x7f7dc53b84b2]
[ 6422.221] (EE) 9: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x1376e9) [0x7f7dc53c06e9]
[ 6422.221] (EE) 10: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x13a3bb) [0x7f7dc53c33bb]
[ 6422.221] (EE) 11: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x112722) [0x7f7dc539b722]
[ 6422.221] (EE) 12: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f7dc5289000+0x5705a3) [0x7f7dc57f95a3]
[ 6422.221] (EE) 13: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so (0x7f7dc8c26000+0x6ed9fb) [0x7f7dc93139fb]
[ 6422.221] (EE)
[ 6422.221] (EE) Segmentation fault at address 0x0
[ 6422.221] (EE)
Fatal server error:
[ 6422.221] (EE) Caught signal 11 (Segmentation fault). Server aborting
** Tags added: trusty
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2014-7842
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2014-8369
** Also affects: xorg-server-lts-utopic (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331-updates in
Ubuntu.
https://bugs.launchpad.net/bugs/1402551
Title:
High memory usage of Xorg and kwin after Xorg security updates
[nvidia]
Status in nvidia-graphics-drivers-304-updates package in Ubuntu:
Confirmed
Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
Confirmed
Status in xorg-server package in Ubuntu:
Confirmed
Status in xorg-server-lts-trusty package in Ubuntu:
Confirmed
Status in xorg-server-lts-utopic package in Ubuntu:
New
Bug description:
Hello,
since the Xorg/nvidia security updates last week, I encounter a problem with growing Xorg and kwin memory usage.
In one hour the memory consumption is at Xorg ~ 270 MiB and at kwin: 300 MB , so the system responds slowly and scrolling is very slow in in dolphin, kwrite, firefox, etc.
After several hours the system is so slow, that only a restart helps, and then the growing of memory starts again.
*** My Tests;
I tried several nvidia drivers, but without success (from:
https://launchpad.net/~xorg-
edgers/+archive/ubuntu/ppa/+index?field.series_filter=precise)
304.125-0ubuntu0.0.1~xedgers12.04.1
331.113-0ubuntu0.0.1~xedgers12.04.1
346.22-0ubuntu1~xedgers12.04.1
(With purging each nvidia driver and fresh installing it)
*** My configuration;
Two Kubuntu 12.04.5 PCs with a nvidia card;
nvidia driver 331.113-0ubuntu0.0.0.3 and 304.125-0ubuntu0.0.0.1
One pc with the Trusty Xstack (HWE) with Trusty kernel (3.13.0-43.72~precise1) and the other one with the stock kernel (3.2.0-74-generic #109) and stock xstack.
I use one pc in my office, so it disturbs my work because of the
slowness and restarts.
Thank you for your help!
Best regards, Bernhard
*** Problematic packages and other Xorg deps
nvidia-graphics-drivers-331 (331.113-0ubuntu0.0.0.3) precise-security;
urgency=medium
[ Alberto Milone ]
* debian/substvars:
- Add support for video ABIs up to 19.
* debian/templates/dkms_nvidia.conf.in:
- Drop all the patches.
* SECURITY UPDATE:
- CVE-2014-8091, CVE-2014-8098, CVE-2014-8298 (LP: #1400673).
-- Alberto Milone <email address hidden> Tue, 09 Dec 2014 12:10:46 +0100
CVE-2014-8298 RESERVED
CVE-2014-8098 out of bounds access in GLX extension
CVE-2014-8091 denial of service due to unchecked malloc in client authentication
nvidia-graphics-drivers-304-updates (304.125-0ubuntu0.0.0.1)
xorg-server-lts-trusty (2:1.15.1-0ubuntu2~precise4) precise-security;
urgency=medium
* SECURITY UPDATE: Dec 2014 security issues - additional fixes
- debian/patches/CVE-2014-8xxx/003[4567]*.patch: add additional
fixes not included in original pre-advisory bundle.
-- Marc Deslauriers <email address hidden> Tue, 09 Dec 2014 17:25:15 -0500
xorg-server-lts-trusty (2:1.15.1-0ubuntu2~precise3) precise-security;
urgency=medium
* SECURITY UPDATE: Dec 2014 protocol handling security issues
- debian/patches/CVE-2014-8xxx/*.patch: patches from upstream to fix
a multitude of security issues, including a couple of pre-requisite
fixes from git.
- CVE-2014-8091
- CVE-2014-8092
- CVE-2014-8093
- CVE-2014-8094
- CVE-2014-8095
- CVE-2014-8096
- CVE-2014-8097
- CVE-2014-8098
- CVE-2014-8099
- CVE-2014-8100
- CVE-2014-8101
- CVE-2014-8102
- CVE-2014-8103
-- Marc Deslauriers <email address hidden> Sat, 06 Dec 2014 10:28:55 -0500
CVE-2014-8091 denial of service due to unchecked malloc in client authentication
CVE-2014-8092 intger overflows in X11 core protocol requests
CVE-2014-8093 integer overflows in GLX extension
CVE-2014-8094 integer overflows in DRI2 extensions
CVE-2014-8095 out of bounds access in XInput extensions
CVE-2014-8096 out of bounds access in XC-MISC extension
CVE-2014-8097 out of bounds access in DBE extension
CVE-2014-8098 out of bounds access in GLX extension
CVE-2014-8099 out of bounds access in XVideo extension
CVE-2014-8100 out of bounds access in Render extension
CVE-2014-8101 out of bounds access in RandR extension
CVE-2014-8102 out of bounds access in XFixes extension
CVE-2014-8103 out of bounds access in DRI3 & Present extensions
and other Xorg deps
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1402551/+subscriptions
References