Bug 2092354 (CVE-2022-31622) - CVE-2022-31622 mariadb: improper locking due to the unreleased lock in extra/mariabackup/ds_compress.cc
Summary: CVE-2022-31622 mariadb: improper locking due to the unreleased lock in extra/...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-31622
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: 2055709 2055711 2068217 2068219 2078334 2090650 2090651 2095292 2096273 2101781 2107051 2107053
Blocks: 2092368
TreeView+ depends on / blocked
 
Reported: 2022-06-01 10:25 UTC by TEJ RATHI
Modified: 2022-11-26 06:54 UTC (History)
19 users (show)

Fixed In Version: mariadb 10.7.2, mariadb 10.6.6, mariadb 10.5.14, mariadb 10.4.23, mariadb 10.3.33, mariadb 10.2.42
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-26 06:54:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5759 0 None None None 2022-07-28 16:08:10 UTC
Red Hat Product Errata RHSA-2022:5826 0 None None None 2022-08-02 10:12:58 UTC
Red Hat Product Errata RHSA-2022:5948 0 None None None 2022-08-09 12:27:26 UTC
Red Hat Product Errata RHSA-2022:6306 0 None None None 2022-09-01 14:21:04 UTC
Red Hat Product Errata RHSA-2022:6443 0 None None None 2022-09-13 09:43:31 UTC

Description TEJ RATHI 2022-06-01 10:25:15 UTC
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (pthread_create returns a nonzero value) while executing the method create_worker_threads, the held lock is not released correctly, which allows local users to trigger a denial of service due to the deadlock.

https://jira.mariadb.org/browse/MDEV-26561
https://github.com/MariaDB/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2

Comment 1 errata-xmlrpc 2022-07-28 16:08:07 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:5759 https://access.redhat.com/errata/RHSA-2022:5759

Comment 2 errata-xmlrpc 2022-08-02 10:12:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5826 https://access.redhat.com/errata/RHSA-2022:5826

Comment 3 errata-xmlrpc 2022-08-09 12:27:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5948 https://access.redhat.com/errata/RHSA-2022:5948

Comment 4 errata-xmlrpc 2022-09-01 14:21:00 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:6306 https://access.redhat.com/errata/RHSA-2022:6306

Comment 5 errata-xmlrpc 2022-09-13 09:43:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:6443 https://access.redhat.com/errata/RHSA-2022:6443

Comment 6 Product Security DevOps Team 2022-11-26 06:54:28 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-31622


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