Project

General

Profile

Actions

Bug #44403

open

/usr/lib64/ceph/libceph-common.so.0 isn't CET enabled

Added by Kaleb KEITHLEY about 4 years ago. Updated over 3 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
librados
Target version:
% Done:

0%

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

Description

[hjl@gnu-cfl-1 ~]$ readelf -n /usr/lib64/ceph/libceph-common.so.0 2>&1 | grep IBT

https://bugzilla.redhat.com/show_bug.cgi?id=1809799


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #46661: common: /usr/lib64/ceph/libceph-common.so.0 isn't CET enabledRejectedNathan CutlerActions
Actions #1

Updated by Kaleb KEITHLEY about 4 years ago

Most or many other libs have IBT and SHSTK enabled, but not libceph-common.so

To enable CET, all linker inputs must be CET enabled, -Wl,-z,cet-report=error reports:

/usr/local/bin/ld: ../lib/libcrc32.a(crc32c_intel_fast_asm.s.o): error: missing IBT and SHSTK properties
/usr/local/bin/ld: ../lib/libcrc32.a(crc32c_intel_fast_zero_asm.s.o): error: missing IBT and SHSTK properties
/usr/local/bin/ld: ../boost/lib/libboost_thread.a(thread.o): error: missing IBT and SHSTK properties
/usr/local/bin/ld: ../boost/lib/libboost_thread.a(once.o): error: missing IBT and SHSTK properties
/usr/local/bin/ld: ../boost/lib/libboost_system.a(error_code.o): error: missing IBT and SHSTK properties
/usr/local/bin/ld: ../boost/lib/libboost_iostreams.a(zlib.o): error: missing IBT and SHSTK properties

Actions #2

Updated by Kaleb KEITHLEY almost 4 years ago

I guess this should have been filed against RADOS/librados as libceph-common is part of the librados2 package.

too bad I don't have sufficient privs to change this myself.

Actions #3

Updated by Kefu Chai over 3 years ago

  • Category changed from common to librados
Actions #4

Updated by Nathan Cutler over 3 years ago

  • Backport set to octopus
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 36229
Actions #6

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #46661: common: /usr/lib64/ceph/libceph-common.so.0 isn't CET enabled added
Actions

Also available in: Atom PDF