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

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

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

    • glibc-2.34-212.el9
    • None
    • Moderate
    • Hide
      9897ced8e78db5d813166a7ccccfd5a42c69ef20
      e096b7a1896886eb7dd2732ccbf1184b0eec9a63
      43db5e2c0672cae7edea7c9685b22317eae25471
      95129e6b8fabdaa8cd8a4a5cc20be0f4cb0ba59f
      d604f9c500570e80febfcc6a52b63a002b466f35
      1b5e65ef6a442fdccf88d43c3048f98292d85631
      a93d9e03a31ec14405cb3a09aa95413b67067380
      7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d
      ac73067cb7a328bf106ecd041c020fc61be7e087
      7278d11f3a0cd528188c719bab75575b0aea2c6e
      Show
      9897ced8e78db5d813166a7ccccfd5a42c69ef20 e096b7a1896886eb7dd2732ccbf1184b0eec9a63 43db5e2c0672cae7edea7c9685b22317eae25471 95129e6b8fabdaa8cd8a4a5cc20be0f4cb0ba59f d604f9c500570e80febfcc6a52b63a002b466f35 1b5e65ef6a442fdccf88d43c3048f98292d85631 a93d9e03a31ec14405cb3a09aa95413b67067380 7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d ac73067cb7a328bf106ecd041c020fc61be7e087 7278d11f3a0cd528188c719bab75575b0aea2c6e
    • 1
    • rhel-pt-c-libs
    • ssg_platform_tools
    • 1
    • False
    • Yes
    • Red Hat Enterprise Linux
    • PT Libraries 2025 S09
    • 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
    • Done
    • None

      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.

              skolosov@redhat.com Sergey Kolosov
              brclark@redhat.com Brandon Clark
              Brandon Clark
              Florian Weimer Florian Weimer
              Sergey Kolosov Sergey Kolosov
              Malhar Jivrajani Malhar Jivrajani
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: