public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/29522] New: Missing invalidation of the link map cache in __cxa_thread_atexit_impl
@ 2022-08-25  9:11 fweimer at redhat dot com
  0 siblings, 0 replies; only message in thread
From: fweimer at redhat dot com @ 2022-08-25  9:11 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 29522
           Summary: Missing invalidation of the link map cache in
                    __cxa_thread_atexit_impl
           Product: glibc
           Version: 2.37
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

__cxa_thread_atexit_impl uses the TLS variables dso_symbol_cache and lm_cache,
but the cache is not invalidated in dlclose. This means there is an ABA bug,
and we could use the wrong link map for a stale dso_symbol value.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-25  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  9:11 [Bug dynamic-link/29522] New: Missing invalidation of the link map cache in __cxa_thread_atexit_impl 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).