CVE-2025-40077
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 versions
Linux kernel versions
5.8
and later are affected. Fixed in
6.6.117,
6.12.59,
6.17.3,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40077 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0e75a098b0a37f02ca31fe99ac16004c8163cf67
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0fe1c6bec54ea68ed8c987b3890f2296364e77bb
-
PatchKernel patch commithttps://git.kernel.org/stable/c/57d3381dfb97ff73ddd18601017fec21cca80985
Frequently asked questions
-
What is CVE-2025-40077?
CVE-2025-40077 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.8 onward and has been patched in 6.6.117, 6.12.59, 6.17.3 and others. CVE-2025-40077 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40077?
Yes — CVE-2025-40077 has been patched. Fixed versions include 6.6.117, 6.12.59, 6.17.3 and others. If you are running Linux kernel 5.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40077 actively exploited?
No — CVE-2025-40077 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.