5.8

CVE-2025-40077: f2fs: fix to avoid overflow while left shift operation

Deferred
AliasesUBUNTU-CVE-2025-40077DEBIAN-CVE-2025-40077
Published 28-10-2025Last modified 30-10-2026

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.

Priority
Routine

Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.8/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 17

Timeline

  1. 28-10-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last 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 version

EPSS 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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

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

References

24 links
Show all 24 references