Project

General

Profile

Bug #44403

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

Added by Kaleb KEITHLEY 7 months ago. Updated about 16 hours 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:

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

Copied to Ceph - Backport #46661: common: /usr/lib64/ceph/libceph-common.so.0 isn't CET enabled Need More Info

History

#1 Updated by Kaleb KEITHLEY 7 months 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

#2 Updated by Kaleb KEITHLEY 2 months 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.

#3 Updated by Kefu Chai about 1 month ago

  • Category changed from common to librados

#4 Updated by Nathan Cutler about 16 hours ago

  • Backport set to octopus

#5 Updated by Nathan Cutler about 16 hours ago

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

#6 Updated by Nathan Cutler about 16 hours ago

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

Also available in: Atom PDF