{"id":"CVE-2025-40077","published":"2025-10-28T11:48:42Z","modified":"2026-10-30T12:22:49Z","title":"f2fs: fix to avoid overflow while left shift operation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid overflow while left shift operation\n\nShould cast type of folio->index from pgoff_t to loff_t to avoid overflow\nwhile left shift operation.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00207,"percentile":0.10821,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7fb12f75da1da83b29964c02646f851d919301ea","tags":[]},{"url":"https://git.kernel.org/stable/c/ef49378864bb1ed14cd48c8e687729e12714d849","tags":[]},{"url":"https://git.kernel.org/stable/c/0e75a098b0a37f02ca31fe99ac16004c8163cf67","tags":[]},{"url":"https://git.kernel.org/stable/c/57d3381dfb97ff73ddd18601017fec21cca80985","tags":[]},{"url":"https://git.kernel.org/stable/c/0fe1c6bec54ea68ed8c987b3890f2296364e77bb","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 7fb12f75da1da83b29964c02646f851d919301ea",">= 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < ef49378864bb1ed14cd48c8e687729e12714d849",">= 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 0e75a098b0a37f02ca31fe99ac16004c8163cf67",">= 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 57d3381dfb97ff73ddd18601017fec21cca80985",">= 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 0fe1c6bec54ea68ed8c987b3890f2296364e77bb"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"euvd":{"id":"EUVD-2025-36451","exploited":false,"provenance":"source"}}