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

glibc: pthread_cond_wait missed wakeup (swbz#25847) [rhel-9]

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

    • glibc-2.34-164.el9
    • None
    • Moderate
    • ZStream
    • 1
    • rhel-pt-c-libs
    • ssg_platform_tools
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • PT Libraries 2025 S03
    • Approved Blocker
    • Bug Fix
    • Hide
      .The implementation of POSIX thread condition variables in `glibc` to wake waiting threads has been improved

      Previously, a defect in the POSIX thread condition variable implementation could allow a `pthread_signal()` API call to fail to wake a waiting thread. Consequently, a thread could wait indefinitely for a next signal or broadcast. With this bug fix, the implementation of POSIX thread condition variables now includes a sequence-relative algorithm to avoid the missed signal condition and to provide stronger guarantees that waiting threads are woken correctly.
      Show
      .The implementation of POSIX thread condition variables in `glibc` to wake waiting threads has been improved Previously, a defect in the POSIX thread condition variable implementation could allow a `pthread_signal()` API call to fail to wake a waiting thread. Consequently, a thread could wait indefinitely for a next signal or broadcast. With this bug fix, the implementation of POSIX thread condition variables now includes a sequence-relative algorithm to avoid the missed signal condition and to provide stronger guarantees that waiting threads are woken correctly.
    • Done
    • All
    • None

      The upstream bug should be fixed in RHEL9 in order to support migrating from CentOS 7 or RHEL7 to RHEL9 where the underlying condition variable implementation changed to the new scalable version.

      The upstream bug should be fixed in RHEL8 in order to support migrating from CentOS 7 or RHEL7 to RHEL8 where the underlying condition variable implementation changed to the new scalable version.

      Upstream the bug is known as: Bug 25847 - pthread_cond_signal failed to wake up pthread_cond_wait due to a bug in undoing stealing
      https://sourceware.org/bugzilla/show_bug.cgi?id=25847

              skolosov@redhat.com Sergey Kolosov
              rhn-support-codonell Carlos O'Donell
              Platform Tools - Libraries Bot Platform Tools - Libraries Bot
              qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
              Marc Muehlfeld Marc Muehlfeld
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: