CVE-2024-26618

Source
https://cve.org/CVERecord?id=CVE-2024-26618
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26618.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26618
Downstream
Related
Published
2024-02-29T15:52:20.615Z
Modified
2026-03-14T12:29:52.568608Z
Summary
arm64/sme: Always exit sme_alloc() early with existing storage
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26618.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
21614ba60883eb93b99a7ee4b41cb927f93b39ae
Fixed
f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b
Fixed
569156e4fa347237f8fa2a7e935d860109c55ac4
Fixed
814af6b4e6000e574e74d92197190edf07cc3680
Fixed
dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
e01af8e26c23a08625a3dd6c8c472a1752d76cce

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26618.json"