CVE-2026-63818

NameCVE-2026-63818
DescriptionIn the Linux kernel, the following vulnerability has been resolved: f2fs: validate orphan inode entry count f2fs_recover_orphan_inodes() trusts the orphan block entry_count when replaying orphan inodes from the checkpoint pack. A corrupted entry_count larger than F2FS_ORPHANS_PER_BLOCK 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 f2fs_bug_on() and panic the kernel. Validate entry_count before consuming entries so corrupted checkpoint data fails the mount with -EFSCORRUPTED and requests fsck instead. Set ERROR_INCONSISTENT_ORPHAN as well, so the corruption reason can be recorded in the superblock s_errors[] field. This gives fsck a persistent hint even though mount-time orphan recovery failure may leave no chance to persist SBI_NEED_FSCK through a checkpoint.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4717-1, DLA-4720-1, DLA-4723-1, DLA-4724-1, DSA-6393-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.262-1fixed
bookworm6.1.176-1vulnerable
bookworm (security)6.1.180-1fixed
trixie6.12.94-1vulnerable
trixie (security)6.12.101-1fixed
forky, sid7.1.7-1fixed
linux-6.1 (PTS)bullseye (security)6.1.180-1~deb11u1fixed
linux-6.12 (PTS)bookworm (security)6.12.100-1~deb12u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye5.10.262-1DLA-4717-1
linuxsourcebookworm6.1.180-1DLA-4720-1
linuxsourcetrixie6.12.96-1DSA-6393-1
linuxsource(unstable)7.1.3-1
linux-6.1sourcebullseye6.1.180-1~deb11u1DLA-4723-1
linux-6.12sourcebookworm6.12.100-1~deb12u1DLA-4724-1

Notes

https://git.kernel.org/linus/846c499a65816d13f1186e3090e825e8bb8bcb8b (7.2-rc1)

Search for package or bug name: Reporting problems