← Back to team overview

enterprise-support team mailing list archive

[Bug 1515207] [NEW] /bin/login aborted due to pointer double free in libpam.so

 

You have been subscribed to a public bug:

After a system update in xenial on my notebook, I was unable to login
through GDM and tty. After some investigation, I found a probable cause
for this problem: when logging in from getty using /bin/login, the
program would abort. Here comes a example for debugging, I moved
/bin/login to /bin/login.real, and make /bin/login a bash script:

$ cat /bin/login

#!/bin/bash
export MALLOC_CHECK_=1
/bin/login.real "$@"

$ file /bin/login.real
/bin/login.real: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=e5d2ebf80be6b1a4f2fc0073e7857ccbe3b875a1, stripped

# /bin/login
arch-s400ca.hosiet.me login: hosiet
Password: 
Last login: Wed Nov 11 18:54:52 CST 2015 on UNKNOWN
Welcome to Ubuntu Xenial Xerus (development branch) (GNU/Linux 4.2.5-1-ARCH x86_64)

 * Documentation:  https://help.ubuntu.com/

No mail.
*** Error in `/bin/login.real': free(): invalid pointer: 0x000000000118dd80 ***
/bin/login: line 6:  3452 Aborted                 /bin/login.real "$@"

------------------------------------------------------------------------------

After using env "MALLOC_CHECK_" to 0, the login will be successful.

After editing the env "MALLOC_CHECK_" to 3 (which is an invalid number),
the detailed output is as follows:

----------------------------------------------------------------------------------
arch-s400ca.hosiet.me login: hosiet
Password: 
Last login: Wed Nov 11 19:02:51 CST 2015 on UNKNOWN
Welcome to Ubuntu Xenial Xerus (development branch) (GNU/Linux 4.2.5-1-ARCH x86_64)

 * Documentation:  https://help.ubuntu.com/

No mail.
*** Error in `/bin/login.real': free(): invalid pointer: 0x0000000000e42590 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78c4e)[0x7f3dcbba4c4e]
/lib/x86_64-linux-gnu/libc.so.6(+0x801da)[0x7f3dcbbac1da]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0xf7)[0x7f3dcbbb0947]
/lib/x86_64-linux-gnu/libpam.so.0(pam_set_data+0x49)[0x7f3dcc3217f9]
/lib/x86_64-linux-gnu/security/pam_smbpass.so(pam_sm_setcred+0x50)[0x7f3dc8b39a10]
/lib/x86_64-linux-gnu/libpam.so.0(+0x2dcf)[0x7f3dcc321dcf]
/lib/x86_64-linux-gnu/libpam.so.0(pam_setcred+0x2c)[0x7f3dcc3216fc]
/bin/login.real[0x4031a5]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f3dcbb4ca40]
/bin/login.real[0x4042f9]
======= Memory map: ========
00400000-0040b000 r-xp 00000000 08:11 657435                             /bin/login.real
0060a000-0060b000 r--p 0000a000 08:11 657435                             /bin/login.real
0060b000-0060c000 rw-p 0000b000 08:11 657435                             /bin/login.real
00e09000-00e8d000 rw-p 00000000 00:00 0                                  [heap]
7f3dbcfe6000-7f3dbcffc000 r-xp 00000000 08:11 1049017                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3dbcffc000-7f3dbd1fb000 ---p 00016000 08:11 1049017                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3dbd1fb000-7f3dbd1fc000 r--p 00015000 08:11 1049017                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3dbd1fc000-7f3dbd1fd000 rw-p 00016000 08:11 1049017                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3dbd22d000-7f3dbd294000 rw-s 00000000 08:09 390938                     /var/cache/samba/gencache.tdb
7f3dbd294000-7f3dbd2a0000 r-xp 00000000 08:11 1049787                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f3dbd2a0000-7f3dbd49f000 ---p 0000c000 08:11 1049787                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f3dbd49f000-7f3dbd4a0000 r--p 0000b000 08:11 1049787                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f3dbd4a0000-7f3dbd4a1000 rw-p 0000c000 08:11 1049787                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f3dbd4a1000-7f3dbd4ac000 r-xp 00000000 08:11 1049001                    /lib/x86_64-linux-gnu/libnss_nis-2.21.so
7f3dbd4ac000-7f3dbd6ab000 ---p 0000b000 08:11 1049001                    /lib/x86_64-linux-gnu/libnss_nis-2.21.so
7f3dbd6ab000-7f3dbd6ac000 r--p 0000a000 08:11 1049001                    /lib/x86_64-linux-gnu/libnss_nis-2.21.so
7f3dbd6ac000-7f3dbd6ad000 rw-p 0000b000 08:11 1049001                    /lib/x86_64-linux-gnu/libnss_nis-2.21.so
7f3dbd6ad000-7f3dbd6b5000 r-xp 00000000 08:11 1049790                    /lib/x86_64-linux-gnu/libnss_compat-2.21.so
7f3dbd6b5000-7f3dbd8b4000 ---p 00008000 08:11 1049790                    /lib/x86_64-linux-gnu/libnss_compat-2.21.so
7f3dbd8b4000-7f3dbd8b5000 r--p 00007000 08:11 1049790                    /lib/x86_64-linux-gnu/libnss_compat-2.21.so
7f3dbd8b5000-7f3dbd8b6000 rw-p 00008000 08:11 1049790                    /lib/x86_64-linux-gnu/libnss_compat-2.21.so
7f3dbd8b6000-7f3dbd8c0000 r-xp 00000000 08:11 12176                      /lib/x86_64-linux-gnu/security/pam_gnome_keyring.so
7f3dbd8c0000-7f3dbdabf000 ---p 0000a000 08:11 12176                      /lib/x86_64-linux-gnu/security/pam_gnome_keyring.so
7f3dbdabf000-7f3dbdac0000 r--p 00009000 08:11 12176                      /lib/x86_64-linux-gnu/security/pam_gnome_keyring.so
7f3dbdac0000-7f3dbdac1000 rw-p 0000a000 08:11 12176                      /lib/x86_64-linux-gnu/security/pam_gnome_keyring.so
7f3dbdac1000-7f3dbdac3000 r-xp 00000000 08:11 7742                       /lib/x86_64-linux-gnu/security/pam_umask.so
7f3dbdac3000-7f3dbdcc2000 ---p 00002000 08:11 7742                       /lib/x86_64-linux-gnu/security/pam_umask.so
7f3dbdcc2000-7f3dbdcc3000 r--p 00001000 08:11 7742                       /lib/x86_64-linux-gnu/security/pam_umask.so
7f3dbdcc3000-7f3dbdcc4000 rw-p 00002000 08:11 7742                       /lib/x86_64-linux-gnu/security/pam_umask.so
7f3dbdcc4000-7f3dbdcc6000 r-xp 00000000 08:11 7738                       /lib/x86_64-linux-gnu/security/pam_mail.so
7f3dbdcc6000-7f3dbdec5000 ---p 00002000 08:11 7738                       /lib/x86_64-linux-gnu/security/pam_mail.so
7f3dbdec5000-7f3dbdec6000 r--p 00001000 08:11 7738                       /lib/x86_64-linux-gnu/security/pam_mail.so
7f3dbdec6000-7f3dbdec7000 rw-p 00002000 08:11 7738                       /lib/x86_64-linux-gnu/security/pam_mail.so
7f3dbdec7000-7f3dbdec9000 r-xp 00000000 08:11 7728                       /lib/x86_64-linux-gnu/security/pam_motd.so
7f3dbdec9000-7f3dbe0c8000 ---p 00002000 08:11 7728                       /lib/x86_64-linux-gnu/security/pam_motd.so
7f3dbe0c8000-7f3dbe0c9000 r--p 00001000 08:11 7728                       /lib/x86_64-linux-gnu/security/pam_motd.so
7f3dbe0c9000-7f3dbe0ca000 rw-p 00002000 08:11 7728                       /lib/x86_64-linux-gnu/security/pam_motd.so
7f3dbe0ca000-7f3dbe0cc000 r-xp 00000000 08:11 1049853                    /lib/x86_64-linux-gnu/libutil-2.21.so
7f3dbe0cc000-7f3dbe2cb000 ---p 00002000 08:11 1049853                    /lib/x86_64-linux-gnu/libutil-2.21.so
7f3dbe2cb000-7f3dbe2cc000 r--p 00001000 08:11 1049853                    /lib/x86_64-linux-gnu/libutil-2.21.so
7f3dbe2cc000-7f3dbe2cd000 rw-p 00002000 08:11 1049853                    /lib/x86_64-linux-gnu/libutil-2.21.so
7f3dbe2cd000-7f3dbe2d0000 r-xp 00000000 08:11 7752                       /lib/x86_64-linux-gnu/security/pam_lastlog.so
7f3dbe2d0000-7f3dbe4cf000 ---p 00003000 08:11 7752                       /lib/x86_64-linux-gnu/security/pam_lastlog.so
7f3dbe4cf000-7f3dbe4d0000 r--p 00002000 08:11 7752                       /lib/x86_64-linux-gnu/security/pam_lastlog.so
7f3dbe4d0000-7f3dbe4d1000 rw-p 00003000 08:11 7752                       /lib/x86_64-linux-gnu/security/pam_lastlog.so
7f3dbe4d1000-7f3dbe4d6000 r-xp 00000000 08:11 7746                       /lib/x86_64-linux-gnu/security/pam_limits.so
7f3dbe4d6000-7f3dbe6d5000 ---p 00005000 08:11 7746                       /lib/x86_64-linux-gnu/security/pam_limits.so
7f3dbe6d5000-7f3dbe6d7000 r--p 00004000 08:11 7746                       /lib/x86_64-linux-gnu/security/pam_limits.so
7f3dbe6d7000-7f3dbe6d8000 rw-p 00006000 08:11 7746                       /lib/x86_64-linux-gnu/security/pam_limits.so
7f3dbe6d8000-7f3dbe6db000 r-xp 00000000 08:11 7732                       /lib/x86_64-linux-gnu/security/pam_group.so
7f3dbe6db000-7f3dbe8da000 ---p 00003000 08:11 7732                       /lib/x86_64-linux-gnu/security/pam_group.so
7f3dbe8da000-7f3dbe8db000 r--p 00002000 08:11 7732                       /lib/x86_64-linux-gnu/security/pam_group.so
7f3dbe8db000-7f3dbe8dc000 rw-p 00003000 08:11 7732                       /lib/x86_64-linux-gnu/security/pam_group.so
7f3dbe8dc000-7f3dbe8de000 r-xp 00000000 08:11 1193                       /lib/x86_64-linux-gnu/security/pam_cap.so
7f3dbe8de000-7f3dbeadd000 ---p 00002000 08:11 1193                       /lib/x86_64-linux-gnu/security/pam_cap.so
7f3dbeadd000-7f3dbeade000 r--p 00001000 08:11 1193                       /lib/x86_64-linux-gnu/security/pam_cap.so
7f3dbeade000-7f3dbeadf000 rw-p 00002000 08:11 1193                       /lib/x86_64-linux-gnu/security/pam_cap.so
7f3dbeadf000-7f3dbeae6000 r-xp 00000000 08:11 2170                       /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3dbeae6000-7f3dbece5000 ---p 00007000 08:11 2170                       /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3dbece5000-7f3dbece6000 r--p 00006000 08:11 2170                       /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3dbece6000-7f3dbece7000 rw-p 00007000 08:11 2170                       /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3dbece7000-7f3dbed65000 r-xp 00000000 08:11 1251                       /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f3dbed65000-7f3dbef65000 ---p 0007e000 08:11 1251                       /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f3dbef65000-7f3dbef66000 r--p 0007e000 08:11 1251                       /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f3dbef66000-7f3dbef67000 rw-p 0007f000 08:11 1251                       /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f3dbef67000-7f3dbef98000 r-xp 00000000 08:11 14907                      /usr/lib/x86_64-linux-gnu/libhogweed.so.4.1
7f3dbef98000-7f3dbf198000 ---p 00031000 08:11 14907                      /usr/lib/x86_64-linux-gnu/libhogweed.so.4.1
7f3dbf198000-7f3dbf199000 r--p 00031000 08:11 14907                      /usr/lib/x86_64-linux-gnu/libhogweed.so.4.1
7f3dbf199000-7f3dbf19a000 rw-p 00032000 08:11 14907                      /usr/lib/x86_64-linux-gnu/libhogweed.so.4.1
7f3dbf19a000-7f3dbf1ce000 r-xp 00000000 08:11 3840                       /usr/lib/x86_64-linux-gnu/libnettle.so.6.1
7f3dbf1ce000-7f3dbf3cd000 ---p 00034000 08:11 3840                       /usr/lib/x86_64-linux-gnu/libnettle.so.6.1
7f3dbf3cd000-7f3dbf3cf000 r--p 00033000 08:11 3840                       /usr/lib/x86_64-linux-gnu/libnettle.so.6.1
7f3dbf3cf000-7f3dbf3d0000 rw-p 00035000 08:11 3840                       /usr/lib/x86_64-linux-gnu/libnettle.so.6.1
7f3dbf3d0000-7f3dbf3e1000 r-xp 00000000 08:11 461                        /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3dbf3e1000-7f3dbf5e1000 ---p 00011000 08:11 461                        /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3dbf5e1000-7f3dbf5e2000 r--p 00011000 08:11 461                        /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3dbf5e2000-7f3dbf5e3000 rw-p 00012000 08:11 461                        /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3dbf5e3000-7f3dbf63d000 r-xp 00000000 08:11 4746                       /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3dbf63d000-7f3dbf83c000 ---p 0005a000 08:11 4746                       /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3dbf83c000-7f3dbf846000 r--p 00059000 08:11 4746                       /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3dbf846000-7f3dbf848000 rw-p 00063000 08:11 4746                       /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3dbf848000-7f3dbf862000 r-xp 00000000 08:11 13910                      /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3dbf862000-7f3dbfa61000 ---p 0001a000 08:11 13910                      /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3dbfa61000-7f3dbfa62000 r--p 00019000 08:11 13910                      /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3dbfa62000-7f3dbfa63000 rw-p 0001a000 08:11 13910                      /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3dbfa63000-7f3dbfa7a000 r-xp 00000000 08:11 1049783                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f3dbfa7a000-7f3dbfc7a000 ---p 00017000 08:11 1049783                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f3dbfc7a000-7f3dbfc7c000 r--p 00017000 08:11 1049783                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f3dbfc7c000-7f3dbfc7d000 rw-p 00019000 08:11 1049783                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f3dbfc7d000-7f3dbfc7f000 rw-p 00000000 00:00 0 
7f3dbfc7f000-7f3dbfc87000 r-xp 00000000 08:11 11480                      /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3dbfc87000-7f3dbfe86000 ---p 00008000 08:11 11480                      /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3dbfe86000-7f3dbfe87000 r--p 00007000 08:11 11480                      /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3dbfe87000-7f3dbfe88000 rw-p 00008000 08:11 11480                      /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3dbfe88000-7f3dbfe9c000 r-xp 00000000 08:11 1539                       /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3dbfe9c000-7f3dc009b000 ---p 00014000 08:11 1539                       /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3dc009b000-7f3dc009c000 r--p 00013000 08:11 1539                       /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3dc009c000-7f3dc009d000 rw-p 00014000 08:11 1539                       /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3dc009d000-7f3dc00cd000 r-xp 00000000 08:11 3322                       /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3dc00cd000-7f3dc02cd000 ---p 00030000 08:11 3322                       /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3dc02cd000-7f3dc02ce000 r--p 00030000 08:11 3322                       /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3dc02ce000-7f3dc02cf000 rw-p 00031000 08:11 3322                       /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3dc02cf000-7f3dc02d0000 rw-p 00000000 00:00 0 
7f3dc02d0000-7f3dc039f000 r-xp 00000000 08:11 7774                       /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3dc039f000-7f3dc059e000 ---p 000cf000 08:11 7774                       /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3dc059e000-7f3dc05a1000 r--p 000ce000 08:11 7774                       /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3dc05a1000-7f3dc05a4000 rw-p 000d1000 08:11 7774                       /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3dc05a4000-7f3dc05eb000 r-xp 00000000 08:11 10414                      /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3dc05eb000-7f3dc07ea000 ---p 00047000 08:11 10414                      /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3dc07ea000-7f3dc07ec000 r--p 00046000 08:11 10414                      /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3dc07ec000-7f3dc07ee000 rw-p 00048000 08:11 10414                      /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3dc07ee000-7f3dc07ef000 rw-p 00000000 00:00 0 
7f3dc07ef000-7f3dc07fd000 r-xp 00000000 08:11 3451                       /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3dc07fd000-7f3dc09fc000 ---p 0000e000 08:11 3451                       /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3dc09fc000-7f3dc09fd000 r--p 0000d000 08:11 3451                       /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3dc09fd000-7f3dc09fe000 rw-p 0000e000 08:11 3451                       /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3dc09fe000-7f3dc0a25000 r-xp 00000000 08:11 3642                       /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3dc0a25000-7f3dc0c25000 ---p 00027000 08:11 3642                       /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3dc0c25000-7f3dc0c26000 r--p 00027000 08:11 3642                       /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3dc0c26000-7f3dc0c27000 rw-p 00028000 08:11 3642                       /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3dc0c27000-7f3dc0c3b000 r-xp 00000000 08:11 144                        /usr/lib/x86_64-linux-gnu/libntdb.so.1.0
7f3dc0c3b000-7f3dc0e3a000 ---p 00014000 08:11 144                        /usr/lib/x86_64-linux-gnu/libntdb.so.1.0
7f3dc0e3a000-7f3dc0e3b000 r--p 00013000 08:11 144                        /usr/lib/x86_64-linux-gnu/libntdb.so.1.0
7f3dc0e3b000-7f3dc0e3c000 rw-p 00014000 08:11 144                        /usr/lib/x86_64-linux-gnu/libntdb.so.1.0
7f3dc0e3c000-7f3dc0e3e000 r-xp 00000000 08:11 25537                      /usr/lib/x86_64-linux-gnu/samba/libutil_ntdb.so.0
7f3dc0e3e000-7f3dc103e000 ---p 00002000 08:11 25537                      /usr/lib/x86_64-linux-gnu/samba/libutil_ntdb.so.0
7f3dc103e000-7f3dc103f000 r--p 00002000 08:11 25537                      /usr/lib/x86_64-linux-gnu/samba/libutil_ntdb.so.0
7f3dc103f000-7f3dc1040000 rw-p 00003000 08:11 25537                      /usr/lib/x86_64-linux-gnu/samba/libutil_ntdb.so.0
7f3dc1040000-7f3dc10df000 r-xp 00000000 08:11 3195                       /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3dc10df000-7f3dc12df000 ---p 0009f000 08:11 3195                       /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3dc12df000-7f3dc12e0000 r--p 0009f000 08:11 3195                       /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3dc12e0000-7f3dc12e3000 rw-p 000a0000 08:11 3195                       /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3dc12e3000-7f3dc13f4000 r-xp 00000000 08:11 1256                       /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.41.10
7f3dc13f4000-7f3dc15f4000 ---p 00111000 08:11 1256                       /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.41.10
7f3dc15f4000-7f3dc15fd000 r--p 00111000 08:11 1256                       /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.41.10
7f3dc15fd000-7f3dc15ff000 rw-p 0011a000 08:11 1256                       /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.41.10
7f3dc15ff000-7f3dc1608000 r-xp 00000000 08:11 15754                      /usr/lib/x86_64-linux-gnu/libndr-krb5pac.so.0.0.1
7f3dc1608000-7f3dc1807000 ---p 00009000 08:11 15754                      /usr/lib/x86_64-linux-gnu/libndr-krb5pac.so.0.0.1
7f3dc1807000-7f3dc1808000 r--p 00008000 08:11 15754                      /usr/lib/x86_64-linux-gnu/libndr-krb5pac.so.0.0.1
7f3dc1808000-7f3dc1809000 rw-p 00009000 08:11 15754                      /usr/lib/x86_64-linux-gnu/libndr-krb5pac.so.0.0.1
7f3dc1809000-7f3dc180c000 r-xp 00000000 08:11 25281                      /usr/lib/x86_64-linux-gnu/samba/libauth_sam_reply.so.0
7f3dc180c000-7f3dc1a0b000 ---p 00003000 08:11 25281                      /usr/lib/x86_64-linux-gnu/samba/libauth_sam_reply.so.0
7f3dc1a0b000-7f3dc1a0c000 r--p 00002000 08:11 25281                      /usr/lib/x86_64-linux-gnu/samba/libauth_sam_reply.so.0
7f3dc1a0c000-7f3dc1a0d000 rw-p 00003000 08:11 25281                      /usr/lib/x86_64-linux-gnu/samba/libauth_sam_reply.so.0
7f3dc1a0d000-7f3dc1a0f000 r-xp 00000000 08:11 25425                      /usr/lib/x86_64-linux-gnu/samba/libsamba-modules.so.0
7f3dc1a0f000-7f3dc1c0e000 ---p 00002000 08:11 25425                      /usr/lib/x86_64-linux-gnu/samba/libsamba-modules.so.0
7f3dc1c0e000-7f3dc1c0f000 r--p 00001000 08:11 25425                      /usr/lib/x86_64-linux-gnu/samba/libsamba-modules.so.0
7f3dc1c0f000-7f3dc1c10000 rw-p 00002000 08:11 25425                      /usr/lib/x86_64-linux-gnu/samba/libsamba-modules.so.0
7f3dc1c10000-7f3dc1c11000 r-xp 00000000 08:11 25429                      /usr/lib/x86_64-linux-gnu/samba/libevents.so.0
7f3dc1c11000-7f3dc1e10000 ---p 00001000 08:11 25429                      /usr/lib/x86_64-linux-gnu/samba/libevents.so.0
7f3dc1e10000-7f3dc1e11000 r--p 00000000 08:11 25429                      /usr/lib/x86_64-linux-gnu/samba/libevents.so.0
7f3dc1e11000-7f3dc1e12000 rw-p 00001000 08:11 25429                      /usr/lib/x86_64-linux-gnu/samba/libevents.so.0
7f3dc1e12000-7f3dc1e18000 r-xp 00000000 08:11 25280                      /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common.so.0
7f3dc1e18000-7f3dc2017000 ---p 00006000 08:11 25280                      /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common.so.0
7f3dc2017000-7f3dc2018000 r--p 00005000 08:11 25280                      /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common.so.0
7f3dc2018000-7f3dc2019000 rw-p 00006000 08:11 25280                      /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common.so.0
7f3dc2019000-7f3dc202d000 r-xp 00000000 08:11 14929                      /usr/lib/x86_64-linux-gnu/libsamdb.so.0.0.1
7f3dc202d000-7f3dc222c000 ---p 00014000 08:11 14929                      /usr/lib/x86_64-linux-gnu/libsamdb.so.0.0.1
7f3dc222c000-7f3dc222d000 r--p 00013000 08:11 14929                      /usr/lib/x86_64-linux-gnu/libsamdb.so.0.0.1
7f3dc222d000-7f3dc222e000 rw-p 00014000 08:11 14929                      /usr/lib/x86_64-linux-gnu/libsamdb.so.0.0.1
7f3dc222e000-7f3dc2232000 r-xp 00000000 08:11 25544                      /usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper.so.0
7f3dc2232000-7f3dc2431000 ---p 00004000 08:11 25544                      /usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper.so.0
7f3dc2431000-7f3dc2432000 r--p 00003000 08:11 25544                      /usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper.so.0
7f3dc2432000-7f3dc2433000 rw-p 00004000 08:11 25544                      /usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper.so.0
7f3dc2433000-7f3dc243c000 r-xp 00000000 08:11 16233                      /usr/lib/x86_64-linux-gnu/libsmbldap.so.0
7f3dc243c000-7f3dc263c000 ---p 00009000 08:11 16233                      /usr/lib/x86_64-linux-gnu/libsmbldap.so.0
7f3dc263c000-7f3dc263d000 r--p 00009000 08:11 16233                      /usr/lib/x86_64-linux-gnu/libsmbldap.so.0
7f3dc263d000-7f3dc263e000 rw-p 0000a000 08:11 16233                      /usr/lib/x86_64-linux-gnu/libsmbldap.so.0
7f3dc263e000-7f3dc263f000 r-xp 00000000 08:11 19778                      /usr/lib/x86_64-linux-gnu/samba/libflag_mapping.so.0
7f3dc263f000-7f3dc283e000 ---p 00001000 08:11 19778                      /usr/lib/x86_64-linux-gnu/samba/libflag_mapping.so.0
7f3dc283e000-7f3dc283f000 r--p 00000000 08:11 19778                      /usr/lib/x86_64-linux-gnu/samba/libflag_mapping.so.0
7f3dc283f000-7f3dc2840000 rw-p 00001000 08:11 19778                      /usr/lib/x86_64-linux-gnu/samba/libflag_mapping.so.0
7f3dc2840000-7f3dc288e000 r-xp 00000000 08:11 13939                      /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.4
7f3dc288e000-7f3dc2a8d000 ---p 0004e000 08:11 13939                      /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.4
7f3dc2a8d000-7f3dc2a8f000 r--p 0004d000 08:11 13939                      /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.4
7f3dc2a8f000-7f3dc2a90000 rw-p 0004f000 08:11 13939                      /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.4
7f3dc2a90000-7f3dc2a92000 rw-p 00000000 00:00 0 
7f3dc2a92000-7f3dc2a9f000 r-xp 00000000 08:11 13921                      /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.4
7f3dc2a9f000-7f3dc2c9f000 ---p 0000d000 08:11 13921                      /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.4
7f3dc2c9f000-7f3dc2ca0000 r--p 0000d000 08:11 13921                      /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.4
7f3dc2ca0000-7f3dc2ca1000 rw-p 0000e000 08:11 13921                      /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.4
7f3dc2ca1000-7f3dc2ca5000 r-xp 00000000 08:11 1048897                    /lib/x86_64-linux-gnu/libcap.so.2.24
7f3dc2ca5000-7f3dc2ea5000 ---p 00004000 08:11 1048897                    /lib/x86_64-linux-gnu/libcap.so.2.24
7f3dc2ea5000-7f3dc2ea6000 r--p 00004000 08:11 1048897                    /lib/x86_64-linux-gnu/libcap.so.2.24
7f3dc2ea6000-7f3dc2ea7000 rw-p 00005000 08:11 1048897                    /lib/x86_64-linux-gnu/libcap.so.2.24
7f3dc2ea7000-7f3dc2ebb000 r-xp 00000000 08:11 4125                       /usr/lib/x86_64-linux-gnu/libtdb.so.1.3.8
7f3dc2ebb000-7f3dc30ba000 ---p 00014000 08:11 4125                       /usr/lib/x86_64-linux-gnu/libtdb.so.1.3.8
7f3dc30ba000-7f3dc30bb000 r--p 00013000 08:11 4125                       /usr/lib/x86_64-linux-gnu/libtdb.so.1.3.8
7f3dc30bb000-7f3dc30bc000 rw-p 00014000 08:11 4125                       /usr/lib/x86_64-linux-gnu/libtdb.so.1.3.8
7f3dc30bc000-7f3dc30bd000 r-xp 00000000 08:11 19985                      /usr/lib/x86_64-linux-gnu/samba/libserver-role.so.0
7f3dc30bd000-7f3dc32bc000 ---p 00001000 08:11 19985                      /usr/lib/x86_64-linux-gnu/samba/libserver-role.so.0
7f3dc32bc000-7f3dc32bd000 r--p 00000000 08:11 19985                      /usr/lib/x86_64-linux-gnu/samba/libserver-role.so.0
7f3dc32bd000-7f3dc32be000 rw-p 00001000 08:11 19985                      /usr/lib/x86_64-linux-gnu/samba/libserver-role.so.0
7f3dc32be000-7f3dc32c2000 r-xp 00000000 08:11 19984                      /usr/lib/x86_64-linux-gnu/samba/libsmb_transport.so.0
7f3dc32c2000-7f3dc34c1000 ---p 00004000 08:11 19984                      /usr/lib/x86_64-linux-gnu/samba/libsmb_transport.so.0
7f3dc34c1000-7f3dc34c2000 r--p 00003000 08:11 19984                      /usr/lib/x86_64-linux-gnu/samba/libsmb_transport.so.0
7f3dc34c2000-7f3dc34c3000 rw-p 00004000 08:11 19984                      /usr/lib/x86_64-linux-gnu/samba/libsmb_transport.so.0
7f3dc34c3000-7f3dc34c4000 r-xp 00000000 08:11 25430                      /usr/lib/x86_64-linux-gnu/samba/libutil_setid.so.0
7f3dc34c4000-7f3dc36c3000 ---p 00001000 08:11 25430                      /usr/lib/x86_64-linux-gnu/samba/libutil_setid.so.0
7f3dc36c3000-7f3dc36c4000 r--p 00000000 08:11 25430                      /usr/lib/x86_64-linux-gnu/samba/libutil_setid.so.0
7f3dc36c4000-7f3dc36c5000 rw-p 00001000 08:11 25430                      /usr/lib/x86_64-linux-gnu/samba/libutil_setid.so.0
7f3dc36c5000-7f3dc36c6000 r-xp 00000000 08:11 19986                      /usr/lib/x86_64-linux-gnu/samba/libsmbd_shim.so.0
7f3dc36c6000-7f3dc38c5000 ---p 00001000 08:11 19986                      /usr/lib/x86_64-linux-gnu/samba/libsmbd_shim.so.0
7f3dc38c5000-7f3dc38c6000 r--p 00000000 08:11 19986                      /usr/lib/x86_64-linux-gnu/samba/libsmbd_shim.so.0
7f3dc38c6000-7f3dc38c7000 rw-p 00001000 08:11 19986                      /usr/lib/x86_64-linux-gnu/samba/libsmbd_shim.so.0
7f3dc38c7000-7f3dc38dd000 r-xp 00000000 08:11 25545                      /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0
7f3dc38dd000-7f3dc3adc000 ---p 00016000 08:11 25545                      /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0
7f3dc3adc000-7f3dc3add000 r--p 00015000 08:11 25545                      /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0
7f3dc3add000-7f3dc3ade000 rw-p 00016000 08:11 25545                      /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0
7f3dc3ade000-7f3dc3adf000 r-xp 00000000 08:11 25421                      /usr/lib/x86_64-linux-gnu/samba/libutil_reg.so.0
7f3dc3adf000-7f3dc3cdf000 ---p 00001000 08:11 25421                      /usr/lib/x86_64-linux-gnu/samba/libutil_reg.so.0
7f3dc3cdf000-7f3dc3ce0000 r--p 00001000 08:11 25421                      /usr/lib/x86_64-linux-gnu/samba/libutil_reg.so.0
7f3dc3ce0000-7f3dc3ce1000 rw-p 00002000 08:11 25421                      /usr/lib/x86_64-linux-gnu/samba/libutil_reg.so.0
7f3dc3ce1000-7f3dc3cff000 r-xp 00000000 08:11 25293                      /usr/lib/x86_64-linux-gnu/samba/libcli_smb_common.so.0
7f3dc3cff000-7f3dc3efe000 ---p 0001e000 08:11 25293                      /usr/lib/x86_64-linux-gnu/samba/libcli_smb_common.so.0
7f3dc3efe000-7f3dc3eff000 r--p 0001d000 08:11 25293                      /usr/lib/x86_64-linux-gnu/samba/libcli_smb_common.so.0
7f3dc3eff000-7f3dc3f00000 rw-p 0001e000 08:11 25293                      /usr/lib/x86_64-linux-gnu/samba/libcli_smb_common.so.0
7f3dc3f00000-7f3dc3f02000 r-xp 00000000 08:11 25302                      /usr/lib/x86_64-linux-gnu/samba/libCHARSET3.so.0
7f3dc3f02000-7f3dc4102000 ---p 00002000 08:11 25302                      /usr/lib/x86_64-linux-gnu/samba/libCHARSET3.so.0
7f3dc4102000-7f3dc4103000 r--p 00002000 08:11 25302                      /usr/lib/x86_64-linux-gnu/samba/libCHARSET3.so.0
7f3dc4103000-7f3dc4104000 rw-p 00003000 08:11 25302                      /usr/lib/x86_64-linux-gnu/samba/libCHARSET3.so.0
7f3dc4104000-7f3dc4106000 r-xp 00000000 08:11 15751                      /usr/lib/x86_64-linux-gnu/libtevent-util.so.0.0.1
7f3dc4106000-7f3dc4305000 ---p 00002000 08:11 15751                      /usr/lib/x86_64-linux-gnu/libtevent-util.so.0.0.1
7f3dc4305000-7f3dc4306000 r--p 00001000 08:11 15751                      /usr/lib/x86_64-linux-gnu/libtevent-util.so.0.0.1
7f3dc4306000-7f3dc4307000 rw-p 00002000 08:11 15751                      /usr/lib/x86_64-linux-gnu/libtevent-util.so.0.0.1
7f3dc4307000-7f3dc4309000 r-xp 00000000 08:11 19982                      /usr/lib/x86_64-linux-gnu/samba/libinterfaces.so.0
7f3dc4309000-7f3dc4508000 ---p 00002000 08:11 19982                      /usr/lib/x86_64-linux-gnu/samba/libinterfaces.so.0
7f3dc4508000-7f3dc4509000 r--p 00001000 08:11 19982                      /usr/lib/x86_64-linux-gnu/samba/libinterfaces.so.0
7f3dc4509000-7f3dc450a000 rw-p 00002000 08:11 19982                      /usr/lib/x86_64-linux-gnu/samba/libinterfaces.so.0
7f3dc450a000-7f3dc4525000 r-xp 00000000 08:11 25433                      /usr/lib/x86_64-linux-gnu/samba/libsmbregistry.so.0
7f3dc4525000-7f3dc4724000 ---p 0001b000 08:11 25433                      /usr/lib/x86_64-linux-gnu/samba/libsmbregistry.so.0
7f3dc4724000-7f3dc4726000 r--p 0001a000 08:11 25433                      /usr/lib/x86_64-linux-gnu/samba/libsmbregistry.so.0
7f3dc4726000-7f3dc4727000 rw-p 0001c000 08:11 25433                      /usr/lib/x86_64-linux-gnu/samba/libsmbregistry.so.0
7f3dc4727000-7f3dc4740000 r-xp 00000000 08:11 1049347                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3dc4740000-7f3dc493f000 ---p 00019000 08:11 1049347                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3dc493f000-7f3dc4940000 r--p 00018000 08:11 1049347                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3dc4940000-7f3dc4941000 rw-p 00019000 08:11 1049347                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3dc4941000-7f3dc4954000 r-xp 00000000 08:11 2073                       /usr/lib/x86_64-linux-gnu/libndr-nbt.so.0.0.1
7f3dc4954000-7f3dc4b54000 ---p 00013000 08:11 2073                       /usr/lib/x86_64-linux-gnu/libndr-nbt.so.0.0.1
7f3dc4b54000-7f3dc4b55000 r--p 00013000 08:11 2073                       /usr/lib/x86_64-linux-gnu/libndr-nbt.so.0.0.1
7f3dc4b55000-7f3dc4b56000 rw-p 00014000 08:11 2073                       /usr/lib/x86_64-linux-gnu/libndr-nbt.so.0.0.1
7f3dc4b56000-7f3dc4b5b000 r-xp 00000000 08:11 25417                      /usr/lib/x86_64-linux-gnu/samba/libasn1util.so.0
7f3dc4b5b000-7f3dc4d5a000 ---p 00005000 08:11 25417                      /usr/lib/x86_64-linux-gnu/samba/libasn1util.so.0
7f3dc4d5a000-7f3dc4d5b000 r--p 00004000 08:11 25417                      /usr/lib/x86_64-linux-gnu/samba/libasn1util.so.0
7f3dc4d5b000-7f3dc4d5c000 rw-p 00005000 08:11 25417                      /usr/lib/x86_64-linux-gnu/samba/libasn1util.so.0
7f3dc4d5c000-7f3dc505a000 r-xp 00000000 08:11 15701                      /usr/lib/x86_64-linux-gnu/libndr-standard.so.0.0.1
7f3dc505a000-7f3dc525a000 ---p 002fe000 08:11 15701                      /usr/lib/x86_64-linux-gnu/libndr-standard.so.0.0.1
7f3dc525a000-7f3dc5267000 r--p 002fe000 08:11 15701                      /usr/lib/x86_64-linux-gnu/libndr-standard.so.0.0.1/bin/login: line 6:  3535 Aborted                 /bin/login.real "$@"

--------------------------------------------------------------------

I tried to gdb the started /bin/login.real process, and the SIGABRT
happened after line 142 of pam_audit.c:

_pam_auditlog (pamh=0x1c2d2d0, action=<optimized out>, retval=0, flags=<optimized out>>) at pam_audit.c :138
138            in pam_audit.c
(gdb)
140            in pam_audit.c
(gdb)
138            in pam_audit.c
(gdb)
140            in pam_audit.c
(gdb)
141            in pam_audit.c
(gdb)
142            in pam_audit.c
(gdb)

Program received signal SIGABRT, Aborted.
0x00007f8835dae267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55         _ ../sysdeps/unix/sysv/linux.raise.c: No such file or directory.

---------------------------------------------------------------------

The system is upgraded to the newest state for Ubuntu Xenial x86_64
version.

** Affects: samba (Ubuntu)
     Importance: High
         Status: New


** Tags: libpam login
-- 
/bin/login aborted due to pointer double free in libpam.so
https://bugs.launchpad.net/bugs/1515207
You received this bug notification because you are a member of Ubuntu Server/Client Support Team, which is subscribed to samba in Ubuntu.