CVE-2025-40077

Source
https://cve.org/CVERecord?id=CVE-2025-40077
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40077.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40077
Downstream
Related
Published
2025-10-28T11:48:42.976Z
Modified
2026-03-20T12:43:10.248634Z
Summary
f2fs: fix to avoid overflow while left shift operation
Details

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 pgofft to lofft to avoid overflow while left shift operation.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40077.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3265d3db1f16395cfc6b8ea9b31b4001d98d05ef
Fixed
ef49378864bb1ed14cd48c8e687729e12714d849
Fixed
0e75a098b0a37f02ca31fe99ac16004c8163cf67
Fixed
57d3381dfb97ff73ddd18601017fec21cca80985
Fixed
0fe1c6bec54ea68ed8c987b3890f2296364e77bb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40077.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
6.6.117
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.59
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40077.json"