CVE-2023-54072

Source
https://cve.org/CVERecord?id=CVE-2023-54072
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54072.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54072
Downstream
Related
Published
2025-12-24T12:23:15.552Z
Modified
2026-03-12T03:28:46.520620Z
Summary
ALSA: pcm: Fix potential data race at PCM memory allocation helpers
Details

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

ALSA: pcm: Fix potential data race at PCM memory allocation helpers

The PCM memory allocation helpers have a sanity check against too many buffer allocations. However, the check is performed without a proper lock and the allocation isn't serialized; this allows user to allocate more memories than predefined max size.

Practically seen, this isn't really a big problem, as it's more or less some "soft limit" as a sanity check, and it's not possible to allocate unlimitedly. But it's still better to address this for more consistent behavior.

The patch covers the size check in doallocpages() with the card->memory_mutex, and increases the allocated size there for preventing the further overflow. When the actual allocation fails, the size is decreased accordingly.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54072.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
95b30a4312545f2dde9db12bf6a425f35d5a0d77
Fixed
7e1d1456c8db9949459c5a24e8845cfe92430b0f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d4cfb30fce03093ad944e0b44bd8f40bdad5330e
Fixed
7e11c58b2620a22c67a5ae28d64ce383890ee9f4
Fixed
a0ab49e7a758b488b2090171a75d50735c0876f6
Fixed
3eb4e47a94e3f76521d7d344696db61e6a9619c7
Fixed
773ccad902f67583a58b5650a2f8d8daf2e76fac
Fixed
bd55842ed998a622ba6611fe59b3358c9f76773d

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.10.193
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.129
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.4

Database specific

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