In MariaDB before 10.9.2, compresswrite in extra/mariabackup/dscompress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.
{
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "10.9.2"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38791.json"
}{
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"extracted_events": [
{
"introduced": "10.3.0"
},
{
"fixed": "10.3.36"
},
{
"introduced": "10.4.0"
},
{
"fixed": "10.4.26"
},
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.17"
},
{
"introduced": "10.6.0"
},
{
"fixed": "10.6.9"
},
{
"introduced": "10.7.0"
},
{
"fixed": "10.7.5"
},
{
"introduced": "10.8.0"
},
{
"fixed": "10.8.4"
},
{
"introduced": "10.9.1"
},
{
"last_affected": "10.9.1"
}
],
"cpe": [
"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"cpe:2.3:a:mariadb:mariadb:10.9.1:*:*:*:*:*:*:*"
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-38791.json"
"2026-07-15T01:35:36Z"
[
{
"source": "https://github.com/mariadb/server/commit/faddcf3c395da640b760c3f701f5bc1f3baae6c4",
"digest": {
"length": 1094.0,
"function_hash": "96567548985656349046472553596954460768"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-38791-bab28f5d",
"target": {
"function": "find_set",
"file": "sql/strfunc.cc"
},
"signature_type": "Function"
},
{
"source": "https://github.com/mariadb/server/commit/faddcf3c395da640b760c3f701f5bc1f3baae6c4",
"digest": {
"threshold": 0.9,
"line_hashes": [
"271363707396860767418283350345897486504",
"120596951573328682502907908502941671745",
"115421961338400510566446524145876737974",
"64074615696916198601226435566349591945"
]
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-38791-ee10862f",
"target": {
"file": "sql/strfunc.cc"
},
"signature_type": "Line"
}
]