CVE-2023-54072
ALSA: pcm: Fix potential data race at PCM memory allocation helpers
Check your servers for CVE-2023-54072
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54072 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 do_alloc_pages() 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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 95b30a4312545f2dde9db12bf6a425f35d5a0d77, before 7e1d1456c8db9949459c5a24e8845cfe92430b0f affected from d4cfb30fce03093ad944e0b44bd8f40bdad5330e, before 7e11c58b2620a22c67a5ae28d64ce383890ee9f4 affected from d4cfb30fce03093ad944e0b44bd8f40bdad5330e, before a0ab49e7a758b488b2090171a75d50735c0876f6 affected from d4cfb30fce03093ad944e0b44bd8f40bdad5330e, before 3eb4e47a94e3f76521d7d344696db61e6a9619c7 affected from d4cfb30fce03093ad944e0b44bd8f40bdad5330e, before 773ccad902f67583a58b5650a2f8d8daf2e76fac affected from d4cfb30fce03093ad944e0b44bd8f40bdad5330e, before bd55842ed998a622ba6611fe59b3358c9f76773d
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 5.10.193 up to and including 5.10.* unaffected from 5.15.129 up to and including 5.15.* unaffected from 6.1.39 up to and including 6.1.* unaffected from 6.4.4 up to and including 6.4.* unaffected 6.5 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54072 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54072
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54072
trivy image --scanners vuln IMAGE | grep CVE-2023-54072
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7e1d1456c8db9949459c5a24e8845cfe92430b0f git.kernel.org
- https://git.kernel.org/stable/c/7e11c58b2620a22c67a5ae28d64ce383890ee9f4 git.kernel.org
- https://git.kernel.org/stable/c/a0ab49e7a758b488b2090171a75d50735c0876f6 git.kernel.org
- https://git.kernel.org/stable/c/3eb4e47a94e3f76521d7d344696db61e6a9619c7 git.kernel.org
- https://git.kernel.org/stable/c/773ccad902f67583a58b5650a2f8d8daf2e76fac git.kernel.org
- https://git.kernel.org/stable/c/bd55842ed998a622ba6611fe59b3358c9f76773d git.kernel.org
Source: the record CVE-2023-54072 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse