Bug 2440660 (CVE-2025-71231) - CVE-2025-71231 kernel: crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode
Summary: CVE-2025-71231 kernel: crypto: iaa - Fix out-of-bounds index in find_empty_ia...
Keywords:
Status: NEW
Alias: CVE-2025-71231
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-18 16:02 UTC by OSIDB Bzimport
Modified: 2026-02-18 18:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-02-18 16:02:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.