Project

General

Profile

Bug #14367

auth: possible race by using PK11_CreateContextBySymKey from multiple threads

Added by Josh Durgin about 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

helgrind warns about this function having races. It may not be threadsafe, like some other libnss methods.
We use it currently from potentially multiple threads for message signing in nss_aes_operation().

History

#1 Updated by Loïc Dachary about 8 years ago

Does https://github.com/ceph/ceph/pull/3896 fix this ? In which case http://tracker.ceph.com/issues/14620 would be the corresponding backport ?

#2 Updated by Josh Durgin almost 7 years ago

  • Status changed from New to Resolved

Yes, I think it does fix this.

Also available in: Atom PDF