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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:44.048Z
- Modified: 2026-08-05T11:59:12.729Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before ceaf195ed285b77791e29016ee6344b3ded609b3; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before 341e3a5984cf5761f3dab16029d7e9fb1641d5ff; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before 5111227d7f1f57f6804666b3abf780a23f44fc1d; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before 15602508ad2f923e228b9521960b4addcd27d9c4; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before 121f0335d91e46369bf55b5da4167d82b099a166; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before cd918ec24168fe08c6aafc077dd3b6d88364c5cf; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before 2323b806221e6268a4e17711bc72e2fc87c191a3; from f7ab093f74bf638ed98fd1115f3efa17e308bb7f before 062e8093592fb866b8e016641a8b27feb6ac509d; 4.6 (not affected: before 4.6; from 5.4.294 up to 5.4.*; from 5.10.238 up to 5.10.*; from 5.15.185 up to 5.15.*; from 6.1.141 up to 6.1.*; from 6.6.93 up to 6.6.*; from 6.12.31 up to 6.12.*; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 4.6 before 5.4.294; from 5.5 before 5.10.238; from 5.11 before 5.15.185; from 5.16 before 6.1.141; from 6.2 before 6.6.93; from 6.7 before 6.12.31; from 6.13 before 6.14.9
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38065](https://www.cve.org/CVERecord?id=CVE-2025-38065), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38065](https://nvd.nist.gov/vuln/detail/CVE-2025-38065), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38065 · Whole record: https://cve.day/CVE-2025-38065.json · Rebuilt by cve.day 2026-11-25T22:58:59.366Z
