What’s Vulnerable › Vulnerabilities
CVE-2025-23134: ALSA: timer: Don't take register_mutex with copy_from/to_user()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-16 · updated 2026-06-17
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: Don't take register_mutex with copy_from/to_user() The infamous mmap_lock taken in copy_from/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)(®ister_mutex) that covers copy_from/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 copy_from/to_user() out of the register mutex lock again.
Affected products
- Linux kernel: from 6.9 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2 — fixed in 6.12.23, 6.13.11, 6.14.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.23, 6.13.11, 6.14.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/15291b561d8cc835a2eea76b394070cf8e072771
- https://git.kernel.org/stable/c/296f7a9e15aab276db11206cbc1e2ae1215d7862
- https://git.kernel.org/stable/c/3424c8f53bc63c87712a7fc22dc13d0cc85fb0d6
- https://git.kernel.org/stable/c/b074f47e55df93832bbbca1b524c501e6fea1c0d
Get alerted when CVE-2025-23134 or the next vulnerability affects your stack