Patch for glibc Bug 23538 - "Hang in pthread_cond_broadcast" not available on Ubuntu LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
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 2b47bb9cba048e7
Author: Martin Kuchta <email address hidden>
Date: Mon Aug 27 18:54:46 2018 +0200
pthread_
(cherry picked from commit 99ea93ca3179546
[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:/
[2] https:/
CVE References
tags: | added: bionic rls-bb-incoming |
Changed in glibc (Ubuntu Bionic): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: id-5e20a12ae93db717a02ad190 |
tags: | removed: rls-bb-incoming |
description: | updated |
description: | updated |
tags: | added: fr-152 |
The upstream glibc commit containing the patch is here: /sourceware. org/git/ ?p=glibc. git;a=commit; f=nptl/ pthread_ cond_common. c;h=99ea93ca317 95469d2a1f1570f 17a5c39c2eb7e2
https:/