# CVE-2025-38065: orangefs: Do not truncate file size

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **Published:** 2025-06-18T09:33:44.048Z
- **Modified:** 2026-08-05T11:59:12.729Z

## Who should check

- Anyone running Linux \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< ceaf195ed285b77791e29016ee6344b3ded609b3; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 341e3a5984cf5761f3dab16029d7e9fb1641d5ff; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 5111227d7f1f57f6804666b3abf780a23f44fc1d; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 15602508ad2f923e228b9521960b4addcd27d9c4; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 121f0335d91e46369bf55b5da4167d82b099a166; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< cd918ec24168fe08c6aafc077dd3b6d88364c5cf; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 2323b806221e6268a4e17711bc72e2fc87c191a3; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 062e8093592fb866b8e016641a8b27feb6ac509d
- Anyone running Linux 4.6

## Description

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

orangefs: Do not truncate file size

'len' is used to store the result of i\_size\_read(), so making 'len'
a size\_t results in truncation to 4GiB on 32-bit systems.

## Affected and fixed versions

- Linux: \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< ceaf195ed285b77791e29016ee6344b3ded609b3; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 341e3a5984cf5761f3dab16029d7e9fb1641d5ff; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 5111227d7f1f57f6804666b3abf780a23f44fc1d; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 15602508ad2f923e228b9521960b4addcd27d9c4; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 121f0335d91e46369bf55b5da4167d82b099a166; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< cd918ec24168fe08c6aafc077dd3b6d88364c5cf; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 2323b806221e6268a4e17711bc72e2fc87c191a3; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 062e8093592fb866b8e016641a8b27feb6ac509d (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- Upgrade Linux to 062e8093592fb866b8e016641a8b27feb6ac509d 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-38065. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38065.md
Affected: Linux >= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, < ceaf195ed285b77791e29016ee6344b3ded609b3; >= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, < 341e3a5984cf5761f3dab16029d7e9fb1641d5ff; >= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, < 5111227d7f1f57f6804666b3abf780a23f44fc1d; >= f7ab093f74bf638ed98fd11…
Fixed in: Linux 341e3a5984cf5761f3dab16029d7e9fb1641d5ff, Linux 5111227d7f1f57f6804666b3abf780a23f44fc1d, Linux 15602508ad2f923e228b9521960b4addcd27d9c4, Linux 121f0335d91e46369bf55b5da4167d82b099a166, Linux 2323b806221e6268a4e17711bc72e2fc87c191a3, Linux 062e8093592fb866b8e016641a8b27feb6ac509d

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-38065 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< ceaf195ed285b77791e29016ee6344b3ded609b3; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 341e3a5984cf5761f3dab16029d7e9fb1641d5ff; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 5111227d7f1f57f6804666b3abf780a23f44fc1d; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 15602508ad2f923e228b9521960b4addcd27d9c4; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 121f0335d91e46369bf55b5da4167d82b099a166; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< cd918ec24168fe08c6aafc077dd3b6d88364c5cf; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 2323b806221e6268a4e17711bc72e2fc87c191a3; \>= f7ab093f74bf638ed98fd1115f3efa17e308bb7f, \< 062e8093592fb866b8e016641a8b27feb6ac509d; Linux 4.6.

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

Yes. Fixed in Linux 341e3a5984cf5761f3dab16029d7e9fb1641d5ff, Linux 5111227d7f1f57f6804666b3abf780a23f44fc1d, Linux 15602508ad2f923e228b9521960b4addcd27d9c4, Linux 121f0335d91e46369bf55b5da4167d82b099a166, Linux 2323b806221e6268a4e17711bc72e2fc87c191a3, Linux 062e8093592fb866b8e016641a8b27feb6ac509d. Upgrade Linux to 062e8093592fb866b8e016641a8b27feb6ac509d or later.

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

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

- patch: <https://git.kernel.org/stable/c/ceaf195ed285b77791e29016ee6344b3ded609b3>
- patch: <https://git.kernel.org/stable/c/341e3a5984cf5761f3dab16029d7e9fb1641d5ff>
- patch: <https://git.kernel.org/stable/c/5111227d7f1f57f6804666b3abf780a23f44fc1d>
- patch: <https://git.kernel.org/stable/c/15602508ad2f923e228b9521960b4addcd27d9c4>
- patch: <https://git.kernel.org/stable/c/121f0335d91e46369bf55b5da4167d82b099a166>
- patch: <https://git.kernel.org/stable/c/cd918ec24168fe08c6aafc077dd3b6d88364c5cf>
- patch: <https://git.kernel.org/stable/c/2323b806221e6268a4e17711bc72e2fc87c191a3>
- patch: <https://git.kernel.org/stable/c/062e8093592fb866b8e016641a8b27feb6ac509d>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## 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-38065>

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