CVE-2025-40077
Not scored
f2fs: fix to avoid overflow while left shift operation
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid overflow while left shift operation Should cast type of folio->index from pgoff_t to loff_t to avoid overflow while left shift operation.
Exploit probability
0.2%
Published
October 28, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2025-40077
View original source
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid overflow while left shift operation Should cast type of folio->index from pgoff_t to loff_t to avoid overflow while left shift operation.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/0e75a098b0a37f02ca31fe99ac16004c8163cf67
- https://git.kernel.org/stable/c/0fe1c6bec54ea68ed8c987b3890f2296364e77bb
- https://git.kernel.org/stable/c/57d3381dfb97ff73ddd18601017fec21cca80985
- https://git.kernel.org/stable/c/ef49378864bb1ed14cd48c8e687729e12714d849
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40077.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-40077