CVE-2025-40077
f2fs: fix to avoid overflow while left shift operation
- State
- Published
- Severity
- Not scored
- Published
- Oct 28, 2025
- Updated
- Oct 30, 2026
- Reserved
- Apr 16, 2025
Description
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/7fb12f75da1da83b29964c02646f851d919301ea
- https://git.kernel.org/stable/c/ef49378864bb1ed14cd48c8e687729e12714d849
- https://git.kernel.org/stable/c/0e75a098b0a37f02ca31fe99ac16004c8163cf67
- https://git.kernel.org/stable/c/57d3381dfb97ff73ddd18601017fec21cca80985
- https://git.kernel.org/stable/c/0fe1c6bec54ea68ed8c987b3890f2296364e77bb
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.