Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-109702

glibc: ld.so asserts when library is loaded within audit library and application [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • glibc-2.39-57.el10
    • No
    • Low
    • Hide
      9897ced8e78db5d813166a7ccccfd5a42c69ef20
      e096b7a1896886eb7dd2732ccbf1184b0eec9a63
      43db5e2c0672cae7edea7c9685b22317eae25471
      95129e6b8fabdaa8cd8a4a5cc20be0f4cb0ba59f
      d604f9c500570e80febfcc6a52b63a002b466f35
      ac73067cb7a328bf106ecd041c020fc61be7e087
      Show
      9897ced8e78db5d813166a7ccccfd5a42c69ef20 e096b7a1896886eb7dd2732ccbf1184b0eec9a63 43db5e2c0672cae7edea7c9685b22317eae25471 95129e6b8fabdaa8cd8a4a5cc20be0f4cb0ba59f d604f9c500570e80febfcc6a52b63a002b466f35 ac73067cb7a328bf106ecd041c020fc61be7e087
    • 1
    • rhel-pt-c-libs
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • PT C Libraries 2025 S12
    • Bug Fix
    • Hide
      .Improved support for recursive `dlopen` calls in audit modules in `glibc`

      Previously, recursive ‎`dlopen` calls from auditors could trigger an ‎`r_state == RT_CONSISTENT` assertion failure in glibc’s ‎`dl-open.c`. As a consequence, applications exited unexpectedly when auditors were active. With this update, the dynamic linker reports consistency of its internal data structures earlier during an in-progress ‎`dlopen` call. As a result, recursive ‎`dlopen` operations for auditors are supported in more cases.
      Show
      .Improved support for recursive `dlopen` calls in audit modules in `glibc` Previously, recursive ‎`dlopen` calls from auditors could trigger an ‎`r_state == RT_CONSISTENT` assertion failure in glibc’s ‎`dl-open.c`. As a consequence, applications exited unexpectedly when auditors were active. With this update, the dynamic linker reports consistency of its internal data structures earlier during an in-progress ‎`dlopen` call. As a result, recursive ‎`dlopen` operations for auditors are supported in more cases.
    • Done
    • Done
    • Unspecified
    • Done
    • None

      This is a clone of issue RHEL-47403 to use for version rhel-10.1

      Original description:
      What were you trying to do that didn't work?
          When a library is loaded within both an audit library and a application, ld.so catches an assertion and crashes.
      Please provide the package NVR for which bug is seen:
          glibc-2.34-100.el9_4.2.x86_64
          glibc-common-2.34-100.el9_4.2.x86_64
      How reproducible:
          This behavior is consistently reproducible.
      Steps to reproduce
          1. Unpack reproducer tarball archive.
          2. Run make
          3. Observe behavior
      Expected results
          ld.so does not catch assertion and crash
      Actual results
          ld.so catches assertion and crashes.

      NOTE: This behavior has also been observed in the upstream Fedora distribution as well, a bug listing has already been filed for this.

              xmcoufal Martin Coufal
              watson-automation Watson Automation
              Florian Weimer Florian Weimer
              Martin Coufal Martin Coufal
              Malhar Jivrajani Malhar Jivrajani
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: