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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
21614ba60883eb93b99a7ee4b41cb927f93b39ae to < f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5affected5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b to < 569156e4fa347237f8fa2a7e935d860109c55ac4affected5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b to < 814af6b4e6000e574e74d92197190edf07cc3680affected5d0a8d2fba50e9c07cde4aad7fba28c008b07a5b to < dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9affectede01af8e26c23a08625a3dd6c8c472a1752d76cceaffected6.1.47 to < 6.1.140affected6.4.12 to < 6.5affected
Linux Linux
Default version status: affected
6.5affected0 to < 6.5unaffected6.1.140 to ≤ 6.1.*unaffected6.6.15 to ≤ 6.6.*unaffected6.7.3 to ≤ 6.7.*unaffected6.8 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f6421555dbd7cb3d4d70b69f33f998aaeca1e3b5 ↗
- https://git.kernel.org/stable/c/569156e4fa347237f8fa2a7e935d860109c55ac4 ↗
- https://git.kernel.org/stable/c/814af6b4e6000e574e74d92197190edf07cc3680 ↗
- https://git.kernel.org/stable/c/dc7eb8755797ed41a0d1b5c0c39df3c8f401b3d9 ↗
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html ↗