Package: nfs-common Version: 1:1.3.4-6 Severity: important X-Debbugs-Cc: foufo...@gmail.com
Dear Maintainer, I run a kerberized nfs setup, from time to time rpc.gssd gets killed by an ABRT signal (stacktrace bellow). I has been a problem for a couple years now, but lately for some reason it has become very very recurent (once a month or 2 to 2-3 times a week). A double free is the root cause,I guess it stems from a race condition. Upstream seem to have fixed with at lease those 3 commits (82e75b12c 07e4e94bf ed83085ff), which does not seem to have been backported to 1.3.x -- Package-specific info: -- rpcinfo -- program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100007 3 udp 739 ypbind 100007 2 udp 739 ypbind 100007 1 udp 739 ypbind 100007 3 tcp 739 ypbind 100007 2 tcp 739 ypbind 100007 1 tcp 739 ypbind -- /etc/default/nfs-common -- NEED_STATD= STATDOPTS= NEED_IDMAPD= NEED_GSSD= -- /etc/idmapd.conf -- [General] Verbosity = 0 Pipefs-Directory = /run/rpc_pipefs Domain=ads.iro.umontreal.ca [Mapping] Nobody-User = nobody Nobody-Group = nogroup -- /etc/fstab -- -- System Information: Debian Release: 11.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-20-amd64 (SMP w/4 CPU threads) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nfs-common depends on: ii adduser 3.118 ii keyutils 1.6.1-2 ii libc6 2.31-13+deb11u5 ii libcap2 1:2.44-1 ii libcom-err2 1.46.2-2 ii libdevmapper1.02.1 2:1.02.175-2.1 ii libevent-2.1-7 2.1.12-stable-1 ii libgssapi-krb5-2 1.18.3-6+deb11u3 ii libkeyutils1 1.6.1-2 ii libkrb5-3 1.18.3-6+deb11u3 ii libmount1 2.36.1-8+deb11u1 ii libnfsidmap2 0.25-6 ii libtirpc3 1.3.1-1+deb11u1 ii libwrap0 7.6.q-31 ii lsb-base 11.1.0 ii rpcbind 1.2.5-9 ii ucf 3.0043 Versions of packages nfs-common recommends: ii python3 3.9.2-3 Versions of packages nfs-common suggests: pn open-iscsi <none> pn watchdog <none> -- Configuration Files: /etc/default/nfs-common changed [not included] -- no debconf information *** stacktrace #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f27669ae537 in __GI_abort () at abort.c:79 #2 0x00007f2766a07768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f2766b253a5 "%s\n") at ../sysdeps/posix/libc_fatal.c:155 #3 0x00007f2766a0ea5a in malloc_printerr (str=str@entry=0x7f2766b27748 "double free or corruption (fasttop)") at malloc.c:5347 #4 0x00007f2766a0fd55 in _int_free (av=0x7f2744000020, p=0x7f2744005970, have_lock=0) at malloc.c:4266 #5 0x00005570d8a15fa7 in gssd_get_single_krb5_cred (context=0x7f275c02a390, kt=0x7f275c002300, ple=ple@entry=0x7f2760001850, nocache=0) at krb5_util.c:427 #6 0x00005570d8a1627d in gssd_refresh_krb5_machine_credential (hostname=0x5570da319120 "hostname", ple=0x7f2760001850, ple@entry=0x0, service=service@entry=0x5570da331840 "*") at krb5_util.c:1302 #7 0x00005570d8a13940 in krb5_use_machine_creds (clp=clp@entry=0x5570da318d80, uid=uid@entry=0, tgtname=tgtname@entry=0x0, service=service@entry=0x5570da331840 "*", rpc_clnt=rpc_clnt@entry=0x7f2757ffede8) at gssd_proc.c:536 #8 0x00005570d8a13b09 in process_krb5_upcall (clp=clp@entry=0x5570da318d80, uid=uid@entry=0, fd=16, tgtname=tgtname@entry=0x0, service=service@entry=0x5570da331840 "*") at gssd_proc.c:646 #9 0x00005570d8a1437f in handle_gssd_upcall (info=0x5570da331820) at gssd_proc.c:805 #10 0x00007f2766b6aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f2766a88a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95