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

Read the record on cve.org

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

ProductVersions
LinuxLinux
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to before 7fb12f75da1da83b29964c02646f851d919301eaAffected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to before ef49378864bb1ed14cd48c8e687729e12714d849Affected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to before 0e75a098b0a37f02ca31fe99ac16004c8163cf67Affected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to before 57d3381dfb97ff73ddd18601017fec21cca80985Affected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to before 0fe1c6bec54ea68ed8c987b3890f2296364e77bbAffected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.59 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

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.