[Bug 1191642] New: gdm-session-worker crashing when pam_mount is used with ad-user (winbind)
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 Bug ID: 1191642 Summary: gdm-session-worker crashing when pam_mount is used with ad-user (winbind) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: philip.raets@telenet.be QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After latest update of Tumbleweed to Tumbleweed snapshot 20211011, I can't log in anymore when using pam_mount with my active directory user through winbind: gdm-session-worker is crashing. I've had created a symlink /etc/pam.d/gdm-password to /etc/pam.d/gdm /etc/pam.d/gdm contains: #%PAM-1.0 # GDM PAM standard configuration (with passwords) auth optional pam_mount.so auth requisite pam_nologin.so auth include common-auth account include common-account password include common-password session required pam_loginuid.so session optional pam_keyinit.so force revoke session include common-session session [success=1 default=ignore] pam_succeed_if.so service = systemd-user quiet session optional pam_mount.so Which always worked before Tumbleweed 20211011 After the update I cannot login anymore, and I have the following in my journalctl: okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:auth): getting password (0x00000390) okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:auth): pam_get_item returned a password okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:auth): user 'praets' granted access okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:account): user 'praets' granted access okt 14 10:14:22 PRAETS systemd-logind[882]: New session 5 of user praets. okt 14 10:14:22 PRAETS systemd[1]: Started Session 5 of User praets. okt 14 10:14:22 PRAETS gdm-password][19343]: pam_unix(gdm-password:session): session opened for user praets(uid=22690) by (uid=0) okt 14 10:14:22 PRAETS gdm-password][19343]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring okt 14 10:14:22 PRAETS gdm-session-worker[19343]: free(): double free detected in tcache 2 okt 14 10:14:22 PRAETS systemd[1]: Started Process Core Dump (PID 19364/UID 0). okt 14 10:14:23 PRAETS systemd-coredump[19365]: [ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c1 --- Comment #1 from Philip Raets <philip.raets@telenet.be> --- Log in journalctl (in previous comment it wasn't complete): okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:auth): getting password (0x00000390) okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:auth): pam_get_item returned a password okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:auth): user 'praets' granted access okt 14 10:14:22 PRAETS gdm-password][19343]: pam_winbind(gdm-password:account): user 'praets' granted access okt 14 10:14:22 PRAETS systemd-logind[882]: New session 5 of user praets. okt 14 10:14:22 PRAETS systemd[1]: Started Session 5 of User praets. okt 14 10:14:22 PRAETS gdm-password][19343]: pam_unix(gdm-password:session): session opened for user praets(uid=22690) by (uid=0) okt 14 10:14:22 PRAETS gdm-password][19343]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring okt 14 10:14:22 PRAETS gdm-session-worker[19343]: free(): double free detected in tcache 2 okt 14 10:14:22 PRAETS systemd[1]: Started Process Core Dump (PID 19364/UID 0). okt 14 10:14:23 PRAETS systemd-coredump[19365]: [] Process 19343 (gdm-session-wor) of user 0 dumped core. Found module linux-vdso.so.1 with build-id: 17c9c4e71a0104a7a15432181209720a2e9780ca Found module libnss_winbind.so.2 with build-id: 0dc848e12c40741d26ec0b302cfceb2afafbf907 Found module libresolv.so.2 with build-id: 91d874c708525584f141db999af81038477c2ff3 Found module libkeyutils.so.1 with build-id: 86734e91be091150a8b5d2cf3b1df0ff1ea2aed3 Found module libkrb5support.so.0 with build-id: 8ee5e8e5e87b93f1324ec6aaab3f851ef58693c0 Found module libcom_err.so.2 with build-id: 9f545de77e53a5498885d513c983b72eec8f4606 Found module libk5crypto.so.3 with build-id: a555d7d097caef944618dbf86698bed26554bf7a Found module libkrb5.so.3 with build-id: db455acb446171b48d7bde2670dd625073c296c8 Found module libgssapi_krb5.so.2 with build-id: 52ab601251e2a66653003a2cd85b6abf1a176a31 Found module libtirpc.so.3 with build-id: c4c9c5be69eebb2d18b328fdad2cd01c70d64393 Found module libnsl.so.3 with build-id: 792d09a2fab5e26a10e55107a48e0f38a3ff5e9a Found module libnss_nis.so.2 with build-id: a11566fc23f486a2864c1936f44030fac25b739e Found module libnss_compat.so.2 with build-id: 2cefaf09ec31f74220926e1168435886052e2baf Found module pam_deny.so with build-id: 54d0781e9e0ba72872c9494f8c23687878af7e68 Found module pam_warn.so with build-id: 7b49e21a696e67e47d706652d9f93937ea2a87aa Found module pam_umask.so with build-id: e9538b211dcee41b5a0bdc1d919da5ef00361831 Found module pam_limits.so with build-id: e96cae8a1e068ae32f333f688821ce173de18153 Found module libpam_misc.so.0 with build-id: 16ee2cc5e5cbbf870fc73c85d7a16747fd88dfe6 Found module pam_systemd.so with build-id: 01652d53bcaaee9cf2607800adbd60b3d2a07b91 Found module pam_mkhomedir.so with build-id: 1a493d56372a0a584f1599b53568b73ec2eef10a Found module pam_selinux.so with build-id: a8dccb24c0c3f323dcc978d7a4a5683f524b47fb Found module pam_keyinit.so with build-id: e670bcb24131e771c801dc370ddb3a0dd31fcf21 Found module pam_loginuid.so with build-id: 6c093ad0b0118562c6810accf04192f66c3b576f Found module libcrack.so.2 with build-id: 05325152d1110aa58f3f6125f0cfc497d54a6684 Found module libpwquality.so.1 with build-id: 3fe2a101b0c1d0408f01aceae94e16aaf8627a21 Found module pam_pwquality.so with build-id: ed5dd903b5ae453ea42c140912a1235ea815a0d4 Found module pam_localuser.so with build-id: 59b99b5c14bc26986a19be02bb5155b693ebf695 Found module libwinbind-client-samba4.so with build-id: a2cb82bd8a7eb4e8bb4e54cc159fa5370752df8a Found module libtalloc.so.2 with build-id: 528e0a92a63b1c6903c8ec41519539a5a4871230 Found module libwbclient.so.0 with build-id: b9471733989dcdc1f9dbdb9d8e16a5e180c4d678 Found module libreplace-samba4.so with build-id: 75ae5d8da9a6ee7dd941b7f8e8d8f1647c7c509e Found module pam_winbind.so with build-id: 1e0827de9d3373be1060e5c99d7e7872fd830bab Found module pam_unix.so with build-id: 832347e1c6ebba3203cd7cd3814b4a1cf017e1a2 Found module pam_gnome_keyring.so with build-id: 8b5a0102f31c69bf5325bba9cb00c8f06b476453 Found module pam_env.so with build-id: d236cc639435ab22ca6161333ef004fc7f48d284 Found module pam_nologin.so with build-id: 2c540490372f5568c45b4bdd1719ff44f9e5694d Found module libudev.so.1 with build-id: de3bf02fc76a3ccd0b854f1e1e3d7245531485bd Found module libjson-c.so.5 with build-id: 740bd30d8dd6f9c1f9499d68f0f0fd4ec2f823c4 Found module libargon2.so.1 with build-id: 5dec033bac16d08a0ab599e3997f86062c14e7bc Found module libdevmapper.so.1.03 with build-id: 5c579e71ebc0a3e0e69e4f59d09d4d973ebf18b9 Found module libuuid.so.1 with build-id: 9b7d6480706906dded03b515b5043a297f623166 Found module libm.so.6 with build-id: c88e7978602aa1f4c197beecd886beaf86c97d42 Found module libcryptsetup.so.12 with build-id: ffe0b5e967e6e113d88b0ec5173ea842476036d3 Found module libcrypto.so.1.1 with build-id: 8df7bfdbc7d685a910cccf1ec6cef8a703bf1cec Found module libxml2.so.2 with build-id: 0c4ed8a28f0aefdff2037803bfc5bc4f3fbf8b4d Found module libHX.so.32 with build-id: 7183f4cb6f77a41c375e0c8990fd1143f09d63dc Found module libcryptmount.so.0 with build-id: 457529b9536d02c07e803ea70dc1b717734fd6c7 Found module pam_mount.so with build-id: 7b1c293c5d31ea2f5c774786350aa41e6ff96eef Found module libblkid.so.1 with build-id: 035cb71f8f0f35962b7ee36370812177dc6f8d3a Found module libgpg-error.so.0 with build-id: 4db4852a0ac95da57005de7e92fb7f99eccca826 Found module libeconf.so.0 with build-id: 488f60826b82a071e10dd1d190901f73237bd459 Found module libcrypt.so.1 with build-id: bab38de7141f074f828e68ecda15c52f40052dd4 Found module libpcre2-8.so.0 with build-id: 46275dcbaf1d90655689fcef73a9672971da2729 Found module libmount.so.1 with build-id: 703972c3725e9310cff03ce32d9a5a1d2c1e0788 Found module libz.so.1 with build-id: ca0254f7e149a787d1aa310d7652cb9da10ddb6c Found module libgmodule-2.0.so.0 with build-id: 37e883ce6ebf6a26b8f3692c67db29e147ee8fa1 Found module libpcre.so.1 with build-id: b24ed45c51c6b54dfc2f5a9b3c7358d08b95e8ff Found module libffi.so.8 with build-id: 360c0c7dbca0d85a3e7424f500bbbde0b16426d4 Found module ld-linux-x86-64.so.2 with build-id: 4c632bb201656e971acab1fef1defed6d7ae59dc Found module libgcrypt.so.20 with build-id: b42217713b6dde01b56599aa5f277a19ebbcdc70 Found module libcap.so.2 with build-id: 5b5386aad5e84f3056ba759c0e85ccf17854e647 Found module liblz4.so.1 with build-id: 968ac2baa13e3e1f97143a2688713db9b1d66102 Found module libzstd.so.1 with build-id: 171a1a1f4fb732f38b5a392e24b33e0a53b2be94 Found module liblzma.so.5 with build-id: 114f5de77af42eeae25b95718dfee184e2cab587 Found module libc.so.6 with build-id: cb1a3ab12ec79b90a223f835a3144e4c674855a4 Found module libaudit.so.1 with build-id: de6782d8908dcae0f7bd60afe45290d2100da44b Found module libXau.so.6 with build-id: 6380e242b53ea6076bea41d5367d97dfd612fca1 Found module libpam.so.0 with build-id: 43ffa2acc18a0403926f46753ff37819d25a90a5 Found module libaccountsservice.so.0 with build-id: e40500d373ad5aad57ee0f9f9756a5f2df3e5c00 Found module libselinux.so.1 with build-id: bda593aa3828903d0bcfec26fd2a672ac058849b Found module libgio-2.0.so.0 with build-id: d671f40fbba27bb3ea03cd5bbf415af3615ba14c Found module libglib-2.0.so.0 with build-id: 8cc68b04aede3403e583021ac937fed379b7d55f Found module libgobject-2.0.so.0 with build-id: 52cf8f8b32d53eca185dedeecdaee3a222008986 Found module libsystemd.so.0 with build-id: 2d1eb36eeaf8a0707a12cfcabe51826534b7c9e3 Found module gdm-session-worker with build-id: 1b4a994f0ef2f5292822493c96d88ab9a25fd99c Stack trace of thread 19343: #0 0x00007f2a7e91d87c __pthread_kill_implementation (libc.so.6 + 0x8f87c) #1 0x00007f2a7e8d06f6 raise (libc.so.6 + 0x426f6) #2 0x00007f2a7e8ba7b3 abort (libc.so.6 + 0x2c7b3) #3 0x00007f2a7e911a67 __libc_message (libc.so.6 + 0x83a67) #4 0x00007f2a7e92786c malloc_printerr (libc.so.6 + 0x9986c) #5 0x00007f2a7e92979f _int_free (libc.so.6 + 0x9b79f) #6 0x00007f2a7e92bc05 free (libc.so.6 + 0x9dc05) #7 0x00007f2a7d09dee9 HX_realpath (libHX.so.32 + 0xaee9) #8 0x00007f2a7d0cfafd n/a (pam_mount.so + 0xaafd) #9 0x00007f2a7d0d026b n/a (pam_mount.so + 0xb26b) #10 0x00007f2a7d0d0aee pam_sm_open_session (pam_mount.so + 0xbaee) #11 0x00007f2a7eacfdc1 n/a (libpam.so.0 + 0x8dc1) #12 0x00005645c66b5b68 n/a (gdm-session-worker + 0x22b68) #13 0x00007f2a7ed91a37 n/a (libglib-2.0.so.0 + 0x52a37) #14 0x00007f2a7ed95d5f g_main_context_dispatch (libglib-2.0.so.0 + 0x56d5f) #15 0x00007f2a7ed960e8 n/a (libglib-2.0.so.0 + 0x570e8) #16 0x00007f2a7ed963d3 g_main_loop_run (libglib-2.0.so.0 + 0x573d3) #17 0x00005645c66a0ce9 n/a (gdm-session-worker + 0xdce9) #18 0x00007f2a7e8bb540 __libc_start_call_main (libc.so.6 + 0x2d540) #19 0x00007f2a7e8bb5ec __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d5ec) #20 0x00005645c66a0ee5 n/a (gdm-session-worker + 0xdee5) Stack trace of thread 19345: #0 0x00007f2a7e99381f __poll (libc.so.6 + 0x10581f) #1 0x00007f2a7ed9607e n/a (libglib-2.0.so.0 + 0x5707e) #2 0x00007f2a7ed963d3 g_main_loop_run (libglib-2.0.so.0 + 0x573d3) #3 0x00007f2a7ec79326 n/a (libgio-2.0.so.0 + 0x125326) #4 0x00007f2a7edc03ce n/a (libglib-2.0.so.0 + 0x813ce) #5 0x00007f2a7e91bb37 start_thread (libc.so.6 + 0x8db37) #6 0x00007f2a7e9a0640 __clone3 (libc.so.6 + 0x112640) Stack trace of thread 19344: #0 0x00007f2a7e99381f __poll (libc.so.6 + 0x10581f) #1 0x00007f2a7ed9607e n/a (libglib-2.0.so.0 + 0x5707e) #2 0x00007f2a7ed9619f g_main_context_iteration (libglib-2.0.so.0 + 0x5719f) #3 0x00007f2a7ed961f1 n/a (libglib-2.0.so.0 + 0x571f1) #4 0x00007f2a7edc03ce n/a (libglib-2.0.so.0 + 0x813ce) #5 0x00007f2a7e91bb37 start_thread (libc.so.6 + 0x8db37) #6 0x00007f2a7e9a0640 __clone3 (libc.so.6 + 0x112640) okt 14 10:14:23 PRAETS systemd[1]: systemd-coredump@3-19364-0.service: Deactivated successfully. okt 14 10:14:23 PRAETS systemd-logind[882]: Session 5 logged out. Waiting for processes to exit. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c2 --- Comment #2 from Philip Raets <philip.raets@telenet.be> --- if I remove the symlink /etc/pam.d/gdm-password (so the system uses the default /usr/etc/pam.d/gdm-password), I can login again, but I don't have my network drives anymore. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c3 Matthias Fehring <buschmann23@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |buschmann23@opensuse.org --- Comment #3 from Matthias Fehring <buschmann23@opensuse.org> --- Same here, but with SDDM and also on tty. Removing pam_mount helps, but it seems not to be pam_mount itself because also mount.crypt does not work for me when using it directly to mount a LUKS2 partition. Both give ``` free(): double free detected in tcache 2 Aborted (core dumped) ``` -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c4 --- Comment #4 from Matthias Fehring <buschmann23@opensuse.org> --- The issue is in libHX 4.0.1 and is solved in libHX 4.1. Updated version is already requested for Tumbleweed. Using the current version from https://download.opensuse.org/repositories/devel:/libraries:/c_c++/ solves the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c5 --- Comment #5 from Philip Raets <philip.raets@telenet.be> --- I've installed the updated version, and it works. Thanks -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 Martin Jedamzik <martin.jedamzik@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.jedamzik@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c6 --- Comment #6 from Martin Jedamzik <martin.jedamzik@suse.com> --- Just checked installing libHX32 from devel which is working fine for pam_mount, however, it breaks evolution-ews. Reverting the change I can see my O365 mail account again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c7 --- Comment #7 from Martin Jedamzik <martin.jedamzik@suse.com> --- Please disregard comment#6, should have logged out and in again before reporting the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191642 http://bugzilla.opensuse.org/show_bug.cgi?id=1191642#c8 Philip Raets <philip.raets@telenet.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Philip Raets <philip.raets@telenet.be> --- libHX 4.1 has landed in Tumbleweed 20211016, which fixes this issue -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com