What’s Vulnerable › Vulnerabilities

CVE-2024-26618: arm64/sme: Always exit sme_alloc() early with existing storage

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.15, 6.7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26618 or the next vulnerability affects your stack