Details
Description
There is unlocking of a resource that is not locked, CWE-832, in the method create_worker_threads. That is, when "compress: pthread_create() failed", lock thd->ctrl_mutex is released. Yet, when coming to err branch, the lock is erroneously released again.
Location: https://github.com/MariaDB/server/blob/10.9/extra/mariabackup/ds_compress.cc#L364-L391
Thank you for your checking.