CVE-2024-26618
arm64/sme: Always exit sme_alloc() early with existing storage
Reported by linux · Published February 29, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.7.3, 6.6.15 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 21614ba60883eb93b99a7ee4b41cb927f93b39ae, 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b, 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b |
| Linux | Linux | 6.5, 0, 6.1.140 |
| linux | linux_kernel | 6.1.47, 6.5, 6.5 |
| Linux | Linux | *, 21614ba60883eb93b99a7ee4b41cb927f93b39ae, 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b |
Timeline
- Feb 29, 2024 CVE Published
- Mar 1, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Jan 15, 2026 Security Advisory (131 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (93 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26618
vulnetix vdb fixes CVE-2024-26618
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26618/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart