Bug 1281830
Summary: | Harden all packages: deltarpm should ship position-independent executables | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> |
Component: | deltarpm | Assignee: | Jonathan Dieter <jonathan> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | jonathan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | deltarpm-3.6-13.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-17 11:57:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Christian Stadelmann
2015-11-13 14:33:10 UTC
deltarpm-3.6-13.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-0745c3f7a7 deltarpm-3.6-13.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update deltarpm' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-0745c3f7a7 The rpmdumpheader executable doesn't have stack canary enabled: $ checksec --file /usr/bin/rpmdumpheader RELRO STACK CANARY NX PIE RPATH RUNPATH FILE Full RELRO No canary found NX enabled PIE enabled No RPATH No RUNPATH /usr/bin/rpmdumpheader Is this intended? Um, no. Let me investigate. Ok, I've investigated and we're doing exactly the same thing when generating rpmdumpheader as we are for all the other binaries. According to http://stackoverflow.com/questions/24465014/gcc-generate-canary-or-not, gcc uses a heuristic when deciding whether or not to use a canary, and rpmdumpheader has one single function in it, main. My guess is that rpmdumpheader doesn't fit into the heuristic, thus no stack canary is generated. I'm not at all an expert when it comes to this, so feel free to correct me if I'm wrong. I guess you are right about that. I'm no expert on it either. Since rpmdumpheader has just a single function it might not have "enough stack" to make stack canary useful. Sorry for the noise. deltarpm-3.6-13.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |