# CVE-2024-26618: arm64/sme: Always exit sme_alloc() early with existing storage

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-29T15:52:20.615Z
- Modified: 2026-06-17T07:17:54.510Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 21614ba60883eb93b99a7ee4b41cb927f93b39ae before f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5; from 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b before 569156e4fa347237f8fa2a7e935d860109c55ac4; from 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b before 814af6b4e6000e574e74d92197190edf07cc3680; from 5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b before dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9; e01af8e26c23a08625a3dd6c8c472a1752d76cce; from 6.1.47 before 6.1.140; from 6.4.12 before 6.5; 6.5 (not affected: before 6.5; from 6.1.140 up to 6.1.*; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.5 before 6.6.15; from 6.7 before 6.7.3

## References

- <https://git.kernel.org/stable/c/f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5>
- <https://git.kernel.org/stable/c/569156e4fa347237f8fa2a7e935d860109c55ac4> (mailing-list, patch)
- <https://git.kernel.org/stable/c/814af6b4e6000e574e74d92197190edf07cc3680> (mailing-list, patch)
- <https://git.kernel.org/stable/c/dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9> (mailing-list, patch)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## Sources

- CVE List: [CVE-2024-26618](https://www.cve.org/CVERecord?id=CVE-2024-26618), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-26618](https://nvd.nist.gov/vuln/detail/CVE-2024-26618), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26618 · Whole record: https://cve.day/CVE-2024-26618.json · Rebuilt by cve.day 2026-11-25T22:58:37.405Z
