Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 13:34:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233663] security/cyrus-sasl2-saslauthd 2.1.27 Program terminated with signal 11, Segmentation fault.
Message-ID:  <bug-233663-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233663

            Bug ID: 233663
           Summary: security/cyrus-sasl2-saslauthd 2.1.27 Program
                    terminated with signal 11, Segmentation fault.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ume@FreeBSD.org
          Reporter: iscandr@gmail.com
          Assignee: ume@FreeBSD.org
             Flags: maintainer-feedback?(ume@FreeBSD.org)

Created attachment 199685
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199685&action=
=3Dedit
saslauthd core dump

Saslauthd exits with signal 11 after a failed smtp auth.=20

Release: FreeBSD 11.2-RELEASE-p2

Packages:
cyrus-imapd30-3.0.8_1
cyrus-sasl-2.1.27
cyrus-sasl-saslauthd-2.1.27
cyrus-sasl-sql-2.1.27
pam_mysql-0.7.r1_5
postfix-3.3.2_1,1

Backtrace (saslauthd.core):

(gdb) bt
#0  0x000000080277db7a in pthread_rwlock_rdlock () from /lib/libthr.so.3
#1  0x000000080386482f in free_vio_ssl_acceptor_fd () from
/usr/local/lib/mysql/libmysqlclient.so.20
#2  0x000000080465a201 in ssl_cipher_get_evp () from /usr/lib/libssl.so.8
#3  0x000000080465c4d9 in SSL_COMP_get_compression_methods () from
/usr/lib/libssl.so.8
#4  0x0000000804624b2c in SSL_library_init () from /usr/lib/libssl.so.8
#5  0x0000000803863cae in ssl_start () from
/usr/local/lib/mysql/libmysqlclient.so.20
#6  0x000000080383127f in mysql_server_init () from
/usr/local/lib/mysql/libmysqlclient.so.20
#7  0x000000080383ad37 in mysql_init () from
/usr/local/lib/mysql/libmysqlclient.so.20
#8  0x0000000803403c0f in ?? ()
#9  0x0000000000000000 in ?? ()
(gdb)

/usr/local/sbin/saslauthd -a pam -c -m /var/run/saslauthd -r -n 1 -d log:

saslauthd[37708] :num_procs  : 1
saslauthd[37708] :mech_option: NULL
saslauthd[37708] :run_path   : /var/run/saslauthd
saslauthd[37708] :auth_mech  : pam
saslauthd[37708] :mmaped shared memory segment on file:
/var/run/saslauthd/cache.mmap
saslauthd[37708] :bucket size: 96 bytes
saslauthd[37708] :stats size : 36 bytes
saslauthd[37708] :timeout    : 28800 seconds
saslauthd[37708] :cache table: 985828 total bytes
saslauthd[37708] :cache table: 1711 slots
saslauthd[37708] :cache table: 10266 buckets
saslauthd[37708] :flock file opened at /var/run/saslauthd/cache.flock
saslauthd[37708] :using accept lock file: /var/run/saslauthd/mux.accept
saslauthd[37708] :master pid is: 0
saslauthd[37708] :listening on socket: /var/run/saslauthd/mux
saslauthd[37708] :using process model
saslauthd[37708] :acquired accept lock
saslauthd[37708] :released accept lock
saslauthd[37708] :attempting a read lock on slot: 183
saslauthd[37708] :[login=3Dxxx@xxx.xxx] [service=3Dsmtp] [realm=3Dxxx.xxx]:=
 not
found, update pending
saslauthd[37708] :attempting to release lock on slot: 183
saslauthd[37708] :auth failure: [user=3Dxxx@xxx.xxx] [service=3Dsmtp]
[realm=3Dxxx.xxx] [mech=3Dpam] [reason=3DPAM auth error]
saslauthd[37708] :acquired accept lock
saslauthd[37708] :released accept lock
saslauthd[37708] :attempting a read lock on slot: 183
saslauthd[37708] :[login=3Dxxx@xxx.xxx] [service=3Dsmtp] [realm=3Dxxx.xxx]:=
 not
found, update pending
saslauthd[37708] :attempting to release lock on slot: 183
Segmentation fault (core dumped)

/var/log/maillog:

Nov 30 13:22:05 host postfix/smtpd[40472]: warning: SASL authentication
failure: Password verification failed
Nov 30 13:22:05 host postfix/smtpd[40472]: warning:
xxx.xxx.xxx[ddd.ddd.ddd.ddd]: SASL PLAIN authentication failed: authenticat=
ion
failure
Nov 30 13:22:06 host postfix/smtpd[40472]: warning: SASL authentication
failure: size read failed
Nov 30 13:22:06 host postfix/smtpd[40472]: warning:
xxx.xxx.xxx[ddd.ddd.ddd.ddd]: SASL LOGIN authentication failed: generic fai=
lure

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233663-7788>