CVE-2026-99575

f2fs: return -EIO for a lost inode block after cp_error

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

f2fs: return -EIO for a lost inode block after cp_error

After cp_error, dirty node caches are dropped without being written. If such an inode was never written, its NAT entry is still NEW_ADDR, and reading its inode block returns -ENOENT.

f2fs_get_dnode_of_data() passes that -ENOENT up, and callers take it as a hole. Since the inode block is missing, the next offset can only advance one block, so fiemap walks block by block up to maxbytes, about 2^30 blocks, while holding the inode lock. It took hours in a power-off recovery test after shutdown and blocked unlink and umount on the file.

Return -EIO instead of -ENOENT when the inode block itself is missing after cp_error or shutdown. A missing direct or indirect node is still reported as -ENOENT.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to before 9960426b20021e2a92916f7836b53ca53f4deeeeAffected
  • 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to before 935bcf17f7052198a3ec82c55642c8e58f3a483cAffected
  • 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to before 86dfdf4f2aeaf68905e9b08752d72624a05dd471Affected
  • 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to before 53b12b63304b34a3850a901c4de3cc6ad08e0aeeAffected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc1 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.