Bug 1876 - high X nice value allows to crash the host
Summary: high X nice value allows to crash the host
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-21 13:08 UTC by Jérôme
Modified: 2005-12-24 23:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jérôme 2004-11-21 13:08:18 UTC
On my Linux distribution, X nice value is 0. With such value, I already crashed
a host.

I got a program which made an eavy use of X by updating as quick as possible a
window (I did not designed it). X server spent all its time in managing the
memory instead of displaying. The more X server was loaded, the more it became
loaded up to the crash of the system.

Some malicious programs could exploit this feature in order to launch an attack
which causes a deny of service and then a system crash.

Choosing a -9 nice value fixes the problem in case where X client are on the
same host as X server. Indeed the X client waits for the load of the X server to
dicrease before it can get more resources.

For the case where the X client is not on the same host as the X server, I
assume the network link will limit the refresh rate.

Here is the bug report I posted on for my Linux distro:
http://qa.mandrakesoft.com/show_bug.cgi?id=8977
Comment 1 Adam Jackson 2005-12-25 18:10:50 UTC
don't do that then.

more accurately, if you can locate exactly where this crash is occuring, and
have a fix, then please attach it.  otherwise don't misconfigure your X server.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.