Bug 2033255
| Summary: | annocheck reports that ld-linux-aarch64.so.1 fails stack-prot test | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Component: | annobin | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED ERRATA | QA Contact: | Václav Kadlčík <vkadlcik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | fweimer, jpazdziora, mcermak, nickc, rlemosor, vkadlcik |
| Target Milestone: | rc | Keywords: | Bugfix, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | annobin-10.40-1.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 12:33:28 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2044387 | ||
|
Description
Jan Pazdziora (Red Hat)
2021-12-16 11:28:16 UTC
(In reply to Jan Pazdziora from comment #0) Hi Jan, > Hardened: /usr/lib/ld-linux-aarch64.so.1: FAIL: stack-prot test because > Running on /lib/ld-linux-aarch64.so.1 actually passes > so I wonder if this is another instance of (or caused by change for) bug > 2022973. It is. Annocheck now contains a list of known glibc binaries for which certain tests should be skipped. /lib/ld-linux-aarch64.so.1 is one of these binaries. The list uses hard coded paths, which is why /usr/lib/ld-linux-aarch64.so.1 is not matching. *But* as far as I can see the glibc-2.34-13.el9.aarch64 rpm does not contain a /usr/lib/ld-linux-aarch64.so binary, nor a symbolic link to one. So I am not sure where yours is coming from. I can add /usr/lib/ld-linux-aarch64.so.1 of course, but I would like to confirm that this is a valid glibc binary. (The whole point of using hard coded paths in annocheck was so that users could not spoof the checks by renaming their binaries). Cheers Nick (In reply to Nick Clifton from comment #2) > > *But* as far as I can see the glibc-2.34-13.el9.aarch64 rpm does not contain > a /usr/lib/ld-linux-aarch64.so binary, nor a symbolic link to one. So I am > not sure where yours is coming from. I can add > /usr/lib/ld-linux-aarch64.so.1 of course, but I would like to confirm that > this is a valid glibc binary. (The whole point of using hard coded paths in > annocheck was so that users could not spoof the checks by renaming their > binaries). The glibc-2.34-13.el9.aarch64 ships /lib/ld-linux-aarch64.so.1 (lists it as such in %files). But as with /sbin in bug 2022973, /lib is a symlink to /usr/lib, so the file actually lands at /usr/lib/ld-linux-aarch64.so.1. Our annocheck scans avoid symlinks and just walk the directories. Fixed in annobin-10.39-1.el9 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: annobin), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:2342 |