CVE-2025-40077

published 28 Oct 2025 · updated 30 Oct 2026

f2fs: fix to avoid overflow while left shift operation

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0e75a098b0a37f02ca31fe99ac16004c8163cf67, Kernel 0fe1c6bec54ea68ed8c987b3890f2296364e77bb, Kernel 57d3381dfb97ff73ddd18601017fec21cca80985 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.8, >=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <0e75a098b0a37f02ca31fe99ac16004c8163cf67, >=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <0fe1c6bec54ea68ed8c987b3890f2296364e77bb, >=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <57d3381dfb97ff73ddd18601017fec21cca80985, >=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <7fb12f75da1da83b29964c02646f851d919301ea, >=3265d3db1f16395cfc6b8ea9b31b4001d98d05ef <ef49378864bb1ed14cd48c8e687729e12714d8490e75a098b0a37f02ca31fe99ac16004c8163cf67, 0fe1c6bec54ea68ed8c987b3890f2296364e77bb, 57d3381dfb97ff73ddd18601017fec21cca80985, 7fb12f75da1da83b29964c02646f851d919301ea, ef49378864bb1ed14cd48c8e687729e12714d849

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40077 severity on Zeptric[![CVE-2025-40077](https://zeptric.io/badge/cve/CVE-2025-40077.svg)](https://zeptric.io/cve/CVE-2025-40077)