CVE-2023-53184 Details
Description
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.
A vulnerability in the Linux kernel's handling of Scalable Vector Extension (SVE) state can lead to memory corruption. This issue arises in the ARM64 architecture when the SVE vector length is changed. The vulnerability occurs because the reallocation of the SVE state buffer is performed before updating the vector length in the task structure. As a result, the allocation uses the old vector length, potentially leading to an undersized buffer. This issue was introduced while fixing the SVE state allocation process and has been observed to cause problems after merging into the mainline, despite not appearing during tests on the ARM64 fixes branch.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/05d881b85b48c7ac6a7c92ce00aa916c4a84d052 | kernel.org | Patch |
| https://git.kernel.org/stable/c/356e711640aea6ed145da9407499388b45264cb4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/807ada0e4aa3c9090c66009a99fa530c462012c9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | 6.1.42 6.4.7 6.5 rc3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |