CVE-2026-63817
f2fs: validate compress cache inode only when enabled
Reported by linux · Published July 19, 2026
In the Linux kernel, the following vulnerability has been resolved: f2fs: validate compress cache inode only when enabled F2FS_COMPRESS_INO() uses NM_I(sbi)->max_nid as the synthetic inode number for the compressed page cache inode. That inode only exists when the compress_cache mount option is enabled. When compress_cache is disabled, max_nid is outside the valid inode range. A corrupted directory entry that points to ino == max_nid should therefore be rejected by f2fs_check_nid_range(). However, is_meta_ino() currently treats F2FS_COMPRESS_INO() as a meta inode unconditionally, so f2fs_iget() bypasses do_read_inode() and its nid range check, and instantiates a fake internal inode instead. Gate the compressed cache inode case on COMPRESS_CACHE, matching f2fs_init_compress_inode(). With compress_cache disabled, ino == max_nid now follows the normal inode path and is rejected as an out-of-range nid.
EPSS 0.13% · 3.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.3, 6.18.38, 6.12.95, 6.6.144, 6.1.177, 5.15.212 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6ce19aff0b8cd386860855185c6cd79337fc4d2b, 6ce19aff0b8cd386860855185c6cd79337fc4d2b, 6ce19aff0b8cd386860855185c6cd79337fc4d2b |
| Linux | Linux | 5.14, 0, 5.15.212 |
| Linux | Linux | 7.2, 0, 6.1.177 |
| linux | linux_kernel | 5.14, 5.14, 5.14 |
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Aug 7, 2026 EPSS Score (8 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
- Aug 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63817
vulnetix vdb fixes CVE-2026-63817
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63817/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart