CVE-2024-26618

published 29 Feb 2024 · updated 17 Nov 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.5, Kernel 569156e4fa347237f8fa2a7e935d860109c55ac4, Kernel 814af6b4e6000e574e74d92197190edf07cc3680 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.4.12 <6.5, >=5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b <569156e4fa347237f8fa2a7e935d860109c55ac4, >=5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b <814af6b4e6000e574e74d92197190edf07cc3680, >=5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b <dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9, >=6.1.47 <6.1.140, =6.5, =e01af8e26c23a08625a3dd6c8c472a1752d76cce, >=21614ba60883eb93b99a7ee4b41cb927f93b39ae <f6421555dbd7cb3d4d70b69f33f998aaeca1e3b56.5, 569156e4fa347237f8fa2a7e935d860109c55ac4, 814af6b4e6000e574e74d92197190edf07cc3680, dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9, 6.1.140, f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5
linux-kernel: Kernel>=6.4.12 <6.5, >=6.5.0 <6.6.15, >=6.7.0 <6.7.3, >=6.1.47 <6.1.1406.5, 6.6.15, 6.7.3, 6.1.140

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26618 severity on Zeptric[![CVE-2024-26618](https://zeptric.io/badge/cve/CVE-2024-26618.svg)](https://zeptric.io/cve/CVE-2024-26618)