CVE-2026-63818

Source
https://cve.org/CVERecord?id=CVE-2026-63818
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63818.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63818
Downstream
Published
2026-07-19T12:02:17.022Z
Modified
2026-07-21T03:47:28.480149047Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
f2fs: validate orphan inode entry count
Details

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

f2fs: validate orphan inode entry count

f2fsrecoverorphaninodes() trusts the orphan block entrycount when replaying orphan inodes from the checkpoint pack. A corrupted entrycount larger than F2FSORPHANSPERBLOCK makes the recovery loop read past the ino[] array and interpret footer or following data as inode numbers.

On a crafted image, mounting an unpatched kernel can drive orphan recovery into f2fsbugon() and panic the kernel. Validate entry_count before consuming entries so corrupted checkpoint data fails the mount with -EFSCORRUPTED and requests fsck instead.

Set ERRORINCONSISTENTORPHAN as well, so the corruption reason can be recorded in the superblock serrors[] field. This gives fsck a persistent hint even though mount-time orphan recovery failure may leave no chance to persist SBINEED_FSCK through a checkpoint.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63818.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
127e670abfa7fa150f6550d620ded930f5bdb4e7
Fixed
550511a2470f6d204fa07b331f048bd2d3c51280
Fixed
8aad54746c251f2c2370118df766c0c82e2d2091
Fixed
2e12381d4495dc8b0ff042c6856022b2e359835c
Fixed
846c499a65816d13f1186e3090e825e8bb8bcb8b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63818.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.38
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63818.json"