Bug 2130105 (CVE-2022-38791) - CVE-2022-38791 mariadb: compress_write() fails to release mutex on failure
Summary: CVE-2022-38791 mariadb: compress_write() fails to release mutex on failure
Keywords:
Status: NEW
Alias: CVE-2022-38791
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: 2114894 2114888 2114889 2114890 2114891 2114892 2114893 2114895 2114917 2114918 2114923 2116312 2116313
Blocks: 2103718
TreeView+ depends on / blocked
 
Reported: 2022-09-27 08:31 UTC by Mauro Matteo Cascella
Modified: 2022-09-27 23:13 UTC (History)
18 users (show)

Fixed In Version: mariadb 10.9.2, mariadb 10.8.4, mariadb 10.7.5, mariadb 10.6.9, mariadb 10.5.17, mariadb 10.4.26, mariadb 10.3.36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-09-27 08:31:33 UTC
In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.

Upstream issue:
https://jira.mariadb.org/browse/MDEV-28719


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