← CVE Intelligence

CVE-2025-40077

f2fs: fix to avoid overflow while left shift operation PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef before ef49378864bb1ed14cd48c8e687729e12714d849; affected 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef before 0e75a098b0a37f02ca31fe99ac16004c8163cf67; affected 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef before 57d3381dfb97ff73ddd18601017fec21cca80985; affected 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef before 0fe1c6bec54ea68ed8c987b3890f2296364e77bb
Linux / Linuxaffected 5.8; unaffected 0 before 5.8; unaffected 6.6.117 through 6.6.*; unaffected 6.12.59 through 6.12.*; unaffected 6.17.3 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References