CVE-2026-99575
f2fs: return -EIO for a lost inode block after cp_error
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < 8f86283856882d4e15b54d889b1c35a6c70c28dd; affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < f90fa379296f67c8f8c0e0ddb21ba04bb7be46bb; affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < 9b862bcedc1bf4b40b2f73eef88f3fd371104f8a; affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < 9960426b20021e2a92916f7836b53ca53f4deeee; affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < 935bcf17f7052198a3ec82c55642c8e58f3a483c; affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < 86dfdf4f2aeaf68905e9b08752d72624a05dd471; affected: 28607bf3aa6f9762b32dc7f1ed0488823c0651b8 to < 53b12b63304b34a3850a901c4de3cc6ad08e0aee | See vendor advisory |
| LinuxLinux | affected: 5.14; unaffected: 0 to < 5.14; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99575
- https://git.kernel.org/stable/c/8f86283856882d4e15b54d889b1c35a6c70c28dd
- https://git.kernel.org/stable/c/f90fa379296f67c8f8c0e0ddb21ba04bb7be46bb
- https://git.kernel.org/stable/c/9b862bcedc1bf4b40b2f73eef88f3fd371104f8a
- https://git.kernel.org/stable/c/9960426b20021e2a92916f7836b53ca53f4deeee
- https://git.kernel.org/stable/c/935bcf17f7052198a3ec82c55642c8e58f3a483c
- https://git.kernel.org/stable/c/86dfdf4f2aeaf68905e9b08752d72624a05dd471
- https://git.kernel.org/stable/c/53b12b63304b34a3850a901c4de3cc6ad08e0aee