CVE-2025-40077: Linux kernel · f2fs: fix to avoid overflow while left shift operation
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in ef49378864bb1ed14cd48c8e687729e12714d849 : update Linux kernel when convenient.
Data as of 30 Oct 2026, 12:33 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- Patch
- Available – fixed in ef49378864bb1ed14cd48c8e687729e12714d849, 57d3381dfb97ff73ddd18601017fec21cca80985, 7fb12f75da1da83b29964c02646f851d919301ea +2
Exploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
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.
References
- git.kernel.org/stable/c/7fb12f75da1da83b29964c02646f851d919301ea (opens in a new tab)
- git.kernel.org/stable/c/ef49378864bb1ed14cd48c8e687729e12714d849 (opens in a new tab)
- git.kernel.org/stable/c/0e75a098b0a37f02ca31fe99ac16004c8163cf67 (opens in a new tab)
- git.kernel.org/stable/c/57d3381dfb97ff73ddd18601017fec21cca80985 (opens in a new tab)
- git.kernel.org/stable/c/0fe1c6bec54ea68ed8c987b3890f2296364e77bb (opens in a new tab)