Gentoo Logo

GDM: Local Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200709-11 / gdm
Release Date September 18, 2007
Latest Revision September 18, 2007: 01
Impact low
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
gnome-base/gdm < 2.18.4 >= 2.18.4, revision >= 2.16.7 All supported architectures

Related bugreports: #187919


GDM can be crashed by a local user, preventing it from managing future displays.

2.  Impact Information


GDM is the GNOME display manager.


The result of a g_strsplit() call is incorrectly parsed in the files daemon/gdm.c, daemon/gdmconfig.c, gui/gdmconfig.c and gui/gdmflexiserver.c, allowing for a null pointer dereference.


A local user could send a crafted message to /tmp/.gdm_socket that would trigger the null pointer dereference and crash GDM, thus preventing it from managing future displays.

3.  Resolution Information


Restrict the write permissions on /tmp/.gdm_socket to trusted users only after each GDM restart.


All GDM users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose "gnome-base/gdm"

4.  References


Page updated September 18, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.