Linux Kernel SME Vector Length Reallocation Vulnerability on ARM64

Vulnerability

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.

Impact

The vulnerability can cause memory corruption by using an undersized buffer, which may lead to undefined behavior or exploitation opportunities.

Reproduction

To reproduce this vulnerability, change the SME vector length in the ARM64 Linux kernel. The issue will manifest as memory corruption due to the SVE state buffer being allocated with the old vector length, creating a mismatch that can be exploited.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.

Added: Sep 15, 2025, 2:54 PM
Updated: Sep 15, 2025, 8:50 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.