CVE-2025-23134

Source
https://cve.org/CVERecord?id=CVE-2025-23134
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-23134.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-23134
Downstream
Related
Published
2025-04-16T14:13:15.144Z
Modified
2026-03-11T07:48:15.649841Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ALSA: timer: Don't take register_mutex with copy_from/to_user()
Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: timer: Don't take registermutex with copyfrom/to_user()

The infamous mmaplock taken in copyfrom/to_user() can be often problematic when it's called inside another mutex, as they might lead to deadlocks.

In the case of ALSA timer code, the bad pattern is with guard(mutex)(&registermutex) that covers copyfrom/to_user() -- which was mistakenly introduced at converting to guard(), and it had been carefully worked around in the past.

This patch fixes those pieces simply by moving copyfrom/touser() out of the register mutex lock again.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23134.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3923de04c81733b30b8ed667569632272fdfed9a
Fixed
15291b561d8cc835a2eea76b394070cf8e072771
Fixed
296f7a9e15aab276db11206cbc1e2ae1215d7862
Fixed
b074f47e55df93832bbbca1b524c501e6fea1c0d
Fixed
3424c8f53bc63c87712a7fc22dc13d0cc85fb0d6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-23134.json"