Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40077

f2fs: fix to avoid overflow while left shift operation

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to < 7fb12f75da1da83b29964c02646f851d919301eaaffected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to < ef49378864bb1ed14cd48c8e687729e12714d849affected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to < 0e75a098b0a37f02ca31fe99ac16004c8163cf67affected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to < 57d3381dfb97ff73ddd18601017fec21cca80985affected
  • 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef to < 0fe1c6bec54ea68ed8c987b3890f2296364e77bbaffected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.117 to ≤ 6.6.*unaffected
  • 6.12.59 to ≤ 6.12.*unaffected
  • 6.17.3 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References