CVE-2025-40077 in Folio products
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.
Affects 0 products from 3 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40077 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258778-I |
| Published | 2025-10-28 |
| Last modified | 2026-10-30 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's f2fs file system could lead to an overflow during a left shift operation due to improper type casting of folio->index from pgoff_t to loff_t.
The vulnerability arises from an improper type cast in the f2fs file system implementation, which could be exploited by an attacker to cause an overflow during a left shift operation. This could potentially lead to memory corruption or other unspecified impacts.
Questions
What is CVE-2025-40077?
A vulnerability in the Linux kernel's f2fs file system could lead to an overflow during a left shift operation due to improper type casting of folio->index from pgoff_t to loff_t.
Is CVE-2025-40077 actively exploited?
No confirmed active exploitation of CVE-2025-40077 as of 2026-11-03.
How do I remediate CVE-2025-40077?
Priority: MEDIUM.
What systems are affected by CVE-2025-40077?
CVE-2025-40077 affects Folio; Kernel; Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Folio","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-30.