CVE-2024-26618

arm64/sme: Always exit sme_alloc() early with existing storage

State
Published
Severity
Not scored
Published
Feb 29, 2024
Updated
May 23, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 21614ba60883eb93b99a7ee4b41cb927f93b39ae to before f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5Affected
  • 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b to before 569156e4fa347237f8fa2a7e935d860109c55ac4Affected
  • 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b to before 814af6b4e6000e574e74d92197190edf07cc3680Affected
  • 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b to before dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9Affected
  • e01af8e26c23a08625a3dd6c8c472a1752d76cceAffected
  • 6.1.47 to before 6.1.140Affected
  • 6.4.12 to before 6.5Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.1.140 through 6.1.*Not affected
  • 6.6.15 through 6.6.*Not affected
  • 6.7.3 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.