Bug 1990342 (CVE-2021-32810)

Summary: CVE-2021-32810 rust-crossbeam-deque: race condition may lead to double free
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erack, igor.raits, jhorak, nobody, rust-sig, stransky, tpopela
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rust-crossbeam-deque 0.7.4, rust-crossbeam-deque 0.8.1, firefox 91.2, thunderbird 91.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-05 13:07:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1990343, 2009139, 2009140, 2009141, 2009142, 2009143, 2009144, 2009145, 2010723, 2010724, 2010725, 2010727, 2010728, 2010729, 2010730, 2010731, 2010732    
Bug Blocks:    

Description Marian Rehak 2021-08-05 08:41:24 UTC
The result of a race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue.

https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw

Comment 1 Marian Rehak 2021-08-05 08:41:38 UTC
Created rust-crossbeam-deque tracking bugs for this issue:

Affects: fedora-34 [bug 1990343]

Comment 2 Product Security DevOps Team 2021-08-05 13:07:12 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 errata-xmlrpc 2021-10-11 08:10:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:3756 https://access.redhat.com/errata/RHSA-2021:3756

Comment 4 errata-xmlrpc 2021-10-11 08:12:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:3757 https://access.redhat.com/errata/RHSA-2021:3757

Comment 5 errata-xmlrpc 2021-10-11 08:13:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:3755 https://access.redhat.com/errata/RHSA-2021:3755

Comment 6 errata-xmlrpc 2021-10-12 14:22:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:3791 https://access.redhat.com/errata/RHSA-2021:3791

Comment 7 errata-xmlrpc 2021-10-13 09:25:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:3840 https://access.redhat.com/errata/RHSA-2021:3840

Comment 8 errata-xmlrpc 2021-10-13 09:26:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:3839 https://access.redhat.com/errata/RHSA-2021:3839

Comment 9 errata-xmlrpc 2021-10-13 09:31:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:3838 https://access.redhat.com/errata/RHSA-2021:3838

Comment 10 errata-xmlrpc 2021-10-13 09:57:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:3841 https://access.redhat.com/errata/RHSA-2021:3841