CVE-2025-23134

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-23134
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23134.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-23134
Downstream
Related
Published
2025-04-16T15:16:07Z
Modified
2025-05-05T17:00:19Z
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
[none]
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.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.25-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}