Description
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.
References (4)
Core 4
Core References
Scores
CVSS v3
7.1
EPSS
0.0002
EPSS Percentile
4.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (16)
linux/Kernel
< 6.12.72linux
linux/Kernel
6.13.0 - 6.18.11linux
linux/Kernel
6.19.0 - 6.19.1linux
linux/Kernel
6.8.0 - 6.12.72linux
Linux/Linux
< 6.8
Linux/Linux
6.12.72 - 6.12.*
Linux/Linux
6.18.11 - 6.18.*
Linux/Linux
6.19.1 - 6.19.*
Linux/Linux
6.8
Linux/Linux
7.0
... and 6 more
Published
Feb 18, 2026
Tracked Since
Feb 18, 2026