CVE-2026-89840

Source
https://cve.org/CVERecord?id=CVE-2026-89840
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89840.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89840
Downstream
Published
2026-09-16T10:31:14Z
Modified
2026-09-18T03:48:33Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
f2fs: validate MOVE_RANGE destination size
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89840.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
4dd6f977fc778e5a0da604e5f8cb2f36d163d27b
Fixed
dcae1eeda53149f219dd6af93b3083b7271c1c63
Fixed
e533889fc26aea0cd83c90327063f272061dd820

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89840.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.8.0
Fixed
7.2.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89840.json"