CVE-2026-63812

f2fs: fix incorrect FI_NO_EXTENT handling in __destroy_extent_node()

7.8 high EPSS 0.13%

Published 19 Jul 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-63812

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

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix incorrect FI_NO_EXTENT handling in __destroy_extent_node()

When __destroy_extent_node() sets the inode flag FI_NO_EXTENT, it does not reset the length of the largest extent to 0 and update the inode folio. Since modifications to the extent tree are disallowed afterward, the cached largest extent may become stale. This can trigger the following error in xfstests generic/388:

F2FS-fs (dm-0): sanity_check_extent_cache: inode (ino=1761) extent info [220057, 57, 6] is incorrect, run fsck to fix

In the f2fs_drop_inode path, __destroy_extent_node() does not need to guarantee that et->node_cnt is 0, because concurrency with writeback is expected in this path, and writeback may update the extent cache.

This patch reverts commit ed78aeebef05 ("f2fs: fix node_cnt race between extent node destroy and writeback"), and remove the unnecessary zero check of et->node_cnt.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.51% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 42dd1c91f993431d0b399502479d00e6ad1bca71, before 7e4d8f98be63f98856a5176b9188dada6e7ba9ee
affected from ab1eaf9d5c99042f5b0243bf67a06283a4c0757f, before 58a5deb220bcac4c73bf58954c0845644c997487
affected from b0e4395870eb3441ddc959f6710b5f6ca61aff26, before 20190e498057997532c7f186d081011f18e0a462
affected from ed78aeebef05212ef7dca93bd931e4eff67c113f, before edf12cbeeeabe799bd2ee21fdb5c336cce6fbad7
affected from ed78aeebef05212ef7dca93bd931e4eff67c113f, before 1f70ddb28a3c71df124da5fa4040c808116d6bb9
affected b00e6950da9c0e4986f6e93c875d2b9184bdb220
affected 0559a0e962aacbb47519e26ee663be04b72dcb92
affected from 6.6.140, before 6.6.144
affected from 6.12.88, before 6.12.95
affected from 6.18.30, before 6.18.38
affected from 6.1.191, before 6.2
affected from 7.0.7, before 7.1
Other versions: unaffected
Linux
affected 7.1
unaffected before 7.1
unaffected from 6.6.144 up to and including 6.6.*
unaffected from 6.12.95 up to and including 6.12.*
unaffected from 6.18.38 up to and including 6.18.*
unaffected from 7.1.3 up to and including 7.1.*
unaffected 7.2 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-63812 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-63812

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-63812
trivy image --scanners vuln IMAGE | grep CVE-2026-63812

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

Source: the record CVE-2026-63812 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.