CVE-2025-71231

crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode

published February 18, 2026

CVSS
—
EPSS
0%
Percentile
2.8
In the wild
Unconfirmed
What it is

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

crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode

The local variable 'i' is initialized with -EINVAL, but the for loop

immediately overwrites it and -EINVAL is never returned.

If no empty compression mode can be found, the function would return the

out-of-bounds index IAA_COMP_MODES_MAX, which would cause an invalid

array access in add_iaa_compression_mode().

Fix both issues by returning either a valid index or -EINVAL.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00137 · 2.8th percentile
Published
2026-02-18T14:53Z
EPSS history
Timeline
  • 18 FEB 14:53Z
    crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode
    cvelistv5