CVE-2025-40077

f2fs: fix to avoid overflow while left shift operation

N/A
Published: October 28, 2025 at 11:48 AM UTC
Updated: October 30, 2026 at 01:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3265d3db1f16395cfc6b8ea9b31b4001d98d05ef5.8
Vendor states this is fixed in 0e75a098b0a37f02ca31fe99ac16004c8163cf67 (fixed)
Vendor states this is fixed in 0fe1c6bec54ea68ed8c987b3890f2296364e77bb (fixed)
Vendor states this is fixed in 57d3381dfb97ff73ddd18601017fec21cca80985 (fixed)
Vendor states this is fixed in ef49378864bb1ed14cd48c8e687729e12714d849 (fixed)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.12.59 (unaffected)
Vendor states this is fixed in 6.17.3 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.117 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card