# CVE-2025-68794: iomap: adjust read range correctly for non-block-aligned positions

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-01-13T15:29:05.553Z
- **Modified:** 2026-10-19T19:17:05.397Z

## Who should check

- Anyone running Linux \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< ce20f49ac9194cf81a77f01d1c316d7c17ae753c; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 275b37a1e5c2c8abd313e8075f6aec9a349f291b; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 82b60ffbb532d919959702768dca04c3c0500ae5; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 142194fb21afe964d2d194cab1fc357cbf87e899; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 7aa6bc3e8766990824f66ca76c19596ce10daf3e
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

iomap: adjust read range correctly for non-block-aligned positions

iomap\_adjust\_read\_range() assumes that the position and length passed in
are block-aligned. This is not always the case however, as shown in the
syzbot generated case for erofs. This causes too many bytes to be
skipped for uptodate blocks, which results in returning the incorrect
position and length to read in. If all the blocks are uptodate, this
underflows length and returns a position beyond the folio.

Fix the calculation to also take into account the block offset when
calculating how many bytes can be skipped for uptodate blocks.

## Affected and fixed versions

- Linux: \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< ce20f49ac9194cf81a77f01d1c316d7c17ae753c; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 275b37a1e5c2c8abd313e8075f6aec9a349f291b; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 82b60ffbb532d919959702768dca04c3c0500ae5; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 142194fb21afe964d2d194cab1fc357cbf87e899; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 7aa6bc3e8766990824f66ca76c19596ce10daf3e (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 7aa6bc3e8766990824f66ca76c19596ce10daf3e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68794. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68794.md
Affected: Linux >= 9dc55f1389f9569acf9659e58dd836a9c70df217, < ce20f49ac9194cf81a77f01d1c316d7c17ae753c; >= 9dc55f1389f9569acf9659e58dd836a9c70df217, < 275b37a1e5c2c8abd313e8075f6aec9a349f291b; >= 9dc55f1389f9569acf9659e58dd836a9c70df217, < b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac; >= 9dc55f1389f9569acf9659e…
Fixed in: Linux 275b37a1e5c2c8abd313e8075f6aec9a349f291b, Linux 82b60ffbb532d919959702768dca04c3c0500ae5, Linux 12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e, Linux 142194fb21afe964d2d194cab1fc357cbf87e899, Linux 7aa6bc3e8766990824f66ca76c19596ce10daf3e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68794 being exploited?

There is no confirmed exploitation: CVE-2025-68794 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68794?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68794?

Linux \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< ce20f49ac9194cf81a77f01d1c316d7c17ae753c; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 275b37a1e5c2c8abd313e8075f6aec9a349f291b; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 82b60ffbb532d919959702768dca04c3c0500ae5; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 142194fb21afe964d2d194cab1fc357cbf87e899; \>= 9dc55f1389f9569acf9659e58dd836a9c70df217, \< 7aa6bc3e8766990824f66ca76c19596ce10daf3e; Linux 4.19.

### Is there a fix for CVE-2025-68794?

Yes. Fixed in Linux 275b37a1e5c2c8abd313e8075f6aec9a349f291b, Linux 82b60ffbb532d919959702768dca04c3c0500ae5, Linux 12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e, Linux 142194fb21afe964d2d194cab1fc357cbf87e899, Linux 7aa6bc3e8766990824f66ca76c19596ce10daf3e. Upgrade Linux to 7aa6bc3e8766990824f66ca76c19596ce10daf3e or later.

### How do I check if I'm affected by CVE-2025-68794?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ce20f49ac9194cf81a77f01d1c316d7c17ae753c>
- other: <https://git.kernel.org/stable/c/275b37a1e5c2c8abd313e8075f6aec9a349f291b>
- other: <https://git.kernel.org/stable/c/b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac>
- other: <https://git.kernel.org/stable/c/82b60ffbb532d919959702768dca04c3c0500ae5>
- other: <https://git.kernel.org/stable/c/12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e>
- other: <https://git.kernel.org/stable/c/142194fb21afe964d2d194cab1fc357cbf87e899>
- other: <https://git.kernel.org/stable/c/7aa6bc3e8766990824f66ca76c19596ce10daf3e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68794>

HTML: <https://flawdb.com/CVE-2025-68794> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68794>
