CVE-2023-53184CWE-787

CVE-2023-53184

High · published September 15, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.5th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-09-15T18:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 15 SEP 14:04Z
    arm64/sme: Set new vector length before reallocating
    cvelistv5