What’s Vulnerable › Vulnerabilities
CVE-2026-89840: f2fs: validate MOVE_RANGE destination size
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-16 · updated 2026-10-30
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: validate MOVE_RANGE destination size F2FS_IOC_MOVE_RANGE checks the source range, but not the destination end before updating i_size. A source hole can expose this: __clone_blkaddrs() skips NULL_ADDR entries and returns success, so the caller can still extend the destination inode with unchecked pos_out + len. Reject destination overflow and use inode_newsize_ok() before extending the destination inode.
Affected products
- Linux: 4.8 — fixed in 7.3
How to fix
Upgrade to a fixed version: Linux 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/454de20a5a36c000b75f49337aae8c92045c5242
- https://git.kernel.org/stable/c/54c587f3f95ce2d6932a16566db83f73cc4313e1
- https://git.kernel.org/stable/c/bca61ee5192ea47003722486ae9588a2a4bb47b6
- https://git.kernel.org/stable/c/db13064669526494cd78ba3a4394063b740e940c
- https://git.kernel.org/stable/c/dcae1eeda53149f219dd6af93b3083b7271c1c63
- https://git.kernel.org/stable/c/e533889fc26aea0cd83c90327063f272061dd820
Get alerted when CVE-2026-89840 or the next vulnerability affects your stack