CVE-2026-63816

f2fs: atomic: fix UAF issue on f2fs_inode_info.atomic_inode

HIGH
7.8
CVSS Score
Published: July 19, 2026 at 12:02 PM UTC
Updated: August 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.18.185.18.18 ≤ v < 5.195.19 ≤ v < 6.12.965.19 ≤ v < 6.18.395.19 ≤ v < 6.6.1455.19 ≤ v < 7.1.35.19 ≤ v < 7.23db1de0e582c358dd013f3703cd55b5fe40764365.18.185.196db52f1944417c2601182a591a704e2f119c5215
Vendor states this is fixed in 56038756aae68312df00d4aa1d97e51ef3aca725 (fixed)
Vendor states this is fixed in 7d3ae21783e5914c1761ac7d63f882d3d70800e9 (fixed)
Vendor states this is fixed in a499f77c06050a28c897bdbd86cd2f0721ae0743 (fixed)
Vendor states this is fixed in a805fec35c201c59643ddcde713bce4051c8ee27 (fixed)
Vendor states this is fixed in e0288584baa5dc41df4a829a023c4c1b33fe53d7 (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.3 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusAWAITING ANALYSIS

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card