[Pkg-utopia-maintainers] Bug#800603: network-manager: NetworkManager segfaults because of null pointer dereferencing when terminating

Gard Spreemann gspreemann at gmail.com
Thu Oct 1 15:12:23 UTC 2015


Package: network-manager
Version: 1.0.6-1
Severity: normal

Dear Maintainer,

On my system, NetworkManager segfaults when terminating, for example
when the system shuts down or when the service is stopped or restarted
by the user.

A backtrace reveals that the segfault is caused by null pointer
dereferencing on line 776 of src/nm-manager.c. Nearby code is

static void
check_if_startup_complete (NMManager *self)
{
	NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
	GSList *iter;

	if (!priv->startup) // <--- Line 776.
		return;

and a core dump reveals that priv is in fact a null pointer when
"systemctl stop network-manager.service" is issued on my system.

NM seems otherwise to work as normal, and I have only seen the
segfault when it is asked to terminate. I have not had time to
investigate any further.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.10.0-3
ii  init-system-helpers    1.23
ii  isc-dhcp-client        4.3.3-3
ii  libbluetooth3          5.33-1
ii  libc6                  2.19-22
ii  libdbus-1-3            1.10.0-3
ii  libdbus-glib-1-2       0.102-1
ii  libglib2.0-0           2.44.1-1.1
ii  libgnutls-deb0-28      3.3.17-1
ii  libgudev-1.0-0         230-2
ii  libmm-glib0            1.4.10-1
ii  libndp0                1.4-2
ii  libnewt0.52            0.52.18-1+b1
ii  libnl-3-200            3.2.26-1
ii  libnl-genl-3-200       3.2.26-1
ii  libnl-route-3-200      3.2.26-1
ii  libnm0                 1.0.6-1
ii  libpam-systemd         226-3
ii  libpolkit-agent-1-0    0.105-12
ii  libpolkit-gobject-1-0  0.105-12
ii  libreadline6           6.3-8+b3
ii  libsoup2.4-1           2.50.0-2
ii  libsystemd0            226-3
ii  libteamdctl0           1.18-1
ii  libuuid1               2.27-3
ii  lsb-base               9.20150917
ii  policykit-1            0.105-12
ii  udev                   226-3
ii  wpasupplicant          2.3-2.1

Versions of packages network-manager recommends:
ii  crda            3.13-1
ii  dnsmasq-base    2.75-1
ii  iptables        1.4.21-2+b1
ii  iputils-arping  3:20121221-5+b2
ii  modemmanager    1.4.10-1
ii  ppp             2.4.6-3.1

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-5
pn  libteam-utils  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list