[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#329078: marked as done (libnss-mysql-bg: Segmentation fault with groupdel and other user/group management tools)



Your message dated Fri, 28 Apr 2017 08:19:57 +0000
with message-id <[🔎] E1d4189-00065l-JR@fasolo.debian.org>
and subject line Bug#860760: Removed package(s) from unstable
has caused the Debian Bug report #329078,
regarding libnss-mysql-bg: Segmentation fault with groupdel and other user/group management tools
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
329078: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329078
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libnss-mysql-bg
Version: 1.3-2
Severity: normal

Hello,

When running certain applications (finger, groupdel etc) which query libnss for details on a box running grsecurity,
it can cause grsecurity to detect an attempt to overstep resource limits (and a subsequent segfault in the application
in question).

An strace of groupdel <user> shows towards the end:

read(4, "\376", 1)                      = 1
geteuid32()                             = 0
geteuid32()                             = 0
geteuid32()                             = 0
geteuid32()                             = 0
geteuid32()                             = 0
geteuid32()                             = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

And a line appears in the kernel log as follows:

grsec: From <ip>: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for 
/usr/sbin/groupdel[groupdel:2875] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/strace[strace:17477] uid/euid:0/0 gid/egid:0/0

Without the NSS MySQL support enabled, I can delete the group fine, finger user accounts, etc.

I have the following relevant lines in /etc/nsswitch.conf:

passwd:         compat mysql
group:          compat
shadow:         compat mysql

Any light you can shed on the matter would be appreciated!

Thanks,
Chris.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1-grsec
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages libnss-mysql-bg depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libmysqlclient12            4.0.24-10    mysql database client library
ii  zlib1g                      1:1.2.2-4    compression library - runtime

libnss-mysql-bg recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1.5-5+rm

Dear submitter,

as the package libnss-mysql-bg has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/860760

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Chris Lamb (the ftpmaster behind the curtain)

--- End Message ---

Reply to: