CVE-2024-26618

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

published February 29, 2024

CVSS
—
EPSS
0%
Percentile
14.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00239 · 14.1th percentile
Published
2024-02-29T15:52Z
EPSS history
Timeline
  • 29 FEB 15:52Z
    arm64/sme: Always exit sme_alloc() early with existing storage
    cvelistv5