CVE-2024-26618

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

MEDIUM
5.5
CVSS Score
Published: February 29, 2024 at 03:52 PM UTC
Updated: June 17, 2026 at 07:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.4.126.1.47 ≤ v < 6.1.1406.4.12 ≤ v < 6.56.5 ≤ v < 6.6.156.5 ≤ v < 6.7.36.5 ≤ v < 6.86.7 ≤ v < 6.7.321614ba60883eb93b99a7ee4b41cb927f93b39ae5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b6.1.476.4.126.5e01af8e26c23a08625a3dd6c8c472a1752d76cce
Vendor states this is fixed in 569156e4fa347237f8fa2a7e935d860109c55ac4 (fixed)
Vendor states this is fixed in 814af6b4e6000e574e74d92197190edf07cc3680 (fixed)
Vendor states this is fixed in dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9 (fixed)
Vendor states this is fixed in f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5 (fixed)
Vendor states this is fixed in 6.1.140 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.15 (unaffected)
Vendor states this is fixed in 6.7.3 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (5)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/569156e4fa347237f8fa2a7e935d860109c55ac4
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/814af6b4e6000e574e74d92197190edf07cc3680
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-770

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card