Project

General

Profile

Backport #14620

hammer: unsafe use of libnss PK11_GetBestSlot()

Added by Josh Durgin over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Release:
hammer
Crash signature:


Related issues

Related to rbd - Bug #6480: librbd crashed qemu-system-x86_64 Resolved 10/07/2013
Related to rbd - Backport #14863: hammer: test/crypto.cc:161:43: error: ‘ceph_clock_now’ was not declared in this scope Resolved

History

#1 Updated by Josh Durgin over 4 years ago

  • Description updated (diff)

#2 Updated by Josh Durgin over 4 years ago

  • Related to Bug #6480: librbd crashed qemu-system-x86_64 added

#3 Updated by Nathan Cutler over 4 years ago

@Loic, this appears to be a backport of https://github.com/ceph/ceph/pull/3896 which has no associated tracker issue.

#4 Updated by Loic Dachary over 4 years ago

  • Description updated (diff)

PK11_GetBestSlot() does not appear to be threadsafe, and can be called from multiple threads, leading to a crash similar to that in #6480.

#5 Updated by Loic Dachary over 4 years ago

  • Status changed from Fix Under Review to In Progress

#6 Updated by Loic Dachary over 4 years ago

  • Status changed from In Progress to Fix Under Review

#7 Updated by Loic Dachary over 4 years ago

Maybe http://tracker.ceph.com/issues/14367 is the corresponding issue ?

#8 Updated by Loic Dachary over 4 years ago

  • Status changed from Fix Under Review to In Progress

#9 Updated by Loic Dachary over 4 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v0.94.7

#10 Updated by Loic Dachary over 4 years ago

  • Related to Backport #14863: hammer: test/crypto.cc:161:43: error: ‘ceph_clock_now’ was not declared in this scope added

Also available in: Atom PDF