Linux kernel: arm64/sme: Set new vector length before reallocating
Overview
In the Linux kernel, the following vulnerability has been resolved: arm64/sme: Set new vector length before reallocating As part of fixing the allocation of the buffer for SVE state when changing SME vector length we introduced an immediate reallocation of the SVE state, this is also done when changing the SVE vector length for consistency. Unfortunately this reallocation is done prior to writing the new vector length to the task struct, meaning the allocation is done with the old vector length and can lead to memory corruption due to an undersized buffer being used. Move the update of the vector length before the allocation to ensure that the new vector length is taken into account. For some reason this isn't triggering any problems when running tests on the arm64 fixes branch (even after repeated tries) but is triggering issues very often after merge into mainline.
- Published
- 9/15/2025
- Last modified
- 10/15/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | 6.1.42 | Verify advisory | Source |
linux kernel linux | 6.4.7 | Verify advisory | Source |
linux kernel linux | 6.5 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ aa5cf8bd1318b6e7d500668b318c07a71cde783b, < 356e711640aea6ed145da9407499388b45264cb4 | Verify advisory | Source |
Linux Linux | ≥ 292f0453b0d021bb1d3f64648bfdfca093512214, < 807ada0e4aa3c9090c66009a99fa530c462012c9 | Verify advisory | Source |
Linux Linux | ≥ d4d5be94a87872421ea2569044092535aff0b886, < 05d881b85b48c7ac6a7c92ce00aa916c4a84d052 | Verify advisory | Source |
Linux Linux | ≥ 6.1.42, < 6.1.43 | Verify advisory | Source |
Linux Linux | ≥ 6.4.7, < 6.4.8 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.