Bug 2130105 (CVE-2022-38791)

Summary: CVE-2022-38791 mariadb: compress_write() fails to release mutex on failure
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: damien.ciabrini, databases-maint, dciabrin, eglynn, hhorak, jjoyce, jorton, lhh, ljavorsk, mbayer, mburns, mgarciac, mkocka, mmuzila, mschorm, SpikeFedora, spower, zmiklank
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2114888, 2114889, 2114890, 2114891, 2114892, 2114893, 2114894, 2114895, 2114917, 2114918, 2114923, 2116312, 2116313, 2224531    
Bug Blocks: 2103718    

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

Comment 2 errata-xmlrpc 2023-09-19 14:35:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:5259 https://access.redhat.com/errata/RHSA-2023:5259

Comment 3 errata-xmlrpc 2023-10-12 13:19:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:5684 https://access.redhat.com/errata/RHSA-2023:5684

Comment 4 errata-xmlrpc 2023-10-12 13:25:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:5683 https://access.redhat.com/errata/RHSA-2023:5683

Comment 5 errata-xmlrpc 2023-12-04 09:53:38 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2023:7633 https://access.redhat.com/errata/RHSA-2023:7633