CVE-2024-38618
ALSA: timer: Set lower bound of start tick time
Check your servers for CVE-2024-38618
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-2024-38618 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: timer: Set lower bound of start tick time
Currently ALSA timer doesn't have the lower limit of the start tick time, and it allows a very small size, e.g. 1 tick with 1ns resolution for hrtimer. Such a situation may lead to an unexpected RCU stall, where the callback repeatedly queuing the expire update, as reported by fuzzer.
This patch introduces a sanity check of the timer start tick time, so that the system returns an error when a too small start size is set. As of this patch, the lower limit is hard-coded to 100us, which is small enough but can still work somehow.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before 68396c825c43664b20a3a1ba546844deb2b4e48f affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before 74bfb8d90f2601718ae203faf45a196844c01fa1 affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before bdd0aa055b8ec7e24bbc19513f3231958741d0ab affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before 83f0ba8592b9e258fd80ac6486510ab1dcd7ad6e affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before ceab795a67dd28dd942d0d8bba648c6c0f7a044b affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before 2c95241ac5fc90c929d6c0c023e84bf0d30e84c3 affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before abb1ad69d98cf1ff25bb14fff0e7c3f66239e1cd affected from bbaf5e97337287479eb78dbc3822d9560bbfd2e2, before 4a63bd179fa8d3fcc44a0d9d71d941ddd62f0c4e
Other versions: unaffected
|
| Linux |
affected 2.6.29 unaffected before 2.6.29 unaffected from 4.19.316 up to and including 4.19.* unaffected from 5.4.278 up to and including 5.4.* unaffected from 5.10.219 up to and including 5.10.* unaffected from 5.15.161 up to and including 5.15.* unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.9.3 up to and including 6.9.* unaffected 6.10 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-2024-38618 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38618
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-2024-38618
trivy image --scanners vuln IMAGE | grep CVE-2024-38618
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/68396c825c43664b20a3a1ba546844deb2b4e48f git.kernel.org
- https://git.kernel.org/stable/c/74bfb8d90f2601718ae203faf45a196844c01fa1 git.kernel.org
- https://git.kernel.org/stable/c/bdd0aa055b8ec7e24bbc19513f3231958741d0ab git.kernel.org
- https://git.kernel.org/stable/c/83f0ba8592b9e258fd80ac6486510ab1dcd7ad6e git.kernel.org
- https://git.kernel.org/stable/c/ceab795a67dd28dd942d0d8bba648c6c0f7a044b git.kernel.org
- https://git.kernel.org/stable/c/2c95241ac5fc90c929d6c0c023e84bf0d30e84c3 git.kernel.org
- https://git.kernel.org/stable/c/abb1ad69d98cf1ff25bb14fff0e7c3f66239e1cd git.kernel.org
- https://git.kernel.org/stable/c/4a63bd179fa8d3fcc44a0d9d71d941ddd62f0c4e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-38618 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse