# CVE-2026-89840: f2fs: validate MOVE_RANGE destination size

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:14.646Z
- Modified: 2026-10-30T13:20:31.163Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b before 454de20a5a36c000b75f49337aae8c92045c5242; from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b before 54c587f3f95ce2d6932a16566db83f73cc4313e1; from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b before bca61ee5192ea47003722486ae9588a2a4bb47b6; from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b before db13064669526494cd78ba3a4394063b740e940c; from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b before dcae1eeda53149f219dd6af93b3083b7271c1c63; from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b before e533889fc26aea0cd83c90327063f272061dd820; 4.8 (not affected: before 4.8; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-89840](https://www.cve.org/CVERecord?id=CVE-2026-89840), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89840](https://nvd.nist.gov/vuln/detail/CVE-2026-89840), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89840 · Whole record: https://cve.day/CVE-2026-89840.json · Rebuilt by cve.day 2026-11-25T22:59:38.952Z
