CVE-2025-71231

Source
https://cve.org/CVERecord?id=CVE-2025-71231
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71231.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-71231
Downstream
Related
Published
2026-02-18T14:53:15.668Z
Modified
2026-03-24T08:59:26.903991Z
Summary
crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode
Details

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

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

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 IAACOMPMODESMAX, which would cause an invalid array access in addiaacompressionmode().

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71231.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b190447e0fa3ef7355480d641d078962e03768b4
Fixed
c77b33b58512708bd5603f48465f018c8b748847
Fixed
d75207465eed20bc9b0daa4a0927de9568996067
Fixed
de16f5bca05cace238d237791ed1b6e9d22dab60
Fixed
48329301969f6d21b2ef35f678e40f72b59eac94

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71231.json"