CVE Database›Document archive›CVE-2024-26618

CVE-2024-26618

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

Loading…

Severity

Low

Red Hat Product Security

6

CVSS 3.1

Review impact separately from score.

Published · February 29, 2024

Updated · June 28, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H

CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')