Skip to main content
← All vulnerabilities
CVE-2024-26618

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.140, 6.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.1.47 · fixed in 6.1.140; From 6.4.12 · fixed in 6.5

  • Linux Linux

    6.5

References 4

git.kernel.org