CVE-2025-71231
Received Received - Intake
Out-of-Bounds Index Vulnerability in Linux Kernel Crypto IAA

Publication date: 2026-02-18

Last updated on: 2026-03-18

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-18
Last Modified
2026-03-18
Generated
2026-06-16
AI Q&A
2026-02-18
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.19 (inc) to 6.19.1 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.11 (exc)
linux linux_kernel From 6.8 (inc) to 6.12.72 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

I don't know

Executive Summary

This vulnerability exists in the Linux kernel's crypto iaa component. Specifically, there is an issue in the function find_empty_iaa_compression_mode where a local variable 'i' is initialized with -EINVAL but is immediately overwritten by a for loop, so -EINVAL is never returned. If no empty compression mode is found, the function returns an out-of-bounds index IAA_COMP_MODES_MAX, which leads to an invalid array access in the add_iaa_compression_mode() function.

The fix involves ensuring that the function returns either a valid index or -EINVAL, preventing the out-of-bounds access.

Impact Analysis

This vulnerability can cause invalid array access in the Linux kernel's crypto iaa component, which may lead to undefined behavior such as crashes or potential security issues due to memory corruption.

Compliance Impact

I don't know

Detection Guidance

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71231. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart