[Bug dynamic-link/31986] Loading the same library within an audit library and within an application can cause ld.so to crash with an assert.

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Tue May 20 09:38:48 GMT 2025


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.41
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Florian Weimer <fweimer at redhat dot com> ---
The additional test has been committed:

commit d604f9c500570e80febfcc6a52b63a002b466f35
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Mar 11 15:30:52 2025 +0100

    elf: Test dlopen (NULL, RTLD_LAZY) from an ELF constructor

    This call must not complete initialization of all shared objects
    in the global scope because the ELF constructor which makes the call
    likely has not finished initialization.  Calling more constructors
    at this point would expose those to a partially constructed
    dependency.

    This completes the revert of commit 9897ced8e78db5d813166a7ccccfd5a
    ("elf: Run constructors on cyclic recursive dlopen (bug 31986)").

The main fix went into 2.41.

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


More information about the Glibc-bugs mailing list