CVE-2026-63816
f2fs: atomic: fix UAF issue on f2fs_inode_info.atomic_inode
Check your servers for CVE-2026-63816
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-63816 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: atomic: fix UAF issue on f2fs_inode_info.atomic_inode
- ioctl(F2FS_IOC_GARBAGE_COLLECT_RANGE) - shrink - f2fs_gc - gc_data_segment - ra_data_block(cow_inode) - mapping = F2FS_I(inode)->atomic_inode->i_mapping : f2fs_is_cow_file(cow_inode) is true - f2fs_evict_inode(atomic_inode) - clear_inode_flag(fi->cow_inode, FI_COW_FILE) - F2FS_I(fi->cow_inode)->atomic_inode = NULL ... - truncate_inode_pages_final(atomic_inode) - f2fs_grab_cache_folio(mapping) : create folio in atomic_inode->mapping - clear_inode(atomic_inode) - BUG_ON(atomic_inode->i_data.nrpages)
We need to add a reference on fi->atomic_inode before using its mapping field during garbage collection, otherwise, it will cause UAF issue.
Severity (CVSS)
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.
| Product | Versions |
|---|---|
| Linux |
affected from 3db1de0e582c358dd013f3703cd55b5fe4076436, before 7d3ae21783e5914c1761ac7d63f882d3d70800e9 affected from 3db1de0e582c358dd013f3703cd55b5fe4076436, before 56038756aae68312df00d4aa1d97e51ef3aca725 affected from 3db1de0e582c358dd013f3703cd55b5fe4076436, before a499f77c06050a28c897bdbd86cd2f0721ae0743 affected from 3db1de0e582c358dd013f3703cd55b5fe4076436, before a805fec35c201c59643ddcde713bce4051c8ee27 affected from 3db1de0e582c358dd013f3703cd55b5fe4076436, before e0288584baa5dc41df4a829a023c4c1b33fe53d7 affected 6db52f1944417c2601182a591a704e2f119c5215 affected from 5.18.18, before 5.19
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 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-63816 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-63816
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-63816
trivy image --scanners vuln IMAGE | grep CVE-2026-63816
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/7d3ae21783e5914c1761ac7d63f882d3d70800e9 git.kernel.org
- https://git.kernel.org/stable/c/56038756aae68312df00d4aa1d97e51ef3aca725 git.kernel.org
- https://git.kernel.org/stable/c/a499f77c06050a28c897bdbd86cd2f0721ae0743 git.kernel.org
- https://git.kernel.org/stable/c/a805fec35c201c59643ddcde713bce4051c8ee27 git.kernel.org
- https://git.kernel.org/stable/c/e0288584baa5dc41df4a829a023c4c1b33fe53d7 git.kernel.org
Source: the record CVE-2026-63816 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