CVE-2025-40077: f2fs: fix to avoid overflow while left shift operation
Vulnerability summary
CVE-2025-40077 is a medium (CVSS 5.8) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.7% of scored vulnerabilities.
Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 17Timeline
- 28-10-2025PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu142 products
- linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.63-1 | < 6.17.6-1
Linux1 product
- linux≥ 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 7fb12f75da1da83b29964c02646f851d919301ea | ≥ 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < ef49378864bb1ed14cd48c8e687729e12714d849 | ≥ 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 0e75a098b0a37f02ca31fe99ac16004c8163cf67 | ≥ 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 57d3381dfb97ff73ddd18601017fec21cca80985 | ≥ 3265d3db1f16395cfc6b8ea9b31b4001d98d05ef, < 0fe1c6bec54ea68ed8c987b3890f2296364e77bb | 5.8
3 vendors · 144 products