[Bug 1858203] Re: Patch for glibc Bug 23538 - "Hang in pthread_cond_broadcast" not available on Ubuntu LTS

Launchpad Bug Tracker 1858203 at bugs.launchpad.net
Mon Nov 2 18:40:35 UTC 2020


This bug was fixed in the package glibc - 2.27-3ubuntu1.3

---------------
glibc (2.27-3ubuntu1.3) bionic; urgency=medium

  [ Balint Reczey ]
  * debian/gbp.conf: Add initial configuration
  * debian/control.in/main: Add Vcs-* pointing to Ubuntu packaging repository
  * arm64: Enable searching shared libraries in atomics/ on LSE HW
  * Ship arm64 variant with LSE support in libc6-lse (LP: #1885012)
  * Run tests of libc6-lse on HW supporting LSE
  * debian/patches/git-updates.diff: update from upstream stable branch
    - pthread_cond_broadcast: Fix waiters-after-spinning case
    - Fix SSe2-based memmove corrupting memory (CVE-2017-18269)
    - Fix strstr() performance regression on Haswell processors
    - Support Japanese new era "令和 (Reiwa)"
    - io: Remove copy_file_range emulation
    (LP: #1851263, #1858203, #1838327, #1797335, #1756209, #1853193)
  * XFAIL stdlib/tst-getrandom (LP: #1891403)
  * debian/testsuite-xfail-debian.mk: XFAIL new tst-support_descriptors

  [ Thadeu Lima de Souza Cascardo ]
  * tests: Make preadwritev2 invalid flags tests unsupported (LP: #1770480)

  [ Andreas Hasenack ]
  * branch-pthread_rwlock_trywrlock-hang-23844.patch:
    nptl: Fix pthread_rwlock_try*lock stalls (Bug 23844) (LP: #1864864)

 -- Balint Reczey <rbalint at ubuntu.com>  Wed, 02 Sep 2020 11:18:37 +0200

** Changed in: glibc (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2017-18269

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1858203

Title:
  Patch for glibc Bug 23538 - "Hang in pthread_cond_broadcast" not
  available on Ubuntu LTS

Status in glibc package in Ubuntu:
  Fix Released
Status in glibc source package in Bionic:
  Fix Released

Bug description:
  [Impact]
   * Glibc can hang when using pthread condition variables

  [Test Case]
  * Not provided, thus observe the upstream patch being applied while building the package:

  commit 2b47bb9cba048e778a7d832f284feccb14a40483
  Author: Martin Kuchta <martin.kuchta at netapp.com>
  Date:   Mon Aug 27 18:54:46 2018 +0200

      pthread_cond_broadcast: Fix waiters-after-spinning case [BZ
  #23538]

      (cherry picked from commit
  99ea93ca31795469d2a1f1570f17a5c39c2eb7e2)

  [Regression Potential]
  * Can cause incorrect sinchronization across threads leading various stability and correctness problems, but the fix is small and is part of the upstream branch for some time. Also extensive regression testing was performed to detect regressions.

  [Original Bug Text]
  There is a patch for versions of glibc prior to 2.29 which fixes a hang that can occur when using pthread condition variables. [1]

  I was unable to locate the patch [2] in the glibc-source tree.
  However, I can confirm that the defect also occurs on Ubuntu 18.04
  with glibc 2.27-3.

  Would it be possible to backport the patch to the glibc version
  shipped with the current LTS of Ubuntu?

  Thanks!

  Martin

  [1] https://sourceware.org/bugzilla/show_bug.cgi?id=23538
  [2] https://sourceware.org/ml/libc-alpha/2018-08/msg00513.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1858203/+subscriptions



More information about the foundations-bugs mailing list