Service interruption via F2FS page-offset overflow
Published Oct 28, 2025 · Updated Oct 28, 2025
Integer overflow in Linux F2FS allows local users to interrupt service during truncation of a compressed file on an F2FS volume. In f2fs_truncate_partial_cluster(), folio->index is left-shifted by PAGE_SHIFT while still typed as pgoff_t, so large page indexes overflow before assignment to the loff_t start offset. Local access sufficient to truncate a compressed F2FS inode is required; the published assessment limits impact to availability, with no confidentiality or integrity impact.
Summary
What happened
Integer overflow in Linux F2FS allows local users to interrupt service during truncation of a compressed file on an F2FS volume. In f2fs_truncate_partial_cluster(), folio->index is left-shifted by PAGE_SHIFT while still typed as pgoff_t, so large page indexes overflow before assignment to the loff_t start offset. Local access sufficient to truncate a compressed F2FS inode is required; the published assessment limits impact to availability, with no confidentiality or integrity impact.
The record
- CVE
- CVE-2025-40077
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <0fe1c6bec54ea68ed8c987b3890f2296364e77bb
- Affected versionversion=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <57d3381dfb97ff73ddd18601017fec21cca80985
- Affected versionversion=5.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo