CVE-2024-26618
arm64/sme: Always exit sme_alloc() early with existing storage
Check your servers for CVE-2024-26618
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-26618 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:
arm64/sme: Always exit sme_alloc() early with existing storage
When sme_alloc() is called with existing storage and we are not flushing we will always allocate new storage, both leaking the existing storage and corrupting the state. Fix this by separating the checks for flushing and for existing storage as we do for SVE.
Callers that reallocate (eg, due to changing the vector length) should call sme_free() themselves.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Mar 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 21614ba60883eb93b99a7ee4b41cb927f93b39ae, before f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5 affected from 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b, before 569156e4fa347237f8fa2a7e935d860109c55ac4 affected from 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b, before 814af6b4e6000e574e74d92197190edf07cc3680 affected from 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b, before dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9 affected e01af8e26c23a08625a3dd6c8c472a1752d76cce affected from 6.1.47, before 6.1.140 affected from 6.4.12, before 6.5
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 6.1.140 up to and including 6.1.* unaffected from 6.6.15 up to and including 6.6.* unaffected from 6.7.3 up to and including 6.7.* unaffected 6.8 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-26618 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26618
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-26618
trivy image --scanners vuln IMAGE | grep CVE-2024-26618
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/f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5 git.kernel.org
- https://git.kernel.org/stable/c/569156e4fa347237f8fa2a7e935d860109c55ac4 git.kernel.org
- https://git.kernel.org/stable/c/814af6b4e6000e574e74d92197190edf07cc3680 git.kernel.org
- https://git.kernel.org/stable/c/dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html lists.debian.org
Source: the record CVE-2024-26618 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