CVE-2025-71231
Description
A flaw was found in the Linux kernel. A local, privileged user could exploit this by triggering a scenario where the find_empty_iaa_compression_mode function returns an out-of-bounds index. This can lead to an invalid array access, resulting in a kernel crash and a denial of service. In some cases, it may also risk memory corruption.
Statement
An out of bounds index can be returned by find_empty_iaa_compression_mode when no free compression mode slot exists. The function may return IAA_COMP_MODES_MAX which is outside the iaa_compression_modes array bounds and can lead to an invalid array access in add_iaa_compression_mode. This can result in a kernel crash and denial of service and in a conservative analysis it may also risk memory corruption depending on how the index is used by the caller. For the CVSS the PR is H in many deployments because managing compression modes is typically an administrative action performed by privileged users. The issue is not network reachable and requires local access to the relevant kernel interfaces and hardware driver path. Impact is at least denial of service with a worst case of broader memory safety consequences.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.6 | 7.1 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | Low | Low | N/A |
| Privileges Required | Low | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality | Low | High | N/A |
| Integrity Impact | Low | None | N/A |
| Availability Impact | High | High | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.