CVE-2024-26789CWE-125

CVE-2024-26789

High · published April 4, 2024

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

In the Linux kernel, the following vulnerability has been resolved:

crypto: arm64/neonbs - fix out-of-bounds access on short input

The bit-sliced implementation of AES-CTR operates on blocks of 128

bytes, and will fall back to the plain NEON version for tail blocks or

inputs that are shorter than 128 bytes to begin with.

It will call straight into the plain NEON asm helper, which performs all

memory accesses in granules of 16 bytes (the size of a NEON register).

For this reason, the associated plain NEON glue code will copy inputs

shorter than 16 bytes into a temporary buffer, given that this is a rare

occurrence and it is not worth the effort to work around this in the asm

code.

The fallback from the bit-sliced NEON version fails to take this into

account, potentially resulting in out-of-bounds accesses. So clone the

same workaround, and use a temp buffer for short in/outputs.

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.00236 · 13.8th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-04-04T13:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.18, ≤ 6.1.81—
linux/linux_kernel≥ 6.2, ≤ 6.6.21—
linux/linux_kernel≥ 6.2, ≤ 6.7.9—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 04 APR 08:20Z
    crypto: arm64/neonbs - fix out-of-bounds access on short input
    cvelistv5