Bug 1990342 (CVE-2021-32810) - CVE-2021-32810 rust-crossbeam-deque: race condition may lead to double free
Summary: CVE-2021-32810 rust-crossbeam-deque: race condition may lead to double free
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-32810
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1990343 2009139 2009140 2009141 2009142 2009143 2009144 2009145 2010723 2010724 2010725 2010727 2010728 2010729 2010730 2010731 2010732
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-05 08:41 UTC by Marian Rehak
Modified: 2021-10-13 09:57 UTC (History)
7 users (show)

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:
Clone Of:
Environment:
Last Closed: 2021-08-05 13:07:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3755 0 None None None 2021-10-11 08:13:51 UTC
Red Hat Product Errata RHSA-2021:3756 0 None None None 2021-10-11 08:10:30 UTC
Red Hat Product Errata RHSA-2021:3757 0 None None None 2021-10-11 08:12:24 UTC
Red Hat Product Errata RHSA-2021:3791 0 None None None 2021-10-12 14:22:40 UTC
Red Hat Product Errata RHSA-2021:3838 0 None None None 2021-10-13 09:31:09 UTC
Red Hat Product Errata RHSA-2021:3839 0 None None None 2021-10-13 09:26:41 UTC
Red Hat Product Errata RHSA-2021:3840 0 None None None 2021-10-13 09:25:46 UTC
Red Hat Product Errata RHSA-2021:3841 0 None None None 2021-10-13 09:57:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.