public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/31594] New: IFUNC relocation resolving should constrain resolver and result
@ 2024-04-02 10:43 rguenth at gcc dot gnu.org
  2024-04-02 12:02 ` [Bug dynamic-link/31594] " fweimer at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-02 10:43 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31594

            Bug ID: 31594
           Summary: IFUNC relocation resolving should constrain resolver
                    and result
           Product: glibc
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

For security reasons both the resolver and the resolver result should point
inside the IFUNCs dynamic object.  Ideally the resolver should already have
bound locally (but I don't think this is technically required but by the
undefined order of relocating it).  Ideally the result would not require
further relocation (thus should not be the address of a PLT) but again
that's not enforced.  Having PLT addresses as result might complicate the
implementation of the check.  Possibly the link editor can offer diangostics
to sanitize IFUNC users.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-02 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-02 10:43 [Bug dynamic-link/31594] New: IFUNC relocation resolving should constrain resolver and result rguenth at gcc dot gnu.org
2024-04-02 12:02 ` [Bug dynamic-link/31594] " fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).