CVE-2026-89840
f2fs: validate MOVE_RANGE destination size
Check your servers for CVE-2026-89840
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89840 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.77% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b, before 454de20a5a36c000b75f49337aae8c92045c5242 affected from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b, before 54c587f3f95ce2d6932a16566db83f73cc4313e1 affected from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b, before bca61ee5192ea47003722486ae9588a2a4bb47b6 affected from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b, before db13064669526494cd78ba3a4394063b740e940c affected from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b, before dcae1eeda53149f219dd6af93b3083b7271c1c63 affected from 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b, before e533889fc26aea0cd83c90327063f272061dd820
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89840 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89840
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89840
trivy image --scanners vuln IMAGE | grep CVE-2026-89840
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/454de20a5a36c000b75f49337aae8c92045c5242 git.kernel.org
- https://git.kernel.org/stable/c/54c587f3f95ce2d6932a16566db83f73cc4313e1 git.kernel.org
- https://git.kernel.org/stable/c/bca61ee5192ea47003722486ae9588a2a4bb47b6 git.kernel.org
- https://git.kernel.org/stable/c/db13064669526494cd78ba3a4394063b740e940c git.kernel.org
- https://git.kernel.org/stable/c/dcae1eeda53149f219dd6af93b3083b7271c1c63 git.kernel.org
- https://git.kernel.org/stable/c/e533889fc26aea0cd83c90327063f272061dd820 git.kernel.org
Source: the record CVE-2026-89840 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse