[Pkg-auth-maintainers] Bug#783395: libpam-yubico: Segfault when using Yubikey for authentication prevents login

Stephen Paul Weber singpolyma at singpolyma.net
Thu Mar 24 20:45:02 UTC 2016


On Sun, 26 Apr 2015 20:17:00 +0200 =?utf-8?q?Henrik_St=C3=B8rner?= <henrik at hswn.dk> wrote:
> After upgrading from Wheezy to Jessie, Yubikey authentication has stoppped working.
> Apr 26 12:55:41 osiris kernel: [ 2717.882751] login[13942]: segfault at 7f6627ae2030 ip 00007f6626f67d28 sp 00007f661cc1b538 error 4 in libc-2.19.so[7f6626ee3000+19f000]

I had this problem also.  The bug is not in the pam module, it seems, but in 
the client.  Installing libykclient3_2.6-1_amd64.deb from oldstable fixes 
this issue for me, but upgrading to libykclient3_2.14-1_amd64.deb from sid 
does not.  So this is a regression in libykclient3 since oldstable.

Strangely, the segfault does not happen when I use yubikey with sudo.  Also, 
when I use with pwauth under gdb with thread debugging enabled, then also it 
does not happen.  But under gdb without thread debugging or without gdb then 
I still get the segfault with pwauth on affected versions.  So maybe it is 
a race condition of some kind?

-- 
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-auth-maintainers/attachments/20160324/1aad4942/attachment.sig>


More information about the Pkg-auth-maintainers mailing list