[Pkg-samba-maint] Bug#831851: 4.2.10 in Jessie: "net usershare info" segfaults in libtdb-wrap.so.0

Vlad Orlov monsta at inbox.ru
Wed Jul 20 07:36:24 UTC 2016

Package: samba-libs
Version: 2:4.2.10+dfsg-0+deb8u3
Severity: normal
Control: tags -1 jessie


Running "net usershare info" or "net usershare list" results in segfault
in libtdb-wrap.so.0, presumably on passing NULL pointer to strcmp

Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
209	../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
(gdb) bt full
#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
No locals.
#1  0x00007fffed1f34d5 in tdb_wrap_open () from /usr/lib/x86_64-linux-gnu/samba/libtdb-wrap.so.0
No symbol table info available.
#2  0x00007ffff4442460 in ?? () from /usr/lib/x86_64-linux-gnu/libsmbconf.so.0
No symbol table info available.
#3  0x00007ffff44429c5 in gencache_stabilize () from /usr/lib/x86_64-linux-gnu/libsmbconf.so.0
No symbol table info available.
#4  0x0000555555578875 in main ()
No symbol table info available.

There's a set of patches available at [1] which should fix this issue.
The patches are already applied upstream.

Please backport a newer 4.2.x release into jessie-security repo, or
apply these patches to the current release.

[1] https://bugzilla.samba.org/show_bug.cgi?id=11032

More information about the Pkg-samba-maint mailing list