Red Hat Bugzilla – Bug 1298530
opensc-pkcs11.so crash firefox / chrome when a card is inserted
Last modified: 2016-10-04 01:55:19 EDT
Description of problem:
That last version of opensc-pkcs11.so included in the opensc-0.15 package crash Firefox / Chrome when a card is inserted on the reader.
Version-Release number of selected component (if applicable):
The problem affects opensc-0.15.0-2.fc23 (stable repo) and also opensc-0.15.0-3.fc24 (rawhide repo)
The problem is reproducible every time you insert a card after adding opensc-pkcs11.so library to the security devices on Firefox.
I've tried also with Chrome and a similar crash appears when I try to add the module to Chrome with a card inserted.
If I downgrade to previous version of opensc included in Fedora 22, all works perfectly.
Steps to Reproduce in FireFox:
1. Add the /usr/lib64/opensc-pkcs11.so library to the security devices on Firefox.
2. Insert a card in the card reader.
Firefox must not crash.
Steps to Reproduce in Chrome:
1. Insert a card on the reader.
2. Add opensc-pkcs11 module to Chrome with the following command:
$ modutil -dbdir .pki/nssdb/ -add "opensc" -libfile /usr/lib64/opensc-pkcs11.so
Chrome must not crash.
If I downgrade the package to opensc-0.14.0-2.fc22.x86_64 (previous Fedora release) all seems to work. The command used to downgrade is this one:
# dnf downgrade --releasever=22 opensc*
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Can you reproduce the same behavior with the package from Fedora 25 (upstream version 0.16.0)?
# dnf update --releasever=25 opensc*
Did you get any coredump with backtrace to share (preferably with debuginfo packages installed)? What type of card are you using?
I've tried the upstream version 0.16.0 you proposed and seems to work fine:
# rpm -qa | grep opensc
Unfortunately I don't have any coredump, but seems that the problem has gone in the last version, so I think we can close the case.
Thank you very much.