VDB

CVE-2024-26618

CVE-2024-26618 PUBLISHED

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.

PackageEcosystemFixed in
linux_kernellinux6.7.3, 6.6.15

Affected products

VendorProductVersions
LinuxLinux21614ba60883eb93b99a7ee4b41cb927f93b39ae, 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b, 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b
LinuxLinux6.5, 0, 6.1.140
linuxlinux_kernel6.1.47, 6.5, 6.5
LinuxLinux*, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›