CVE-2026-138817
Description
A flaw was found in the Linux kernel's iomap filesystem component. When an error occurs during file extent mapping (FIEMAP) iteration, the kernel overwrites the failure return code while emitting the final extent and erroneously reports success. A local user can exploit this issue to receive a truncated extent list incorrectly marked as the end of the file, potentially causing data inconsistency or unexpected behavior in applications that rely on file mapping data.
Statement
This vulnerability is rated as Low severity because it requires local access to perform filesystem extent mapping queries and only triggers during underlying iteration failures without leading to system crashes or privilege escalation. In Red Hat Enterprise Linux, this flaw can cause the kernel to return an incomplete extent map to userspace utilities rather than reporting an I/O or filesystem error. The impact is limited to inaccurate extent metadata reporting and does not directly corrupt stored file data.
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 | 2.5 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | High | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | Low | N/A | N/A |
| Availability Impact | None | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Understanding the Weakness (CWE)
Integrity,Other
Technical Impact: Unexpected State; Alter Execution Logic
This weakness can lead to unpredictable behavior. If the function is used to make security-critical decisions or provide security-critical information, then the wrong status code can cause the product to assume that an action is safe or correct, even when it is not. This weakness could place the system in a state that could lead unexpected logic to be executed or other unintended behaviors.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.