CVE-2025-68794

Source
https://cve.org/CVERecord?id=CVE-2025-68794
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68794.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68794
Downstream
Related
Published
2026-01-13T15:29:05.553Z
Modified
2026-03-20T12:46:29.138796Z
Summary
iomap: adjust read range correctly for non-block-aligned positions
Details

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

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

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68794.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9dc55f1389f9569acf9659e58dd836a9c70df217
Fixed
82b60ffbb532d919959702768dca04c3c0500ae5
Fixed
12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e
Fixed
142194fb21afe964d2d194cab1fc357cbf87e899
Fixed
7aa6bc3e8766990824f66ca76c19596ce10daf3e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68794.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
6.6.120
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.64
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68794.json"