CVE-2022-38791

NameCVE-2022-38791
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3114-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mariadb-10.5 (PTS)bullseye1:10.5.23-0+deb11u1fixed
bullseye (security)1:10.5.26-0+deb11u2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mariadb-10.3sourcebuster1:10.3.36-0+deb10u1DLA-3114-1
mariadb-10.3source(unstable)(unfixed)
mariadb-10.5sourcebullseye1:10.5.18-0+deb11u1
mariadb-10.5source(unstable)(unfixed)
mariadb-10.6source(unstable)1:10.6.9-1

Notes

MariaDB bug: https://jira.mariadb.org/browse/MDEV-28719
MariaDB fixed in 10.3.36, 10.5.17, 10.6.9
MariaDB commit https://github.com/MariaDB/server/commit/91d5fffa0796b8208c3d6633c8f296da8914af4d (mariadb-10.3.36)
MariaDB related to previous commit incompletly fixing the issue https://github.com/MariaDB/server/commit/863c3eda872b19f70ce6045119bf621584e1312d (mariadb-10.3.36)
MariaDB bug for incomplete fix: https://jira.mariadb.org/browse/MDEV-28689
MariaDB duplicate bug for incomplete fix: https://jira.mariadb.org/browse/MDEV-28690

Search for package or bug name: Reporting problems